Removed bloat & added wedge comp

main
E. Almqvist 2 years ago
parent 532c1d7415
commit 79b5756249
No known key found for this signature in database
GPG Key ID: E31A99CE3E75A158
  1. 21
      components/scrollme.tsx
  2. 18
      pages/index.tsx
  3. 19
      styles/globals.css

@ -0,0 +1,21 @@
import * as React from "react"
import { SVGProps } from "react"
const ScrollMe = (props: SVGProps<SVGSVGElement>) => (
<svg
xmlns="http://www.w3.org/2000/svg"
width="1em"
height="1em"
stroke="currentColor"
{...props}
>
<path
strokeLinecap="round"
strokeLinejoin="round"
strokeWidth={2.8}
d="m2 2 15.77 17.369a2 2 0 0 0 2.96 0L36.5 2"
/>
</svg>
)
export default ScrollMe

@ -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 (
<>
<Section>
<h2 id="about">$ whoami</h2>
<p>&gt; I am a {secondsToYears(getAge())} year old <em>Computer Science & Engineering student</em> with a passion for <em>programming</em>, <em>physics</em>, <em>mathematics</em> and anything <em>*NIX</em> <Nem>(Linux, UNIX etc)</Nem> related.</p>
<h2 id="about">/almqv</h2>
<p>I am a {secondsToYears(getAge())} year old <em>Computer Science & Engineering student</em> with a passion for <em>physics</em>, <em>programming</em>, <em>mathematics</em> and anything <em>*NIX</em> <Nem>(Linux, UNIX etc)</Nem> related.</p>
{/*TODO: Add GitHub code frequency/contrib here*/}
<p className="topmargin">Most of my projects are open-source, and if you are interested, you can find all of my projects on my <a href="https://git.wych.dev" target="_blank" rel="noreferrer">git-server</a> or <a href="https://github.com/almqv" target="_blank" rel="noreferrer">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>
<p className="topmargin">Most of my projects are open-source, and if you are interested, you can find all of my projects on my <a href="https://git.wych.dev/elal" target="_blank" rel="noreferrer">git-server</a> or <a href="https://github.com/almqv" target="_blank" rel="noreferrer">GitHub</a>.</p>
{/*
<div className="topmargin" id="img-container">
@ -117,10 +116,11 @@ const Page: NextPageWithLayout = () => {
<LinkList className="topmargin">
<IconLink href="#contact" icon={ faEnvelope } target="_self" rel="noreferrer"/>
<IconLink href="/projects" icon={ faFolderOpen } target="_self" rel="noreferrer"/>
{/*<IconLink href="/projects" icon={ faFolderOpen } target="_self" rel="noreferrer"/>*/}
<IconLink href="https://github.com/almqv" icon={ faGithub } target="_blank" rel="noreferrer"/>
<IconLink href="https://git.wych.dev" icon={ faGit } target="_blank" rel="noreferrer"/>
<IconLink href="https://git.wych.dev/elal" icon={ faGit } target="_blank" rel="noreferrer"/>
</LinkList>
</Section>
<Section>

@ -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; */
}

Loading…
Cancel
Save