DEVELOPMENT ENVIRONMENT

~liljamo/felu

ref: 645152b4671efab8a5ea16cdbbe364d5a387d173 felu/components.templ -rw-r--r-- 430 bytes
645152b4Jonni Liljamo feat: users table, change domains table 1 year, 1 month ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
package main

templ base(title string) {
	<html>
		<head>
			<meta charset="utf-8"/>
			<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
			<link rel="stylesheet" type="text/css" href="/static/styles.css"/>

			<title>{ title }</title>
		</head>
		<body>
			<main>
				{ children... }
			</main>
		</body>
	</html>
}

templ index() {
	@base("Index") {
		<div class="bg-rose-200">testing, testing</div>
	}
}