summaryrefslogtreecommitdiff
path: root/templates/home.html
diff options
context:
space:
mode:
authornavanchauhan <navanchauhan@gmail.com>2022-10-17 22:36:59 -0600
committernavanchauhan <navanchauhan@gmail.com>2022-10-17 22:36:59 -0600
commitedf53abbe793681715a86634574beeff99fa5883 (patch)
treea01095f0a920a34bd25448f44adca7ed845d851f /templates/home.html
parent2e2943c27176d8ddbfbc551632e4f9d0e86cb41e (diff)
created components
Diffstat (limited to 'templates/home.html')
-rw-r--r--templates/home.html16
1 files changed, 2 insertions, 14 deletions
diff --git a/templates/home.html b/templates/home.html
index ab185d4..31de085 100644
--- a/templates/home.html
+++ b/templates/home.html
@@ -1,23 +1,11 @@
<!DOCTYPE html>
<html>
<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1">
+ {{ template "header" . }}
<title>{{.GlobalVars.Name}}</title>
- <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bulma@0.9.4/css/bulma.min.css">
- <script src="https://kit.fontawesome.com/32c297b57b.js" crossorigin="anonymous"></script>
</head>
<body>
- <section class="hero is-medium is-primary">
- <div class="hero-body">
- <h1 class="title">
- {{ .GlobalVars.Name }}
- </h1>
- <p class="subtitle">
- Full-text search FDA 510(k) database
- </p>
- </div>
- </section>
+ {{ template "hero-medium" . }}
<section class="section">
<div class="container">
<form action="/search" method="GET">