diff options
| author | Elis Eriksson <spelis.tech@gmail.com> | 2026-07-04 20:24:53 +0200 |
|---|---|---|
| committer | Elis Eriksson <spelis.tech@gmail.com> | 2026-07-04 20:24:53 +0200 |
| commit | 1ee43904aaa06b16ce1f50b7fcb30f1d1f08c1a1 (patch) | |
| tree | 1e5c1c107546378c046de563e8b76766366babab | |
| parent | a96ac65ca8e8b5e889a4018a90dfa6d64b34c69d (diff) | |
| download | spelis-web-1ee43904aaa06b16ce1f50b7fcb30f1d1f08c1a1.tar spelis-web-1ee43904aaa06b16ce1f50b7fcb30f1d1f08c1a1.tar.gz spelis-web-1ee43904aaa06b16ce1f50b7fcb30f1d1f08c1a1.tar.bz2 spelis-web-1ee43904aaa06b16ce1f50b7fcb30f1d1f08c1a1.tar.lz spelis-web-1ee43904aaa06b16ce1f50b7fcb30f1d1f08c1a1.tar.xz spelis-web-1ee43904aaa06b16ce1f50b7fcb30f1d1f08c1a1.tar.zst spelis-web-1ee43904aaa06b16ce1f50b7fcb30f1d1f08c1a1.zip | |
idk bro 💔
| -rw-r--r-- | _includes/nav.njk | 4 | ||||
| -rw-r--r-- | _includes/og-image.og.njk | 68 | ||||
| -rw-r--r-- | content/blog.md | 3 | ||||
| -rw-r--r-- | content/blog/11ty.md | 2 | ||||
| -rw-r--r-- | content/extras.md | 7 | ||||
| -rw-r--r-- | content/index.md | 2 | ||||
| -rw-r--r-- | siteconfig.mjs | 1 |
7 files changed, 66 insertions, 21 deletions
diff --git a/_includes/nav.njk b/_includes/nav.njk index 74e93d2..0285bbe 100644 --- a/_includes/nav.njk +++ b/_includes/nav.njk @@ -10,8 +10,8 @@ {%- endfor -%} {%- for s in site.headerLinks -%} <li> - <a no-transition href="{{ s.href }}" target="_blank">{{ s.name }}</a> + <a no-transition href="{{ s.href }}">{{ s.name }}</a> </li> {%- endfor -%} </ul> -</nav>
\ No newline at end of file +</nav> diff --git a/_includes/og-image.og.njk b/_includes/og-image.og.njk index 7f3f7ad..64df971 100644 --- a/_includes/og-image.og.njk +++ b/_includes/og-image.og.njk @@ -2,30 +2,70 @@ .root { width: 100%; height: 100%; - display: flex; - font-family: "Kode Mono"; + position: relative; + + display: flex; flex-direction: column; justify-content: flex-end; - background: #171715; - padding: 20px 50px; - border-bottom: 20px solid #efefd2; - border-left: 20px solid #efefd2; + + font-family: "Kode Mono"; + + background: #151617; + + padding: 40px 60px; + + border-bottom: 20px solid #2a3039; + border-left: 20px solid #2a3039; + } + + .site { + position: absolute; + bottom: 40px; + left: 40px; + display: flex; + color: #7c8894; + font-size: 24px; } .title { - color: #efefd2; - font-size: 70px; + color: #d2e7ef; + font-size: 72px; + line-height: 1.1; + margin: 0; + max-width: 900px; + position: absolute; + top: 50%; + left: 50%; + transform: translate(-50%, -50%); } - .site { - color: #efefd2; - font-size: 20px; - display: contents; + + .logo { + display: flex; + position: absolute; + top: 40px; + right: 40px; + + color: #d2e7ef; + } + + .logo * { + color: #d2e7ef; + width: 88.64512px; + height: 128px; } </style> <div class="root"> - <div class="site">{{ siteTitle | safe }}</div> + <div class="logo"> + {{ "/assets/images/logo.svg" | embedSVG | safe }} + </div> + + <div class="site"> + {{ siteTitle | safe }} + </div> - <h1 class="title">{{ title | safe }}</h1> + <h1 class="title"> + {{ title | safe }} + </h1> </div> diff --git a/content/blog.md b/content/blog.md index 612dc0f..ba5ff53 100644 --- a/content/blog.md +++ b/content/blog.md @@ -3,9 +3,6 @@ title: Blog layout: page nav: 20 --- -<!-- Some interesting posts. :) --> -<!----> -<!-- ## Posts --> <ul> {% for post in collections.blog | reverse %} <li> <a href="{{ post.url }}">{{ post.data.title }}</a> diff --git a/content/blog/11ty.md b/content/blog/11ty.md index b1f5fc6..2f60b34 100644 --- a/content/blog/11ty.md +++ b/content/blog/11ty.md @@ -1,6 +1,8 @@ --- title: This website now uses 11ty! keywords: new 11ty +date: 2026-03-14 +modified: 2026-05-31 --- Thanks to my friend Jan Palma for making the website! (check him out <a href="https://janpalma.cz/" target="_blank">here</a>) diff --git a/content/extras.md b/content/extras.md index caf49c9..dd53abd 100644 --- a/content/extras.md +++ b/content/extras.md @@ -4,6 +4,11 @@ layout: page nav: 19 --- -[Paste bin](https://paste.spelis.li/) +## Services + [Git repos](https://git.spelis.li/) [File Share](https://share.spelis.li/) + +## Random + +[Wallpapers](https://share.spelis.li/Wallpapers/) diff --git a/content/index.md b/content/index.md index 223b97b..167b121 100644 --- a/content/index.md +++ b/content/index.md @@ -15,6 +15,8 @@ I'm a student from Sweden with a passion for writing simple code and playing bas * FabricMC mods * PaperMC plugins +You can browse some Git repositories of mine <a href="https://git.spelis.li/" target="_blank">here</a>. + </div> <div> <img src="https://share.spelis.li/squierpbass.png" alt="my bass" width=200> diff --git a/siteconfig.mjs b/siteconfig.mjs index 5f16255..555531b 100644 --- a/siteconfig.mjs +++ b/siteconfig.mjs @@ -11,6 +11,5 @@ export const config = { headerLinks: [ {name: "Git", href:"https://git.spelis.li/"}, - {name: "Paste", href:"https://paste.spelis.li/"}, ] } |
