diff --git a/public/rickroll.mp3 b/public/rickroll.mp3 deleted file mode 100644 index 77cc891..0000000 Binary files a/public/rickroll.mp3 and /dev/null differ diff --git a/src/components/Header.astro b/src/components/Header.astro index 80582e2..9ec8097 100644 --- a/src/components/Header.astro +++ b/src/components/Header.astro @@ -1,27 +1,31 @@ --- -const pathname = new URL(Astro.request.url).pathname; -const pathSegments = pathname.slice(1).split('/').filter(segment => segment !== ''); - -function buildHref(index) { - if (pathSegments.length === 0) return '/'; - return ' /' + pathSegments.slice(0, index + 1).join('/'); -} - -const isLandingPage = pathSegments.length === 0; +const { pathname } = Astro.url; --- - -
-
- ~ - {isLandingPage ? / : ''} - {pathSegments.map((segment, index) => ( - <> - / - - {segment} - - - ))} +
+
+ +

Sids' blog

+
+ diff --git a/src/pages/index.astro b/src/pages/index.astro deleted file mode 100644 index 959af1d..0000000 --- a/src/pages/index.astro +++ /dev/null @@ -1,67 +0,0 @@ ---- -import SectionContainer from '../components/SectionContainer.astro'; -import HeaderLink from '../components/HeaderLink.astro'; ---- - -
-
- -
- -
-

Sid

-
-

Software Engineer at Capgemini, following their Ignite program.

-

I like spending my free time bouldering/climbing, playing some games on my Wii, watching the newest One Piece episode or build cairns.

-

This website is just a fun side-project that I actively work on, and use as my creative outlet. It's also a way for me to actually own my data, allowing me to log data, post pictures and more!

-

Let me know you've been here by signing my guestbook!

-
-
-

pages

-
    -
  • โ“ whoami~ sid, i am
  • -
  • โœ๏ธ blog~ i write my thoughts sometimes
  • -
  • ๐Ÿ—‚๏ธ logs~ a record of what I've watched, read & climbed
  • -
  • ๐Ÿ“ธ gallery~ moments and places of my life, in pictures
  • -
  • ๐Ÿฆ• more~ additional slash pages
  • -
-
-
-
-
- - - - diff --git a/src/pages/index.md b/src/pages/index.md new file mode 100644 index 0000000..613442c --- /dev/null +++ b/src/pages/index.md @@ -0,0 +1,25 @@ +--- +title: "whoami?" +description: "" +layout: "../layouts/Layout.astro" +--- + +Hallais! My name is **Sindre**, also known as ["Sid"](/avatar.webp). I'm a 20-something year old Software Engineer atย Capgemini, following their internal Ignite program. + +Welcome to my website! It's a fun side-project that I actively work on, and use as my creative outlet. It's also a way for me to actually own my data, allowing me to log data, post pictures and more! + +I like to do a lot, but to sum it up I mostly like spending my free time bouldering/climbing, play some games on my Wii, watch the newest One Piece episode or build cairns - check out my [collection](/gallery/cairns). Below is some other information about me! + +๐Ÿ‘’ One Piece is my favorite anime. + +๐ŸŽต Liquid DnB / Techno is my go-to music. + +๐Ÿ“ข I'm an Open Source advocate and enjoy talking about it. + +๐Ÿ“ฝ๏ธ Ready Player One or The Summit of the Gods are my favorite movies, tough choice to only have one. + +๐Ÿ“š I love the book Permanent Record, can't recommend it enough! + +## Want to contact me? ๐Ÿ“ซ + +Want to say hi? You can find ways to reach me in [/contact](/contact) or let me know you've been here by signing my [guestbook](/guestbook)! diff --git a/src/styles/global.css b/src/styles/global.css index affee4b..5a826aa 100644 --- a/src/styles/global.css +++ b/src/styles/global.css @@ -32,6 +32,25 @@ hr { margin: 10px 0; } +/* HEADER */ +.headerlink { + border: 2px solid var(--dark-link); + display: flex; + align-items: center; + padding: 0.5vh 1.5vh; + border-radius: 10px; + font-size: medium; +} + +.headerlink-active { + border: 2px solid var(--dark-link); + padding: 0.5vh 1vh; + border-radius: 10px; + font-weight: 600; + background-color: var(--dark-link); + color: var(--dark-bg); +} + /* FOOTER */ .footerbg { background-color: var(--dark-bg);