Edit a bit of the text on homepage and about page
This commit is contained in:
parent
12ae79ecd8
commit
66f85f80f2
4 changed files with 27 additions and 98 deletions
|
@ -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 ]
|
|
@ -1,68 +0,0 @@
|
|||
# Astro Starter Kit: Blog
|
||||
|
||||
```sh
|
||||
npm create astro@latest -- --template blog
|
||||
```
|
||||
|
||||
[](https://stackblitz.com/github/withastro/astro/tree/latest/examples/blog)
|
||||
[](https://codesandbox.io/p/sandbox/github/withastro/astro/tree/latest/examples/blog)
|
||||
[](https://codespaces.new/withastro/astro?devcontainer_path=.devcontainer/blog/devcontainer.json)
|
||||
|
||||
> 🧑🚀 **Seasoned astronaut?** Delete this file. Have fun!
|
||||
|
||||

|
||||
|
||||
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/).
|
|
@ -7,12 +7,12 @@ import Layout from "../layouts/BlogPost.astro";
|
|||
description="Lorem ipsum dolor sit amet"
|
||||
pubDate={new Date("08.02.2024")}
|
||||
>
|
||||
<p>Hi!</p><p>
|
||||
This intoduction thing is not really my style, but first of all my name is
|
||||
Rolf.
|
||||
<p>Hi!</p>
|
||||
<p>
|
||||
My name is Rolf, i am 2024-2000 years old and live in Norway.
|
||||
</p>
|
||||
<p>
|
||||
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.
|
||||
</p>
|
||||
<p>
|
||||
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";
|
|||
<p>
|
||||
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.
|
||||
</p>
|
||||
<p>
|
||||
I also spend a lot of my time as a member of the student organization <a href="https://fribyte.no">friByte</a>. Even though i am no longer a student, it is hard to quit an orginization with so many dedicated
|
||||
and nerdy members
|
||||
</p>
|
||||
</Layout>
|
||||
|
|
|
@ -31,6 +31,9 @@ import { SITE_TITLE, SITE_DESCRIPTION } from "../consts";
|
|||
box {
|
||||
display: flex;
|
||||
}
|
||||
p{
|
||||
text-align: left;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
@ -38,15 +41,22 @@ import { SITE_TITLE, SITE_DESCRIPTION } from "../consts";
|
|||
|
||||
<main>
|
||||
<h1>Rolf Glomsrud</h1>
|
||||
<img src="images/self.png" />
|
||||
<a href="/homelab">
|
||||
<p>Click here to read posts about my homelab!</p>
|
||||
</a>
|
||||
<p>
|
||||
This site is a continual WIP, and this is just an alpha of what i hope
|
||||
it will become :)
|
||||
</p>
|
||||
<p>I currently spend most my time either working, playing Magic the Gathering or working on my homelab</p>
|
||||
<img src="images/self.png" />
|
||||
|
||||
<h3>Hello!</h3>
|
||||
<p>Welcome to my little corner of the interwebs, glad to have you!</p>
|
||||
|
||||
<p>This site is a little project of mine where is hope to share my adventures both on and off line.</p>
|
||||
|
||||
<p>Here are some useful links to my stuff:</p>
|
||||
<ul>
|
||||
<li>
|
||||
<p>I self host my code online using Forgejo! <a href="https://code.polsevev.dev">code.polsevev.dev</a></p>
|
||||
</li>
|
||||
<li>
|
||||
<p>I document my homelab! <a href="/homelab">/homelab</a></p>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
</main>
|
||||
<Footer />
|
||||
|
|
Loading…
Reference in a new issue