Compare commits

...

3 Commits

Author SHA1 Message Date
Beau Findlay
e9293854b4 Adds robots.txt
All checks were successful
Build and Deploy / build (push) Successful in 41s
2026-02-01 14:18:09 +00:00
Beau Findlay
3bbf61ccaa Update about page content and adds code css style 2026-02-01 14:14:44 +00:00
Beau Findlay
f3dcee5660 Replaces GitHub with Gitea 2026-02-01 14:14:23 +00:00
6 changed files with 37 additions and 22 deletions

View File

@@ -1,10 +1,10 @@
@switch (Type)
{
case IconType.Github:
<svg viewBox="0 0 24 24"
fill="currentColor"
case IconType.Gitea:
<svg fill="currentColor"
viewBox="0 0 32 32"
xmlns="http://www.w3.org/2000/svg">
<path d="M12 0c-6.626 0-12 5.373-12 12 0 5.302 3.438 9.8 8.207 11.387.599.111.793-.261.793-.577v-2.234c-3.338.726-4.033-1.416-4.033-1.416-.546-1.387-1.333-1.756-1.333-1.756-1.089-.745.083-.729.083-.729 1.205.084 1.839 1.237 1.839 1.237 1.07 1.834 2.807 1.304 3.492.997.107-.775.418-1.305.762-1.604-2.665-.305-5.467-1.334-5.467-5.931 0-1.311.469-2.381 1.236-3.221-.124-.303-.535-1.524.117-3.176 0 0 1.008-.322 3.301 1.23.957-.266 1.983-.399 3.003-.404 1.02.005 2.047.138 3.006.404 2.291-1.552 3.297-1.23 3.297-1.23.653 1.653.242 2.874.118 3.176.77.84 1.235 1.911 1.235 3.221 0 4.609-2.807 5.624-5.479 5.921.43.372.823 1.102.823 2.222v3.293c0 .319.192.694.801.576 4.765-1.589 8.199-6.086 8.199-11.386 0-6.627-5.373-12-12-12z"/>
<path d="M5.583 7.229c-2.464-0.005-5.755 1.557-5.573 5.479 0.281 6.125 6.557 6.693 9.068 6.745 0.271 1.146 3.224 5.109 5.411 5.318h9.573c5.74-0.38 10.036-17.365 6.854-17.427-5.271 0.25-8.396 0.375-11.073 0.396v5.297l-0.839-0.365-0.005-4.932c-3.073 0-5.781-0.141-10.917-0.396-0.646-0.005-1.542-0.115-2.5-0.115zM5.927 9.396h0.297c0.349 3.141 0.917 4.974 2.068 7.781-2.938-0.349-5.432-1.198-5.891-4.38-0.24-1.646 0.563-3.365 3.526-3.401zM17.339 12.479c0.198 0.005 0.406 0.042 0.594 0.13l1 0.432-0.714 1.302c-0.109 0-0.219 0.016-0.323 0.052-0.464 0.151-0.708 0.604-0.542 1.021 0.036 0.083 0.089 0.161 0.151 0.229l-1.234 2.25c-0.099 0-0.203 0.016-0.297 0.052-0.464 0.146-0.708 0.604-0.542 1.016 0.172 0.417 0.682 0.63 1.151 0.479 0.464-0.146 0.703-0.604 0.536-1.021-0.047-0.109-0.115-0.208-0.208-0.292l1.203-2.188c0.13 0.010 0.26 0 0.391-0.042 0.104-0.031 0.198-0.083 0.281-0.151 0.464 0.198 0.844 0.354 1.12 0.49 0.406 0.203 0.552 0.339 0.599 0.49 0.042 0.146-0.005 0.427-0.24 0.922-0.172 0.37-0.458 0.896-0.797 1.51-0.115 0-0.229 0.016-0.333 0.052-0.469 0.151-0.708 0.604-0.542 1.021 0.167 0.411 0.682 0.625 1.146 0.479 0.469-0.151 0.708-0.604 0.542-1.021-0.042-0.099-0.104-0.193-0.182-0.271 0.333-0.609 0.62-1.135 0.807-1.526 0.25-0.536 0.38-0.938 0.266-1.323s-0.469-0.635-0.932-0.865c-0.307-0.151-0.693-0.313-1.146-0.505 0.005-0.109-0.010-0.214-0.052-0.318s-0.109-0.198-0.193-0.281l0.703-1.281 3.901 1.682c0.703 0.307 0.995 1.057 0.651 1.682l-2.682 4.906c-0.339 0.625-1.182 0.885-1.885 0.578l-5.516-2.38c-0.703-0.307-0.995-1.057-0.656-1.682l2.682-4.906c0.234-0.432 0.708-0.688 1.208-0.708h0.083z"/>
</svg>
break;
case IconType.LinkedIn:

View File

@@ -2,7 +2,7 @@ namespace BlazorApp.Components.Icons;
public enum IconType
{
Github,
Gitea,
LinkedIn,
Email,
Code,

View File

@@ -3,8 +3,8 @@
<div class="social-icons-container">
<a href="https://github.com/bdfin"
class="social-icon-link">
<span class="sr-only">GitHub</span>
<Icon Type="IconType.Github"/>
<span class="sr-only">Gitea</span>
<Icon Type="IconType.Gitea"/>
</a>
<a href="https://www.linkedin.com/in/beau-findlay/"
class="social-icon-link">

View File

@@ -7,8 +7,8 @@
Below is an overview of how this simple app is made and what
technologies are used. If you'd like to dive straight in, the full
project is available on my
<AnchorLink Href="https://github.com/bdfin/my-portfolio">
GitHub
<AnchorLink Href="https://git.beaufindlay.com/beau/my-portfolio">
Gitea
</AnchorLink>.
</Text>
@@ -53,23 +53,23 @@
preferred a server to work with there wasn't many free options.
</Text>
<Text>
I've always been a bit of a networking/homelab/server nerd so as soon as Cloudflare announced their
I've always been a bit of a networking/home-lab/server nerd so as soon as Cloudflare announced their
<AnchorLink Href="https://developers.cloudflare.com/cloudflare-one/networks/connectors/cloudflare-tunnel/">
Tunnels
</AnchorLink>
feature I decided to revisit this site, rebuild in a server-side technology and host it myself on a tiny,
low-power
<AnchorLink Href="https://www.raspberrypi.com/">RaspberryPi</AnchorLink>
computer running a headless linux operating system.
</Text>
<Text>
I setup the RaspberryPi with
feature I decided to revisit this site, rebuild in a server-side technology and host it myself on server I setup at home running a headless linux server operating system. I configured the server with
<AnchorLink Href="https://www.docker.com/">Docker</AnchorLink>
and
<AnchorLink Href="https://docs.docker.com/compose/">Docker Compose</AnchorLink>, built a Docker container for the .NET app to run from, copied it to my server and created a docker-compose.yml
file to run it with the
<AnchorLink Href="https://hub.docker.com/r/cloudflare/cloudflared">Cloudflare Tunnel</AnchorLink>
docker image.
<AnchorLink Href="https://docs.docker.com/compose/">Docker Compose</AnchorLink>, built a Docker container for the .NET app to run from, copied it to my server and created a <code>docker-compose.yml</code>
file to run it with the Cloudflare Tunnel
<AnchorLink Href="https://hub.docker.com/r/cloudflare/cloudflared">Docker image</AnchorLink>.
</Text>
<Text>
After ensuring the app was working correctly I decided to migrate the code repo from GitHub to a locally hosted
<AnchorLink Href="https://about.gitea.com/">Gitea</AnchorLink>
instance running on the same server. I also setup a self-hosted runner and created a
<AnchorLink Href="https://git.beaufindlay.com/beau/my-portfolio/src/branch/main/.gitea/workflows/deploy.yml">build and deploy workflow</AnchorLink>
that creates a new docker image, copies it to the app server, runs the <code>docker-compose.yml</code> file and busts the Cloudflare cache to ensure a clean deployment when new changes are pushed to the main branch.
</Text>
</section>

View File

@@ -437,7 +437,7 @@ body:has(.menu-toggle:checked) {
align-items: center;
justify-content: center;
gap: var(--space-2);
border: 1px solid var(--color-slate-700);
border: 1px solid var(--color-white);
background-color: var(--color-black);
padding: 0.625rem 0.875rem;
margin-top: var(--space-2);
@@ -594,3 +594,16 @@ body:has(.menu-toggle:checked) {
#tab3:checked ~ .tab-panels #panel3 {
display: block;
}
pre, code {
font-family: var(--font-mono), monospace;
}
code {
font-size: 0.9em;
padding: 0.125rem 0.375rem;
background-color: rgba(15, 23, 42, 0.8);
border: 1px solid rgba(100, 116, 139, 0.3);
border-radius: var(--radius-base);
color: var(--color-slate-50);
}

View File

@@ -0,0 +1,2 @@
User-agent: *
Allow: /