Capstone/ui/templates/landing_page.templ

44 lines
1003 B
Plaintext
Raw Normal View History

2023-10-28 00:44:22 -04:00
package templates
2023-10-28 10:45:47 -04:00
//Head for scripts and such
templ Head() {
<head>
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<meta name="theme-color" content="#000000"/>
<link rel="shortcut icon" href="./assets/img/favicon.ico"/>
<link
rel="apple-touch-icon"
sizes="76x76"
href="./assets/img/apple-icon.png"
/>
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.9.4/Chart.min.css"
/>
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css"
/>
<link
rel="stylesheet"
href="https://cdn.jsdelivr.net/gh/creativetimofficial/tailwind-starter-kit/compiled-tailwind.min.css"
/>
<title>Dashboard | Capstone - Pbaxt10</title>
</head>
}
2023-10-28 11:15:42 -04:00
templ LandingPage(auth bool) {
2023-10-28 10:45:47 -04:00
<!DOCTYPE html>
<html>
@Head()
<body class="text-gray-800 antialiased">
2023-10-28 11:15:42 -04:00
@Nav(auth)
2023-10-28 12:34:11 -04:00
@LandingContent()
2023-10-28 10:45:47 -04:00
</body>
2023-10-28 12:34:11 -04:00
@Footer()
2023-10-28 11:15:42 -04:00
@toggleNavBar()
2023-10-28 10:45:47 -04:00
</html>
2023-10-28 00:44:22 -04:00
}