Compare commits

..

11 commits

Author SHA1 Message Date
63b4438463 Fix keyscan
All checks were successful
/ build (push) Successful in 28s
2025-03-29 19:40:04 +01:00
7989f98776 Move website to Nix server
Some checks failed
/ build (push) Has been cancelled
2025-03-29 19:36:26 +01:00
2608fd281d fix_date
All checks were successful
/ build (push) Successful in 27s
2025-02-10 19:32:28 +01:00
19e2605b03 1
All checks were successful
/ build (push) Successful in 30s
2025-01-30 18:19:35 +01:00
d12dfc6d91 forgejo logot o footer
All checks were successful
/ build (push) Successful in 24s
2024-11-03 21:13:15 +01:00
5a74fb5ef5 Fix path to forgejo logo
All checks were successful
/ build (push) Successful in 24s
2024-11-03 21:09:46 +01:00
10a550aea2 Merge branch 'master' of code.polsevev.dev:polsevev/polsevev.dev
All checks were successful
/ build (push) Successful in 25s
2024-11-03 21:08:19 +01:00
1d51866188 Move to forgejo 2024-11-03 21:08:10 +01:00
f969c3620d Upgrade astro
All checks were successful
/ build (push) Successful in 24s
2024-10-29 22:12:23 +01:00
5057118cc3 Merge branch 'master' of code.polsevev.dev:polsevev/polsevev.dev
All checks were successful
/ build (push) Successful in 27s
2024-10-26 12:41:35 +02:00
76a9cbb157 Merge pull request 'workflow_test' (#1) from workflow_test into master
All checks were successful
/ build (push) Successful in 26s
Reviewed-on: #1
2024-10-26 10:30:32 +00:00
9 changed files with 1007 additions and 1036 deletions

View file

@ -9,6 +9,6 @@ jobs:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- run: npm i - run: npm i
- run: npm run build - run: npm run build
- run: ssh-keyscan polsevev >> ~/.ssh/known_hosts - run: ssh-keyscan hephaestus >> ~/.ssh/known_hosts
- run: /bin/rsync -avzh ./dist ansible@polsevev:/var/www/polsevev/ - run: /bin/rsync -avzh ./dist ansible@hephaestus:/var/www/polsevev/

View file

@ -3,4 +3,3 @@
This is a repo for my website [polsevev.dev](polsevev.dev) This is a repo for my website [polsevev.dev](polsevev.dev)
You are welcome to look at, and use, the code. If you want submit a PR you can, but i prolly won't accept it, as this is just a place for mye to publish things on the interwebs while avoiding using social media. You are welcome to look at, and use, the code. If you want submit a PR you can, but i prolly won't accept it, as this is just a place for mye to publish things on the interwebs while avoiding using social media.

1947
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -10,11 +10,11 @@
"astro": "astro" "astro": "astro"
}, },
"dependencies": { "dependencies": {
"@astrojs/check": "^0.9.1", "@astrojs/check": "^0.9.4",
"@astrojs/mdx": "^3.1.3", "@astrojs/mdx": "^3.1.8",
"@astrojs/rss": "^4.0.7", "@astrojs/rss": "^4.0.9",
"@astrojs/sitemap": "^3.1.6", "@astrojs/sitemap": "^3.2.1",
"astro": "^4.13.1", "astro": "^4.16.7",
"sharp": "^0.33.5", "sharp": "^0.33.5",
"typescript": "^5.5.4" "typescript": "^5.5.4"
} }

View file

@ -0,0 +1,40 @@
<svg viewBox="0 0 212 212" xmlns="http://www.w3.org/2000/svg">
<metadata
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:dc="http://purl.org/dc/elements/1.1/"
>
<rdf:RDF>
<cc:Work rdf:about="https://codeberg.org/forgejo/meta/src/branch/readme/branding#logo">
<dc:title>Forgejo logo</dc:title>
<cc:creator rdf:resource="https://caesarschinas.com/"><cc:attributionName>Caesar Schinas</cc:attributionName></cc:creator>
<cc:license rdf:resource="http://creativecommons.org/licenses/by-sa/4.0/" />
</cc:Work>
</rdf:RDF>
</metadata>
<style type="text/css">
circle {
fill: none;
stroke: #000;
stroke-width: 15;
}
path {
fill: none;
stroke: #000;
stroke-width: 25;
}
.orange {
stroke:#ff6600;
}
.red {
stroke:#d40000;
}
</style>
<g transform="translate(6,6)">
<path d="M58 168 v-98 a50 50 0 0 1 50-50 h20" class="orange" />
<path d="M58 168 v-30 a50 50 0 0 1 50-50 h20" class="red" />
<circle cx="142" cy="20" r="18" class="orange" />
<circle cx="142" cy="88" r="18" class="red" />
<circle cx="58" cy="180" r="18" class="red" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 1.2 KiB

View file

@ -5,14 +5,11 @@ const today = new Date();
<footer> <footer>
&copy; {today.getFullYear()} Rolf Martin Glomsrud. All rights reserved. &copy; {today.getFullYear()} Rolf Martin Glomsrud. All rights reserved.
<div class="social-links"> <div class="social-links">
<a href="https://github.com/polsevev" target="_blank"> <a href="https://code.polsevev.dev" target="_blank" >
<span class="sr-only">My Github?</span> <span class="sr-only">My Github?</span>
<svg viewBox="0 0 16 16" aria-hidden="true" width="32" height="32" astro-icon="social/github" <img src="/svg/Forgejo_logo.svg"/>
><path <svg viewBox="0 0 16 16" aria-hidden="true" width="32" height="32" astro-icon="social/github" ></svg>
fill="white" </a>
d="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.012 8.012 0 0 0 16 8c0-4.42-3.58-8-8-8z"
></path></svg
>
</a> </a>
</div> </div>
</footer> </footer>
@ -29,6 +26,7 @@ const today = new Date();
margin-bottom: 2rem; margin-bottom: 2rem;
border-radius: 10px; border-radius: 10px;
width: 90%; width: 90%;
max-width: 1000px; max-width: 1000px;
} }
.social-links { .social-links {
@ -42,4 +40,8 @@ const today = new Date();
.social-links a:hover { .social-links a:hover {
color: rgb(var(--gray-dark)); color: rgb(var(--gray-dark));
} }
img{
background-color: white;
padding: 5px;
}
</style> </style>

View file

@ -12,14 +12,10 @@ import { SITE_TITLE } from '../consts';
<HeaderLink href="/about">~/about</HeaderLink> <HeaderLink href="/about">~/about</HeaderLink>
</div> </div>
<div class="social-links"> <div class="social-links">
<a href="https://github.com/polsevev" target="_blank"> <a href="https://code.polsevev.dev" target="_blank" >
<span class="sr-only">My Github?</span> <span class="sr-only">My Github?</span>
<svg viewBox="0 0 16 16" aria-hidden="true" width="32" height="32" astro-icon="social/github" <img src="/svg/Forgejo_logo.svg"/>
><path <svg viewBox="0 0 16 16" aria-hidden="true" width="32" height="32" astro-icon="social/github" ></svg>
fill="currentColor"
d="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.012 8.012 0 0 0 16 8c0-4.42-3.58-8-8-8z"
></path></svg
>
</a> </a>
</div> </div>
</nav> </nav>
@ -59,6 +55,10 @@ import { SITE_TITLE } from '../consts';
border-bottom: 4px solid transparent; border-bottom: 4px solid transparent;
text-decoration: none; text-decoration: none;
} }
img{
background-color: white;
padding: 5px;
}
nav a.active { nav a.active {
text-decoration: none; text-decoration: none;
border-bottom-color: cyan; border-bottom-color: cyan;

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 MiB

View file

@ -0,0 +1,11 @@
---
title: I got a split keyboard!
description: I am now a superior developer
pubDate: 1.30.2025
---
As can be read in the title, i finally caved and bought one. I am currently writing this post using it and it is better than i expected.
I will do a full writeup of my experience learning a split keyboard sometime in the future, just wanted to share the excitement!
![](./images/keyboard.jpg)