DEVELOPMENT ENVIRONMENT

~liljamo/felu

ref: db9eeca550c8858c3a628535b12c945561c7be75 felu/components.templ -rw-r--r-- 430 bytes
db9eeca5Jonni Liljamo feat: config options for service name and dns pattern 11 months 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>
	}
}