import Link from 'next/link';
import { Cloaked } from '@/components/Cloaked/Cloaked';
import { CodeBlock } from '@/components/CodeBlock';
import { Divider } from '@/components/Divider';
import { Client } from './client';
export default function Home() {
return (
<main>
<CodeBlock file="app/page.tsx" lang="tsx" muted />
<Divider text={'Global Styles'} />
<CodeBlock file="app/globals.scss" lang="scss" />
<Cloaked>
<header>
<h1>Stephen Matheis</h1>
<p>Front-End Software Engineer</p>
<p>Apple</p>
<p>Austin, TX</p>
</header>
<section>
<h2>Links</h2>
<ul>
<li>
<a href="https://github.com/stephenmatheis">GitHub</a>
</li>
<li>
<a href="https://codepen.io/stephenmatheis">CodePen</a>
</li>
</ul>
</section>
<section>
<h2>Code</h2>
<ul>
<li>
<Link href="/fizzbuzz">FizzBuzz</Link>
</li>
<li>
<Link href="/blank">Blank</Link>
</li>
</ul>
</section>
</Cloaked>
<Client />
</main>
);
}
/// Global Styles //////////////////////////////////////////////////////////////
:root {
--bg: light-dark(#ffffff, #1a1a1a);
--gray: #aaaaaa;
--subtle: #cccccc;
--border-color: #ededed;
--selected-bg: #ededed;
--selection-bg: light-dark(#eeeeee, #333333);
color-scheme: light dark;
}
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
::selection {
color: inherit;
background-color: var(--selection-bg);
}
html,
body {
min-height: 100%;
background-color: var(--bg);
// Departure Mono
// font-size: 11px;
// line-height: 16.5px;
// Commit Mono
font-size: 12px;
line-height: 18px;
}
html {
text-rendering: optimizelegibility;
-webkit-font-smoothing: antialiased;
-webkit-text-size-adjust: 100%;
text-size-adjust: 100%;
}
body,
pre,
code {
// font-family: var(--font-departure-mono);
font-family: var(--font-commit-mono);
}