Portfolio website written with Next.js
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
wychdev-nextjs/pages/index.tsx

76 lines
2.1 KiB

import type {NextPageWithLayout} from './_app'
import type { ReactElement } from 'react'
import Layout from '../components/layout'
2 years ago
import styled from 'styled-components'
import Link from "next/link"
2 years ago
const Section = styled.section`
display: flex;
justify-content: center;
flex-direction: column;
padding: 0 1rem;
margin: 2rem 0;
2 years ago
h2 {
margin: 8px 0;
2 years ago
}
p {
margin: 0;
2 years ago
color: var(--fg);
}
`
2 years ago
const Code = styled.code`
background-color: var(--bg-dark);
color: var(--fg-code);
border-radius: .4rem;
padding: .1rem .4rem;
`
const CList = styled.code`
list-style: none;
li {
margin: 1rem;
}
`
const Page: NextPageWithLayout = () => {
2 years ago
return (
2 years ago
<>
2 years ago
<Section>
<h2 id="about">About</h2>
<p>I am a student with a passion for programming, physics, mathematics and *NIX (Linux, UNIX etc). </p>
</Section>
<Section>
<h2 id="contact">Contact</h2>
<p>You can contact me through email. And if you prefer it, you can contact me using PGP. Do note that my <em>email address below is encrypted</em> as a precaution for bots et cetera. Do not worry, it is easy to crack. Alternatively you could search for my PGP fingerprint on some key server (i.e. <a href="https://pgp.mit.edu/" target="_blank">MIT</a>, <a href="https://keyserver.ubuntu.com/" target="_blank">Ubuntu</a>) as my email is "connected" to it.</p>
<CList>
<li>
PGP Fingerprint: <Code>68B2976849F03C7238AEB081E31A99CE3E75A158</Code>
</li>
<li>
Email: <Code>cnlueXpkaXZmZ0B0em52eS5wYnoK</Code>
</li>
<li>
GitHub: <a href="https://github.com/E-Almqvist" target="_blank">github.com/E-Almqvist</a>
</li>
</CList>
2 years ago
</Section>
<Section>
<h2>Projects</h2>
<p>Most of my projects are open-source, and if you are interested, you can find all of my projects on my <a href="https://github.com/E-Almqvist">GitHub</a>. You can also check out <Link href="/projects">/projects</Link> to view all of my projects (including hardware projects and so on).</p>
2 years ago
</Section>
2 years ago
</>
2 years ago
)
}
Page.getLayout = (page: ReactElement) => {
return <Layout>{page}</Layout>
}
export default Page