From 79b57562490301c1ddce2cf77a1c231efc2ebe11 Mon Sep 17 00:00:00 2001 From: "E. Almqvist" Date: Sun, 15 Jan 2023 18:59:41 +0100 Subject: [PATCH] Removed bloat & added wedge comp --- components/scrollme.tsx | 21 +++++++++++++++++++++ pages/index.tsx | 18 +++++++++--------- styles/globals.css | 19 +++++++++---------- 3 files changed, 39 insertions(+), 19 deletions(-) create mode 100644 components/scrollme.tsx diff --git a/components/scrollme.tsx b/components/scrollme.tsx new file mode 100644 index 0000000..2021d10 --- /dev/null +++ b/components/scrollme.tsx @@ -0,0 +1,21 @@ +import * as React from "react" +import { SVGProps } from "react" + +const ScrollMe = (props: SVGProps) => ( + + + +) + +export default ScrollMe diff --git a/pages/index.tsx b/pages/index.tsx index 4e26324..c6e6d99 100755 --- a/pages/index.tsx +++ b/pages/index.tsx @@ -2,11 +2,10 @@ 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" import IconLink from "components/iconlink" -import {faEnvelope, faFolderOpen} from "@fortawesome/free-solid-svg-icons" +//import ScrollMe from "components/scrollme" +import {faEnvelope} from "@fortawesome/free-solid-svg-icons" import {faGit, faGithub} from "@fortawesome/free-brands-svg-icons" -import Footer, {Spacer} from "components/footer" export const Section = styled.section` display: flex; @@ -18,6 +17,7 @@ export const Section = styled.section` min-height: 100vh; h2, h3 { + font-size: 2rem; margin: 8px 0; } @@ -66,7 +66,6 @@ export const CList = styled.ul` export const Nem = styled.span` color: var(--fg-faded); - opacity: .8; ` export const LinkList = styled.div` @@ -104,10 +103,10 @@ const Page: NextPageWithLayout = () => { return ( <>
-

$ whoami

-

> I am a {secondsToYears(getAge())} year old Computer Science & Engineering student with a passion for programming, physics, mathematics and anything *NIX (Linux, UNIX etc) related.

+

/almqv

+

I am a {secondsToYears(getAge())} year old Computer Science & Engineering student with a passion for physics, programming, mathematics and anything *NIX (Linux, UNIX etc) related.

{/*TODO: Add GitHub code frequency/contrib here*/} -

Most of my projects are open-source, and if you are interested, you can find all of my projects on my git-server or GitHub. You can also check out /projects to view all of my projects (including hardware projects and so on).

+

Most of my projects are open-source, and if you are interested, you can find all of my projects on my git-server or GitHub.

{/*
@@ -117,10 +116,11 @@ const Page: NextPageWithLayout = () => { - + {/**/} - + +
diff --git a/styles/globals.css b/styles/globals.css index 1b4d029..231167a 100755 --- a/styles/globals.css +++ b/styles/globals.css @@ -9,25 +9,24 @@ --h-uni-padding: .8rem; --v-uni-padding: .2rem; - --fg: #ebdbb2; + --fg: #EFE8D7; color: var(--fg); - --fg-emph: #fbebe2; + /* --fg-emph: #fbebe2; */ + --fg-emph: var(--fg); --fg-faded: #928373; --fg-button: var(--fg-faded); - --fg-link: #88aaa3; + --fg-link: #8398AC; --fg-code: #ffbe85; --fg-gold: #fff190; --emph-shadow: 0 0 2px; - --bg: #1d2021; - --bg-dark: #282828; - - --trans-time: .2s; + --bg: #181818; + --trans-time: 200ms; } * { box-sizing: border-box; - font-family: "IBM Plex Mono", monospace; + font-family: "Open Sans"; padding: 0; margin: 0; } @@ -69,8 +68,8 @@ p { } em { - font-weight: normal; + /* font-weight: normal; */ font-style: normal; - text-shadow: var(--emph-shadow) currentColor; + /* text-shadow: var(--emph-shadow) currentColor; */ }