From 66f85f80f209e50cecba19880ee166c92a222d1e Mon Sep 17 00:00:00 2001 From: polsevev Date: Sat, 26 Oct 2024 12:40:55 +0200 Subject: [PATCH] Edit a bit of the text on homepage and about page --- .woodpecker/main.yml | 17 ----------- astro_readme/README.md | 68 ------------------------------------------ src/pages/about.astro | 12 +++++--- src/pages/index.astro | 28 +++++++++++------ 4 files changed, 27 insertions(+), 98 deletions(-) delete mode 100644 .woodpecker/main.yml delete mode 100644 astro_readme/README.md diff --git a/.woodpecker/main.yml b/.woodpecker/main.yml deleted file mode 100644 index aa061b2..0000000 --- a/.woodpecker/main.yml +++ /dev/null @@ -1,17 +0,0 @@ -when: - - event: push - branch: master - -steps: - - name: build - image: local/builder - - commands: - - npm install - - npm run build - - mkdir /root/.ssh && chmod 0700 /root/.ssh - - echo $SSH_KEY | base64 --decode >> /root/.ssh/id_rsa - - chmod 0600 /root/.ssh/id_rsa - - ssh-keyscan $REMOTE_IP >> /root/.ssh/known_hosts - - /bin/rsync -avzh ./dist ansible@$REMOTE_IP:/var/www/polsevev/ - secrets: [ SSH_KEY, remote_ip ] diff --git a/astro_readme/README.md b/astro_readme/README.md deleted file mode 100644 index 758716e..0000000 --- a/astro_readme/README.md +++ /dev/null @@ -1,68 +0,0 @@ -# Astro Starter Kit: Blog - -```sh -npm create astro@latest -- --template blog -``` - -[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/withastro/astro/tree/latest/examples/blog) -[![Open with CodeSandbox](https://assets.codesandbox.io/github/button-edit-lime.svg)](https://codesandbox.io/p/sandbox/github/withastro/astro/tree/latest/examples/blog) -[![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/withastro/astro?devcontainer_path=.devcontainer/blog/devcontainer.json) - -> 🧑‍🚀 **Seasoned astronaut?** Delete this file. Have fun! - -![blog](https://github.com/withastro/astro/assets/2244813/ff10799f-a816-4703-b967-c78997e8323d) - -Features: - -- ✅ Minimal styling (make it your own!) -- ✅ 100/100 Lighthouse performance -- ✅ SEO-friendly with canonical URLs and OpenGraph data -- ✅ Sitemap support -- ✅ RSS Feed support -- ✅ Markdown & MDX support - -## 🚀 Project Structure - -Inside of your Astro project, you'll see the following folders and files: - -```text -├── public/ -├── src/ -│   ├── components/ -│   ├── content/ -│   ├── layouts/ -│   └── pages/ -├── astro.config.mjs -├── README.md -├── package.json -└── tsconfig.json -``` - -Astro looks for `.astro` or `.md` files in the `src/pages/` directory. Each page is exposed as a route based on its file name. - -There's nothing special about `src/components/`, but that's where we like to put any Astro/React/Vue/Svelte/Preact components. - -The `src/content/` directory contains "collections" of related Markdown and MDX documents. Use `getCollection()` to retrieve posts from `src/content/blog/`, and type-check your frontmatter using an optional schema. See [Astro's Content Collections docs](https://docs.astro.build/en/guides/content-collections/) to learn more. - -Any static assets, like images, can be placed in the `public/` directory. - -## 🧞 Commands - -All commands are run from the root of the project, from a terminal: - -| Command | Action | -| :------------------------ | :----------------------------------------------- | -| `npm install` | Installs dependencies | -| `npm run dev` | Starts local dev server at `localhost:4321` | -| `npm run build` | Build your production site to `./dist/` | -| `npm run preview` | Preview your build locally, before deploying | -| `npm run astro ...` | Run CLI commands like `astro add`, `astro check` | -| `npm run astro -- --help` | Get help using the Astro CLI | - -## 👀 Want to learn more? - -Check out [our documentation](https://docs.astro.build) or jump into our [Discord server](https://astro.build/chat). - -## Credit - -This theme is based off of the lovely [Bear Blog](https://github.com/HermanMartinus/bearblog/). diff --git a/src/pages/about.astro b/src/pages/about.astro index 6e4b958..4f08064 100644 --- a/src/pages/about.astro +++ b/src/pages/about.astro @@ -7,12 +7,12 @@ import Layout from "../layouts/BlogPost.astro"; description="Lorem ipsum dolor sit amet" pubDate={new Date("08.02.2024")} > -

Hi!

- This intoduction thing is not really my style, but first of all my name is - Rolf. +

Hi!

+

+ My name is Rolf, i am 2024-2000 years old and live in Norway.

- I currently work as a devops engineer / infrastructure guy. As you probably can tell from this website, front-end is not really my strong suit hehe. + I currently work as a devops engineer / infrastructure guy for an insurance company. As you probably can tell from this website, front-end is not really my strong suit hehe.

I have a strong love for all things self-hosted. Due to this, i currently run my own "little" homelab from my living room, i use this lab as a learning platform and just an all around @@ -21,4 +21,8 @@ import Layout from "../layouts/BlogPost.astro";

I do love board games! Currently my favorite has to be Magic The Gathering, it eats up way too much of my time and salary, but i find the game so engaging and fun.

+

+ I also spend a lot of my time as a member of the student organization friByte. Even though i am no longer a student, it is hard to quit an orginization with so many dedicated + and nerdy members +

diff --git a/src/pages/index.astro b/src/pages/index.astro index 2560cd0..b61c0cd 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -31,6 +31,9 @@ import { SITE_TITLE, SITE_DESCRIPTION } from "../consts"; box { display: flex; } + p{ + text-align: left; + } @@ -38,15 +41,22 @@ import { SITE_TITLE, SITE_DESCRIPTION } from "../consts";

Rolf Glomsrud

- - -

Click here to read posts about my homelab!

-
-

- This site is a continual WIP, and this is just an alpha of what i hope - it will become :) -

-

I currently spend most my time either working, playing Magic the Gathering or working on my homelab

+ + +

Hello!

+

Welcome to my little corner of the interwebs, glad to have you!

+ +

This site is a little project of mine where is hope to share my adventures both on and off line.

+ +

Here are some useful links to my stuff:

+