diff --git a/client/src/app.css b/client/src/app.css
index 4629354..25a7d87 100644
--- a/client/src/app.css
+++ b/client/src/app.css
@@ -50,13 +50,13 @@ p {
margin-top: 3rem;
}
-@media (max-width: 768px) {
+@media (width < 768px) {
.app-content {
grid-template-columns: 1fr;
}
}
-@media (max-width: 768px) {
+@media (width < 768px) {
.mobile-hidden {
border: 0;
clip: rect(0 0 0 0);
diff --git a/client/src/assets/bolt.svg b/client/src/assets/bolt.svg
new file mode 100644
index 0000000..4a0233f
--- /dev/null
+++ b/client/src/assets/bolt.svg
@@ -0,0 +1,3 @@
+
diff --git a/client/src/components/page-layout/PageLayout.module.css b/client/src/components/page-layout/PageLayout.module.css
index 2003330..ef9939e 100644
--- a/client/src/components/page-layout/PageLayout.module.css
+++ b/client/src/components/page-layout/PageLayout.module.css
@@ -56,3 +56,11 @@
margin-bottom: var(--bolt-space-8);
}
+
+.hero h1 {
+ text-align: center;
+}
+
+.hero p {
+ text-align: center;
+}
diff --git a/client/src/components/section/Section.module.css b/client/src/components/section/Section.module.css
index d2da824..0ec5221 100644
--- a/client/src/components/section/Section.module.css
+++ b/client/src/components/section/Section.module.css
@@ -30,6 +30,7 @@
@media (width < 768px) {
.section {
grid-template-columns: 1fr;
+ gap: var(--bolt-space-10);
}
.preview {
diff --git a/client/src/components/top-nav/TopNav.module.css b/client/src/components/top-nav/TopNav.module.css
index d8cccec..4647ef7 100644
--- a/client/src/components/top-nav/TopNav.module.css
+++ b/client/src/components/top-nav/TopNav.module.css
@@ -7,21 +7,74 @@
z-index: 100;
}
+@media (width < 768px) {
+ .topNav {
+ padding: var(--bolt-space-3) var(--bolt-space-4);
+ }
+}
+
+.navContainer {
+ display: flex;
+ align-items: center;
+}
+
.navLeft {
display: flex;
align-items: center;
- gap: 4rem;
+ gap: 1.5rem;
+}
+
+.navBrand {
+ display: flex;
+ align-items: center;
+ flex-shrink: 0;
+}
+
+.navBrandLink {
+ display: flex;
+ align-items: center;
+ color: var(--bolt-content-primary);
+}
+
+.navLogoFull {
+ height: 24px;
+ display: block;
+}
+
+.navLogoIcon {
+ height: 24px;
+ width: 24px;
+ display: none;
+}
+
+@media (max-width: 640px) {
+ .navLogoFull {
+ display: none;
+ }
+
+ .navLogoIcon {
+ display: block;
+ }
}
.navLinks {
margin-top: 0.5rem;
display: flex;
- gap: var(--bolt-space-8);
+ gap: var(--bolt-space-6);
+ flex-wrap: wrap;
+}
+
+@media (width < 480px) {
+ .navLinks {
+ gap: var(--bolt-space-4);
+ }
}
.navLink {
color: var(--bolt-content-secondary);
text-decoration: none;
+ white-space: nowrap;
+ font-size: clamp(0.8rem, 2.5vw, 1rem);
}
.active {
diff --git a/client/src/components/top-nav/TopNav.tsx b/client/src/components/top-nav/TopNav.tsx
index 5f09bd1..601eee7 100644
--- a/client/src/components/top-nav/TopNav.tsx
+++ b/client/src/components/top-nav/TopNav.tsx
@@ -1,5 +1,6 @@
import { Link } from "@tanstack/react-router";
+import BoltIcon from "../../assets/bolt.svg";
import BoltLightningGames from "../../assets/lightning-games.svg";
import styles from "./TopNav.module.css";
@@ -14,7 +15,12 @@ export function TopNav() {
+
diff --git a/client/src/design/heading/Heading.module.css b/client/src/design/heading/Heading.module.css
index 2053b4f..5ba5f37 100644
--- a/client/src/design/heading/Heading.module.css
+++ b/client/src/design/heading/Heading.module.css
@@ -1,20 +1,20 @@
.heading1 {
font-size: var(--bolt-font-heading-1-size);
- line-height: 0;
+ line-height: 1.2;
font-weight: var(--bolt-font-heading-1-weight);
+ margin-block: 0;
}
.heading1.large {
font-size: var(--bolt-font-heading-1-large-size);
- line-height: 0;
}
.heading1.xlarge {
font-size: var(--bolt-font-heading-1-xlarge-size);
- line-height: 0;
}
.heading2 {
font-size: var(--bolt-font-heading-2-size);
- line-height: 0;
+ line-height: 1.2;
font-weight: var(--bolt-font-heading-2-weight);
+ margin-block: 0;
}