erius
d796a3c4e8
Added an example templ index.templ template Create tailwind config for building css Added Makefile to easily deplot and live-reload the app while developing Added README.md Added some other web assets in assets directory
22 lines
957 B
Text
22 lines
957 B
Text
package components
|
|
|
|
templ Index() {
|
|
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
|
<title>passwd-mgr</title>
|
|
<link rel="apple-touch-icon" sizes="180x180" href="/assets/favicon/apple-touch-icon.png"/>
|
|
<link rel="icon" type="image/png" sizes="32x32" href="/assets/favicon/favicon-32x32.png"/>
|
|
<link rel="icon" type="image/png" sizes="16x16" href="/assets/favicon/favicon-16x16.png"/>
|
|
<link rel="manifest" href="/assets/favicon/site.webmanifest"/>
|
|
<link rel="stylesheet" href="/assets/css/style.css"/>
|
|
<script src="/assets/js/htmx.min.js"></script>
|
|
</head>
|
|
<body>
|
|
<button class="border-2 rounded text-3xl font-bold underline" hx-get="/">Click</button>
|
|
</body>
|
|
</html>
|
|
}
|