Compare commits

..

No commits in common. 'd81776f279d2b7ce83236d4d5631b89ebd8a422a' and '532c1d7415e080fb9260c65dc8eb72a23d4c2abb' have entirely different histories.

  1. 2
      components/iconlink.tsx
  2. 21
      components/scrollme.tsx
  3. 24
      pages/index.tsx
  4. BIN
      public/favicon.ico
  5. 25
      styles/globals.css

@ -3,7 +3,7 @@ import {FontAwesomeIcon} from "@fortawesome/react-fontawesome"
import styled from "styled-components" import styled from "styled-components"
const ILink = styled.a` const ILink = styled.a`
font-size: 1.5rem; font-size: 24px;
margin: 0 .4rem; margin: 0 .4rem;
` `

@ -1,21 +0,0 @@
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,10 +2,11 @@ import type {NextPageWithLayout} from "./_app"
import type { ReactElement } from "react" import type { ReactElement } from "react"
import Layout from "../components/layout" import Layout from "../components/layout"
import styled from "styled-components" import styled from "styled-components"
import Link from "next/link"
import IconLink from "components/iconlink" import IconLink from "components/iconlink"
//import ScrollMe from "components/scrollme" import {faEnvelope, faFolderOpen} from "@fortawesome/free-solid-svg-icons"
import {faEnvelope} from "@fortawesome/free-solid-svg-icons"
import {faGit, faGithub} from "@fortawesome/free-brands-svg-icons" import {faGit, faGithub} from "@fortawesome/free-brands-svg-icons"
import Footer, {Spacer} from "components/footer"
export const Section = styled.section` export const Section = styled.section`
display: flex; display: flex;
@ -17,7 +18,6 @@ export const Section = styled.section`
min-height: 100vh; min-height: 100vh;
h2, h3 { h2, h3 {
font-size: 2rem;
margin: 8px 0; margin: 8px 0;
} }
@ -27,7 +27,7 @@ export const Section = styled.section`
} }
.topmargin { .topmargin {
margin-top: 1rem; margin-top: 2rem;
} }
ul li { ul li {
@ -50,9 +50,7 @@ export const Section = styled.section`
` `
export const Code = styled.code` export const Code = styled.code`
font-family: monospace; background-color: var(--bg-dark);
font-size: .9rem;
background-color: var(--bg-emph);
color: var(--fg-code); color: var(--fg-code);
border-radius: .4rem; border-radius: .4rem;
padding: .1rem .4rem; padding: .1rem .4rem;
@ -68,6 +66,7 @@ export const CList = styled.ul`
export const Nem = styled.span` export const Nem = styled.span`
color: var(--fg-faded); color: var(--fg-faded);
opacity: .8;
` `
export const LinkList = styled.div` export const LinkList = styled.div`
@ -105,10 +104,10 @@ const Page: NextPageWithLayout = () => {
return ( return (
<> <>
<Section> <Section>
<h2 id="about">/almqv</h2> <h2 id="about">$ whoami</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> <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>
{/*TODO: Add GitHub code frequency/contrib here*/} {/*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/elal" target="_blank" rel="noreferrer">git-server</a> or <a href="https://github.com/almqv" target="_blank" rel="noreferrer">GitHub</a>.</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" 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>
{/* {/*
<div className="topmargin" id="img-container"> <div className="topmargin" id="img-container">
@ -118,11 +117,10 @@ const Page: NextPageWithLayout = () => {
<LinkList className="topmargin"> <LinkList className="topmargin">
<IconLink href="#contact" icon={ faEnvelope } target="_self" rel="noreferrer"/> <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://github.com/almqv" icon={ faGithub } target="_blank" rel="noreferrer"/>
<IconLink href="https://git.wych.dev/elal" icon={ faGit } target="_blank" rel="noreferrer"/> <IconLink href="https://git.wych.dev" icon={ faGit } target="_blank" rel="noreferrer"/>
</LinkList> </LinkList>
</Section> </Section>
<Section> <Section>

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

@ -1,5 +1,3 @@
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,300;1,400;1,500;1,600;1,700;1,800&display=swap');
:root { :root {
font-size: 16px; font-size: 16px;
--border-type: solid; --border-type: solid;
@ -7,29 +5,29 @@
--border-color: var(--fg-faded); --border-color: var(--fg-faded);
--border-radius: 1rem; --border-radius: 1rem;
--content-max-width: 850px; --content-max-width: 60rem;
--h-uni-padding: .8rem; --h-uni-padding: .8rem;
--v-uni-padding: .2rem; --v-uni-padding: .2rem;
--fg: #E1DCCE; --fg: #ebdbb2;
color: var(--fg); color: var(--fg);
/* --fg-emph: #fbebe2; */ --fg-emph: #fbebe2;
--fg-emph: #EFE8D7;
--fg-faded: #928373; --fg-faded: #928373;
--fg-button: var(--fg-faded); --fg-button: var(--fg-faded);
--fg-link: #8398AC; --fg-link: #88aaa3;
--fg-code: #ffbe85; --fg-code: #ffbe85;
--fg-gold: #fff190; --fg-gold: #fff190;
--emph-shadow: 0 0 2px; --emph-shadow: 0 0 2px;
--bg: #181818; --bg: #1d2021;
--bg-emph: #242424; --bg-dark: #282828;
--trans-time: 200ms;
--trans-time: .2s;
} }
* { * {
box-sizing: border-box; box-sizing: border-box;
font-family: "Open Sans", sans-serif; font-family: "IBM Plex Mono", monospace;
padding: 0; padding: 0;
margin: 0; margin: 0;
} }
@ -63,7 +61,6 @@ a:hover {
} }
h1, h2, h3, h4, h5, em { h1, h2, h3, h4, h5, em {
font-weight: normal;
color: var(--fg-emph); color: var(--fg-emph);
} }
@ -72,8 +69,8 @@ p {
} }
em { em {
/* font-weight: normal; */ font-weight: normal;
font-style: normal; font-style: normal;
/* text-shadow: var(--emph-shadow) currentColor; */ text-shadow: var(--emph-shadow) currentColor;
} }

Loading…
Cancel
Save