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
117 changes: 92 additions & 25 deletions apps/web/src/pages/NotFound.css
Original file line number Diff line number Diff line change
@@ -1,52 +1,119 @@
.not-found-container {
min-height: 100vh;
display: flex;
align-items: center;
justify-content: center;
align-items: center;
background: #161616;
padding: 2rem;
}

.not-found-card {
width: min(100%, 900px);
min-height: 650px;
background: #d5d5d5;
border-radius: 24px;
padding: 5rem 2rem;
text-align: center;
padding: 3.5rem 2.5rem;
border-radius: var(--radius-xl);
width: min(100%, 480px);

display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}

.not-found-icon {
font-size: 3.5rem;
margin-bottom: 1rem;
.not-found-subtitle {
font-size: 0.9rem;
font-weight: 600;
color: #555;
letter-spacing: 1px;
margin-bottom: 3rem;
text-transform: uppercase;
}

.not-found-card h1 {
font-size: clamp(4rem, 8vw, 6rem);
.stone-404 {
font-size: clamp(8rem, 20vw, 14rem);
font-weight: 900;
line-height: 1;
margin-bottom: 0.5rem;
background: linear-gradient(135deg, var(--primary), var(--accent));
margin: 0;

color: #7b8793;

text-shadow:
8px 8px 0 #b0b0b0,
16px 16px 0 rgba(0, 0, 0, 0.15);

position: relative;

background: linear-gradient(
180deg,
#aab3bc 0%,
#8b949e 35%,
#727c87 70%,
#646c75 100%
);

-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}

.not-found-title {
font-size: 1.35rem;
.back-home-btn {
margin-top: 3rem;

display: inline-flex;
align-items: center;
justify-content: center;

padding: 0.9rem 2rem;

text-decoration: none;
font-weight: 700;
font-family: 'Outfit', sans-serif;
margin-bottom: 0.75rem;
font-size: 0.95rem;

color: #404040;

background: linear-gradient(
180deg,
#a8adb3 0%,
#858d95 100%
);

border-radius: 8px;

box-shadow:
0 4px 0 #6d7379,
0 8px 16px rgba(0, 0, 0, 0.2);

transition: all 0.2s ease;
}

.not-found-desc {
color: var(--text-secondary);
line-height: 1.7;
margin-bottom: 2rem;
max-width: 360px;
margin-left: auto;
margin-right: auto;
.back-home-btn:hover {
transform: translateY(-2px);

box-shadow:
0 6px 0 #6d7379,
0 12px 20px rgba(0, 0, 0, 0.25);
}

@media (max-width: 520px) {
.back-home-btn:active {
transform: translateY(2px);

box-shadow:
0 2px 0 #6d7379,
0 4px 10px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
.not-found-card {
padding: 2.5rem 1.5rem;
min-height: 500px;
padding: 3rem 1rem;
}
}

.stone-404 {
font-size: clamp(6rem, 25vw, 10rem);
}

.not-found-subtitle {
font-size: 0.75rem;
}
}
24 changes: 15 additions & 9 deletions apps/web/src/pages/NotFound.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,23 @@ import './NotFound.css';
export default function NotFound() {
return (
<div className="not-found-container">
<div className="not-found-card glass" id="not-found-card">
<div className="not-found-icon">🔍</div>
<h1>404</h1>
<p className="not-found-title">Page not found</p>
<p className="not-found-desc">
The page you're looking for doesn't exist or has been moved.
<div className="not-found-card" id="not-found-card">
<p className="not-found-subtitle">
SORRY, WE CAN'T FIND THE PAGE YOU'RE LOOKING FOR.
<br />
ALL WE HAVE HERE IS JUST STONE
</p>
<Link to="/" className="btn-primary" id="not-found-home-btn">
Back to Home

<h1 className="stone-404">404</h1>

<Link
to="/"
className="back-home-btn"
id="not-found-home-btn"
>
BACK HOME
</Link>
</div>
</div>
);
}
}