Header on blog site and correction on blog post

This commit is contained in:
Rolf Martin Glomsrud 2024-08-04 21:07:57 +02:00
parent 614a021b1e
commit 90bab656bf
3 changed files with 16 additions and 2 deletions

View file

@ -6,7 +6,7 @@ pubDate: 08.03.2024
## Self hosted CI/CD! ## Self hosted CI/CD!
Yesterday, i decided that i was tired of using Github Actions to deploy my code from Github. So i decided to self host my own CI/CD. Yesterday, i decided that i was tired of using Github Actions to deploy my code from Github. So i decided to self host my own CI/CD. This is mostly because i am not comfortable having port 22 on my web server be publicly accessible on the internet.
To do this, i went down quite the rabbit hole. First i looked at [TeamCity](https://www.jetbrains.com/teamcity/) from JetBrains as this is what i use at work. It looked promising, however i decided it was too complex and had too many features i did not really care about. To do this, i went down quite the rabbit hole. First i looked at [TeamCity](https://www.jetbrains.com/teamcity/) from JetBrains as this is what i use at work. It looked promising, however i decided it was too complex and had too many features i did not really care about.

View file

@ -83,11 +83,25 @@ const posts = (await getCollection('blog')).sort(
font-size: 1.563em; font-size: 1.563em;
} }
} }
blogheader {
text-align: center;
}
</style> </style>
</head> </head>
<body> <body>
<Header /> <Header />
<main> <main>
<blogheader>
<h1>Blog</h1>
<p>
This page contains a blog about nothing and everything going on with me.
I will probably post mostly random stuff or opinion pieces. What it will be about i have no idea.
So stay tuned!
</p>
<a href="/homelab">
<p>Click here to read posts about my homelab!</p>
</a>
</blogheader>
<section> <section>
<ul> <ul>
{ {

View file

@ -100,7 +100,7 @@ b {
font-weight: 700; font-weight: 700;
} }
a { a {
color: var(--accent); color: white;
} }
a:hover { a:hover {
color: var(--accent); color: var(--accent);