feat: Adds grid / nav links to home page.
This commit is contained in:
@@ -53,26 +53,21 @@ extension ViewController: DependencyKey {
|
||||
return MainPage {
|
||||
div(.class("space-y-6")) {
|
||||
div(.class("pb-8")) {
|
||||
p(.class("dark:text-gray-200")) {
|
||||
"Professional calculators for HVAC system design and troubleshooting."
|
||||
h1(.class("font-extrabold text-4xl dark:text-gray-200")) {
|
||||
"Professional Calculators"
|
||||
}
|
||||
p(.class("text-blue-500 font-bold")) {
|
||||
"""
|
||||
Professional calculators for HVAC system design and troublshooting.
|
||||
"""
|
||||
}
|
||||
}
|
||||
|
||||
WarningBox(
|
||||
"This site is still under construction, not all it's functionality is working.",
|
||||
"This page needs updated to display a grid of calculators.",
|
||||
"Below are the SVG's used on the site, for making sure they work."
|
||||
"This site is still under construction, not all it's functionality is working."
|
||||
)
|
||||
div {
|
||||
p(.class("font-2xl dark:text-gray-200 pb-6")) {
|
||||
"SVG's"
|
||||
}
|
||||
div(.class("grid lg:grid-cols-8 gap-4")) {
|
||||
for svg in SVGType.allCases {
|
||||
SVG(svg, color: .blue)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
HomePage()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user