refactor: remove contact section and related stats from profile data
This commit is contained in:
@@ -43,9 +43,6 @@ export default function Header() {
|
|||||||
|
|
||||||
<div className="nav-actions">
|
<div className="nav-actions">
|
||||||
<ThemeToggle />
|
<ThemeToggle />
|
||||||
<a href="/#contact" className="button button-primary button-small nav-cta">
|
|
||||||
Contact
|
|
||||||
</a>
|
|
||||||
<button
|
<button
|
||||||
type="button"
|
type="button"
|
||||||
className="icon-button nav-menu"
|
className="icon-button nav-menu"
|
||||||
|
|||||||
@@ -17,12 +17,6 @@ export const profile = {
|
|||||||
],
|
],
|
||||||
};
|
};
|
||||||
|
|
||||||
export const stats = [
|
|
||||||
{ value: '6+', label: 'Years shipping' },
|
|
||||||
{ value: '3', label: 'Industries' },
|
|
||||||
{ value: 'M+', label: 'Requests served' },
|
|
||||||
];
|
|
||||||
|
|
||||||
export const focusAreas = [
|
export const focusAreas = [
|
||||||
{
|
{
|
||||||
title: 'Backend architecture',
|
title: 'Backend architecture',
|
||||||
|
|||||||
+1
-35
@@ -4,7 +4,7 @@ import AnimatedName from '../components/AnimatedName';
|
|||||||
import SectionHeading from '../components/SectionHeading';
|
import SectionHeading from '../components/SectionHeading';
|
||||||
import Reveal from '../components/Reveal';
|
import Reveal from '../components/Reveal';
|
||||||
import Icon from '../components/Icon';
|
import Icon from '../components/Icon';
|
||||||
import { profile, stats, focusAreas, stack } from '../data/profile';
|
import { profile, focusAreas, stack } from '../data/profile';
|
||||||
|
|
||||||
export default function Home() {
|
export default function Home() {
|
||||||
return (
|
return (
|
||||||
@@ -66,17 +66,6 @@ export default function Home() {
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div className="shell">
|
|
||||||
<dl className="stats">
|
|
||||||
{stats.map((stat, i) => (
|
|
||||||
<Reveal key={stat.label} className="stat" delay={i * 80}>
|
|
||||||
<dt className="stat-label">{stat.label}</dt>
|
|
||||||
<dd className="stat-value">{stat.value}</dd>
|
|
||||||
</Reveal>
|
|
||||||
))}
|
|
||||||
</dl>
|
|
||||||
</div>
|
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
{/* ABOUT */}
|
{/* ABOUT */}
|
||||||
@@ -126,29 +115,6 @@ export default function Home() {
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
{/* CONTACT */}
|
|
||||||
<section id="contact" className="section">
|
|
||||||
<div className="shell">
|
|
||||||
<Reveal className="contact-card">
|
|
||||||
<p className="eyebrow">
|
|
||||||
<span className="eyebrow-index">03</span>
|
|
||||||
Contact
|
|
||||||
</p>
|
|
||||||
<h2 className="contact-title">Have a system that needs to scale?</h2>
|
|
||||||
<p className="contact-lead">
|
|
||||||
I’m always happy to talk about backend architecture, interesting problems or new roles. My inbox is open.
|
|
||||||
</p>
|
|
||||||
<div className="hero-actions">
|
|
||||||
<a href={`mailto:${profile.email}`} className="button button-primary">
|
|
||||||
<Icon name="mail" size={16} />
|
|
||||||
{profile.email}
|
|
||||||
</a>
|
|
||||||
<SocialLinks variant="pills" />
|
|
||||||
</div>
|
|
||||||
</Reveal>
|
|
||||||
</div>
|
|
||||||
</section>
|
|
||||||
</Layout>
|
</Layout>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
+4
-103
@@ -651,46 +651,13 @@ button {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// STATS
|
|
||||||
.stats {
|
|
||||||
display: grid;
|
|
||||||
grid-template-columns: repeat(3, 1fr);
|
|
||||||
margin-top: 96px;
|
|
||||||
border: 1px solid var(--border);
|
|
||||||
border-radius: var(--radius-lg);
|
|
||||||
background: var(--bg-elevated);
|
|
||||||
overflow: hidden;
|
|
||||||
}
|
|
||||||
|
|
||||||
.stat {
|
|
||||||
display: flex;
|
|
||||||
flex-direction: column-reverse;
|
|
||||||
gap: 4px;
|
|
||||||
padding: 24px 28px;
|
|
||||||
|
|
||||||
& + & {
|
|
||||||
border-left: 1px solid var(--border);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.stat-value {
|
|
||||||
font-size: 2rem;
|
|
||||||
font-weight: 700;
|
|
||||||
letter-spacing: -0.04em;
|
|
||||||
line-height: 1.1;
|
|
||||||
}
|
|
||||||
|
|
||||||
.stat-label {
|
|
||||||
font-family: var(--font-mono);
|
|
||||||
font-size: 0.75rem;
|
|
||||||
text-transform: uppercase;
|
|
||||||
letter-spacing: 0.08em;
|
|
||||||
color: var(--text-muted);
|
|
||||||
}
|
|
||||||
|
|
||||||
// SECTIONS
|
// SECTIONS
|
||||||
.section {
|
.section {
|
||||||
padding: 96px 0;
|
padding: 96px 0;
|
||||||
|
|
||||||
|
& + & {
|
||||||
|
padding-top: 0;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.section-heading {
|
.section-heading {
|
||||||
@@ -831,52 +798,6 @@ button {
|
|||||||
margin-bottom: 16px;
|
margin-bottom: 16px;
|
||||||
}
|
}
|
||||||
|
|
||||||
// CONTACT
|
|
||||||
.contact-card {
|
|
||||||
@extend .card-base;
|
|
||||||
position: relative;
|
|
||||||
overflow: hidden;
|
|
||||||
padding: 64px;
|
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
|
||||||
align-items: flex-start;
|
|
||||||
gap: 20px;
|
|
||||||
background:
|
|
||||||
radial-gradient(80% 140% at 100% 100%, var(--accent-glow), transparent 60%),
|
|
||||||
var(--bg-elevated);
|
|
||||||
|
|
||||||
&::before {
|
|
||||||
content: '';
|
|
||||||
position: absolute;
|
|
||||||
inset: 0;
|
|
||||||
z-index: 0;
|
|
||||||
background-image: radial-gradient(var(--grid-dot) 1px, transparent 1px);
|
|
||||||
background-size: 20px 20px;
|
|
||||||
mask-image: linear-gradient(to left, #000, transparent 60%);
|
|
||||||
-webkit-mask-image: linear-gradient(to left, #000, transparent 60%);
|
|
||||||
}
|
|
||||||
|
|
||||||
> * {
|
|
||||||
position: relative;
|
|
||||||
z-index: 1;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.contact-title {
|
|
||||||
font-size: clamp(2rem, 4.5vw, 3.25rem);
|
|
||||||
font-weight: 700;
|
|
||||||
line-height: 1.05;
|
|
||||||
letter-spacing: -0.04em;
|
|
||||||
max-width: 16ch;
|
|
||||||
}
|
|
||||||
|
|
||||||
.contact-lead {
|
|
||||||
font-size: 1.0625rem;
|
|
||||||
color: var(--text-muted);
|
|
||||||
max-width: 52ch;
|
|
||||||
margin-bottom: 8px;
|
|
||||||
}
|
|
||||||
|
|
||||||
// FOOTER
|
// FOOTER
|
||||||
.footer {
|
.footer {
|
||||||
border-top: 1px solid var(--border);
|
border-top: 1px solid var(--border);
|
||||||
@@ -1214,10 +1135,6 @@ button {
|
|||||||
border-radius: var(--radius-sm);
|
border-radius: var(--radius-sm);
|
||||||
}
|
}
|
||||||
|
|
||||||
.nav-cta {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
.nav-menu {
|
.nav-menu {
|
||||||
display: inline-flex;
|
display: inline-flex;
|
||||||
}
|
}
|
||||||
@@ -1230,18 +1147,6 @@ button {
|
|||||||
left: -16px;
|
left: -16px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.stats {
|
|
||||||
margin-top: 72px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.stat {
|
|
||||||
padding: 20px 16px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.stat-value {
|
|
||||||
font-size: 1.5rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
.section {
|
.section {
|
||||||
padding: 72px 0;
|
padding: 72px 0;
|
||||||
}
|
}
|
||||||
@@ -1251,10 +1156,6 @@ button {
|
|||||||
grid-template-columns: 1fr;
|
grid-template-columns: 1fr;
|
||||||
}
|
}
|
||||||
|
|
||||||
.contact-card {
|
|
||||||
padding: 36px 24px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.footer-content,
|
.footer-content,
|
||||||
.rates-header {
|
.rates-header {
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
|||||||
Reference in New Issue
Block a user