diff --git a/pages/me.tsx b/pages/me.tsx new file mode 100644 index 0000000..30f76be --- /dev/null +++ b/pages/me.tsx @@ -0,0 +1,26 @@ +import type { NextPage } from "next"; +import Layout from "../components/Blog/Layout"; + +import styles from "../styles/Blog/AboutMe.module.scss"; + +const SkillBar: NextPage<{ skill: string, color: string, pct: number }> = ({skill, color, pct}) => { + return <>; +}; + +const AboutMe: NextPage = () => { + const age = new Date().getFullYear() - 1998 - (new Date().getMonth() < 10 ? 1 : 0); + + return +

This is me.

+

+ Hi! My name is Daniel and I'm an automation engineer from Germany. +

+

+ I'm currently studying Information Systems Engineering at the TU Dresden
+ Currently I'm {age} years old. +

+
; + +}; + +export default AboutMe; \ No newline at end of file diff --git a/styles/Blog/AboutMe.module.scss b/styles/Blog/AboutMe.module.scss new file mode 100644 index 0000000..6e83af2 --- /dev/null +++ b/styles/Blog/AboutMe.module.scss @@ -0,0 +1,3 @@ +.preText { + font-size: 1.2em; +} \ No newline at end of file