Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions client/src/app.css
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
3 changes: 3 additions & 0 deletions client/src/assets/bolt.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 8 additions & 0 deletions client/src/components/page-layout/PageLayout.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -56,3 +56,11 @@

margin-bottom: var(--bolt-space-8);
}

.hero h1 {
text-align: center;
}

.hero p {
text-align: center;
}
1 change: 1 addition & 0 deletions client/src/components/section/Section.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
@media (width < 768px) {
.section {
grid-template-columns: 1fr;
gap: var(--bolt-space-10);
}

.preview {
Expand Down
57 changes: 55 additions & 2 deletions client/src/components/top-nav/TopNav.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
8 changes: 7 additions & 1 deletion client/src/components/top-nav/TopNav.tsx
Original file line number Diff line number Diff line change
@@ -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";
Expand All @@ -14,7 +15,12 @@ export function TopNav() {
<img
src={BoltLightningGames}
alt="Game Logo"
className={styles.navLogo}
className={styles.navLogoFull}
/>
<img
src={BoltIcon}
alt="Game Logo"
className={styles.navLogoIcon}
/>
</Link>
</div>
Expand Down
8 changes: 4 additions & 4 deletions client/src/design/heading/Heading.module.css
Original file line number Diff line number Diff line change
@@ -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;
}
Comment thread
alanthai marked this conversation as resolved.

.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;
}
Loading