website-content-updates #7

Open
caperren wants to merge 23 commits from website-content-updates into main
25 changed files with 44 additions and 34 deletions
Showing only changes of commit ee76972667 - Show all commits

View File

@@ -26,4 +26,8 @@ COPY --from=build /app/dist /usr/share/nginx/html
RUN chown -R nginx:nginx /usr/share/nginx/html
EXPOSE 80
COPY entrypoint.sh /entrypoint.sh
EXPOSE 80
ENTRYPOINT ["/entrypoint.sh"]

14
entrypoint.sh Executable file
View File

@@ -0,0 +1,14 @@
#!/usr/bin/env sh
set -e
# Generate a unique token per container launch
TOKEN="$(cat /proc/sys/kernel/random/uuid)" # or: TOKEN="$(date +%s%N)"
# Write it into a file NGINX will include
cat >/etc/nginx/conf.d/_release_token.conf <<EOF
# auto-generated at container start
set \$release_token "$TOKEN";
EOF
# Then exec nginx
exec nginx -g 'daemon off;'

View File

@@ -12,6 +12,12 @@ http {
root /usr/share/nginx/html;
index index.html index.htm;
include /etc/nginx/mime.types;
include /etc/nginx/conf.d/_release_token.conf;
etag off;
add_header ETag "\"W/$release_token\"" always;
add_header Cache-Control "max-age=0, must-revalidate" always;
gzip on;
gzip_min_length 1000;

View File

@@ -1,13 +0,0 @@
---
import BaseLayout from '../layouts/BaseLayout.astro';
---
<BaseLayout>
<div>Email:
<a href="mailto:caperren@caperren.com">caperren@caperren.com</a>
</div>
<div>
Phone:
<a href="tel:360-298-4396">360-298-4396</a>
</div>
</BaseLayout>

View File

@@ -2,5 +2,5 @@
import ExperienceLayout from "@layouts/ExperienceLayout.astro";
---
<ExperienceLayout>
<ExperienceLayout title="CEOAS - LeConte Glacier Deployments">
</ExperienceLayout>

View File

@@ -2,5 +2,5 @@
import ExperienceLayout from "@layouts/ExperienceLayout.astro";
---
<ExperienceLayout>
<ExperienceLayout title="CEOAS - Robotic Oceanographic Surface Sampler">
</ExperienceLayout>

View File

@@ -2,5 +2,5 @@
import ExperienceLayout from "@layouts/ExperienceLayout.astro";
---
<ExperienceLayout>
<ExperienceLayout title="OSURC - Officer">
</ExperienceLayout>

View File

@@ -2,5 +2,5 @@
import ExperienceLayout from "@layouts/ExperienceLayout.astro";
---
<ExperienceLayout>
<ExperienceLayout title="OSURC - Electrical Team Lead">
</ExperienceLayout>

View File

@@ -2,5 +2,5 @@
import ExperienceLayout from "@layouts/ExperienceLayout.astro";
---
<ExperienceLayout>
<ExperienceLayout title="OSURC - Emergency Software Team Lead">
</ExperienceLayout>

View File

@@ -2,5 +2,5 @@
import ExperienceLayout from "@layouts/ExperienceLayout.astro";
---
<ExperienceLayout>
<ExperienceLayout title="OSURC - Software Team Lead">
</ExperienceLayout>

View File

@@ -2,5 +2,5 @@
import ExperienceLayout from "@layouts/ExperienceLayout.astro";
---
<ExperienceLayout>
<ExperienceLayout title="SARL - Dechorionator">
</ExperienceLayout>

View File

@@ -2,5 +2,5 @@
import ExperienceLayout from "@layouts/ExperienceLayout.astro";
---
<ExperienceLayout>
<ExperienceLayout title="SARL - Denso Embryo Pick and Plate">
</ExperienceLayout>

View File

@@ -2,5 +2,5 @@
import ExperienceLayout from "@layouts/ExperienceLayout.astro";
---
<ExperienceLayout>
<ExperienceLayout title="SARL - Shuttlebox Behavior System">
</ExperienceLayout>

View File

@@ -2,5 +2,5 @@
import ExperienceLayout from "@layouts/ExperienceLayout.astro";
---
<ExperienceLayout>
<ExperienceLayout title="SARL - Team Lead">
</ExperienceLayout>

View File

@@ -2,5 +2,5 @@
import ExperienceLayout from "@layouts/ExperienceLayout.astro";
---
<ExperienceLayout>
<ExperienceLayout title="SARL - Zebrafish Embryo Pick and Plate">
</ExperienceLayout>

View File

@@ -2,5 +2,5 @@
import ExperienceLayout from "@layouts/ExperienceLayout.astro";
---
<ExperienceLayout>
<ExperienceLayout title="SARL - ZScan Processor">
</ExperienceLayout>

View File

@@ -27,7 +27,6 @@ const timeline: timelineEntry[] = [
];
---
<ExperienceLayout title="SpaceX - Avionics Test Engineering Internship">
<!-- FIXME: Image bounds are all messed up -->
<Carousel carouselGroup={headerCarouselGroup}/>
<h2 class="font-bold md:text-2xl my-4">Summary</h2>

View File

@@ -2,5 +2,5 @@
import HobbyLayout from "@layouts/HobbyLayout.astro";
---
<HobbyLayout>
<HobbyLayout title="Homelab - Home Automation">
</HobbyLayout>

View File

@@ -22,7 +22,7 @@ const headerCarouselGroup: carouselGroup = {
}
---
<HobbyLayout title="Home Server Rack">
<HobbyLayout title="Homelab - Home Server Rack">
<Carousel carouselGroup={headerCarouselGroup}/>
<!--<h2 class="font-bold md:text-2xl my-4">Prior Homelab</h2>-->

View File

@@ -16,7 +16,7 @@ const headerCarouselGroup: carouselGroup = {
}
---
<HobbyLayout title="Kubernetes Cluster">
<HobbyLayout title="Homelab - Kubernetes Cluster">
<Carousel carouselGroup={headerCarouselGroup}/>
<!--<h2 class="font-bold md:text-2xl my-4">Prior Homelab</h2>-->

View File

@@ -38,7 +38,7 @@ const headerCarouselGroup: carouselGroup = {
}
---
<HobbyLayout title="Offsite Backup Rack">
<HobbyLayout title="Homelab - Offsite Backup Rack">
<Carousel carouselGroup={headerCarouselGroup}/>
<!--<h2 class="font-bold md:text-2xl my-4">Prior Homelab</h2>-->

View File

@@ -30,6 +30,6 @@ const headerCarouselGroup: carouselGroup = {
}
---
<HobbyLayout title="Chubby Buttons 2 Mount">
<HobbyLayout title="Motorcycling - Chubby Buttons 2 Mount">
<Carousel carouselGroup={headerCarouselGroup}/>
</HobbyLayout>

View File

@@ -2,5 +2,5 @@
import HobbyLayout from "@layouts/HobbyLayout.astro";
---
<HobbyLayout>
<HobbyLayout title="Motorcycling - Lineup">
</HobbyLayout>

View File

@@ -2,5 +2,5 @@
import HobbyLayout from "@layouts/HobbyLayout.astro";
---
<HobbyLayout>
<HobbyLayout title="NixOS">
</HobbyLayout>