)
diff --git a/components/nav.tsx b/components/nav.tsx
index 8d62eb4..d871668 100644
--- a/components/nav.tsx
+++ b/components/nav.tsx
@@ -1,5 +1,5 @@
-import Link from "next/link"
import styled from 'styled-components'
+import ActiveLink from './activelink'
const Nav = styled.nav`
display: flex;
@@ -9,7 +9,7 @@ const Nav = styled.nav`
a {
color: var(--fg-button);
- transition: .2s opacity;
+ transition: var(--trans-time) opacity;
}
a:hover {
@@ -20,8 +20,8 @@ const Nav = styled.nav`
export default () => {
return (
)
diff --git a/package.json b/package.json
index 246d61f..7617fa7 100644
--- a/package.json
+++ b/package.json
@@ -9,6 +9,7 @@
"lint": "next lint"
},
"dependencies": {
+ "classnames": "^2.3.1",
"next": "12.2.0",
"react": "18.2.0",
"react-dom": "18.2.0",
diff --git a/pages/_app.tsx b/pages/_app.tsx
index aa42bfa..cd1b9fa 100755
--- a/pages/_app.tsx
+++ b/pages/_app.tsx
@@ -1,7 +1,7 @@
-import '../styles/globals.css'
-import type { AppProps } from 'next/app'
-import type { ReactElement, ReactNode } from 'react'
-import type { NextPage } from 'next'
+import "../styles/globals.css"
+import type { AppProps } from "next/app"
+import type { ReactElement, ReactNode } from "react"
+import type { NextPage } from "next"
export type NextPageWithLayout = NextPage & {
getLayout?: (page: ReactElement) => ReactNode
diff --git a/pages/index.tsx b/pages/index.tsx
index 520e8c8..902fa15 100755
--- a/pages/index.tsx
+++ b/pages/index.tsx
@@ -2,34 +2,67 @@ import type {NextPageWithLayout} from './_app'
import type { ReactElement } from 'react'
import Layout from '../components/layout'
import styled from 'styled-components'
+import Link from "next/link"
const Section = styled.section`
display: flex;
justify-content: center;
flex-direction: column;
- padding: 4rem 1rem;
+ padding: 0 1rem;
+ margin: 2rem 0;
h2 {
- font-size: 2rem;
+ margin: 8px 0;
}
p {
+ margin: 0;
color: var(--fg);
}
`
+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 = () => {
return (
<>
About
I am a student with a passion for programming, physics, mathematics and *NIX (Linux, UNIX etc).
-
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque velit ligula, congue in nunc nec, aliquam rutrum massa. Aliquam pharetra, dui nec tincidunt feugiat, lacus metus dignissim augue, et lobortis nisi nisi vitae sapien. Sed consequat nisl quis tincidunt vulputate. Proin sem lectus, consequat imperdiet iaculis vel, tempus vitae enim. Pellentesque ullamcorper, arcu ut dignissim tincidunt, odio quam dignissim nisi, ut tempor dolor tortor at dui. Mauris porta velit est, sed condimentum nunc facilisis nec. Integer porta urna ac semper mattis. Cras vitae enim vitae urna tristique laoreet. Suspendisse justo diam, euismod pellentesque urna id, vestibulum sagittis diam. Interdum et malesuada fames ac ante ipsum primis in faucibus. Nullam ut ante ac nibh dapibus egestas. Pellentesque id tellus sit amet diam aliquam pellentesque a sit amet enim. Phasellus vel luctus tortor. In orci erat, mattis tempor tellus ac, porta euismod erat. Praesent non vestibulum mauris, vitae commodo ante. Curabitur ut turpis nec arcu scelerisque viverra.
+
+
+
+
Contact
+
You can contact me through email. And if you prefer it, you can contact me using PGP. Do note that my email address below is encrypted 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. MIT, Ubuntu) as my email is "connected" to it.
Most of my projects are open-source, and if you are interested, you can find all of my projects on my GitHub. You can also check out /projects to view all of my projects (including hardware projects and so on).
>
)
diff --git a/pages/projects.tsx b/pages/projects.tsx
new file mode 100644
index 0000000..be2f375
--- /dev/null
+++ b/pages/projects.tsx
@@ -0,0 +1,16 @@
+import type {NextPageWithLayout} from './_app'
+import type { ReactElement } from 'react'
+import Layout from '../components/layout'
+
+const Page: NextPageWithLayout = () => {
+ return (
+ <>
+