diff --git a/.github/workflows/url-check.yml b/.github/workflows/url-check.yml
deleted file mode 100644
index 4371065..0000000
--- a/.github/workflows/url-check.yml
+++ /dev/null
@@ -1,38 +0,0 @@
-name: URL Checks
-on:
- push:
- branches: ["main"]
- pull_request:
- branches: ["main"]
-
-jobs:
- get_urls:
- name: Load URLs
- runs-on: ubuntu-latest
- outputs:
- matrix: ${{ steps.json.outputs.value }}
- steps:
- - uses: actions/checkout@v3
- - name: get specified property
- id: load_urls
- uses: ActionsTools/read-json-action@main
- with:
- file_path: "src/data/links.json"
- prop_path: "linkData"
- - id: json
- run: |
- echo "linkData=toJson(steps.load_urls.outputs.value)" >> $GITHUB_OUTPUT
-
- check:
- name: Check URLs
- runs-on: ubuntu-latest
- needs: [get_urls]
- strategy:
- matrix:
- value: ${{ fromJson(needs.get_urls.outputs.matrix) }}
- steps:
- - name: URL Health Check
- uses: Jtalk/url-health-check-action@v3.1
- with:
- url: ${{matrix.value}}
- follow-redirect: true
diff --git a/package.json b/package.json
index 5d38f61..e8ad9f7 100644
--- a/package.json
+++ b/package.json
@@ -7,8 +7,8 @@
"node": ">=18.14.1"
},
"scripts": {
- "dev": "astro dev",
- "start": "astro dev",
+ "dev": "astro dev --host",
+ "start": "astro dev --host",
"build": "astro build",
"preview": "astro preview",
"check": "astro check",
diff --git a/public/images/trident-logo.jpeg b/public/images/trident-logo.jpeg
deleted file mode 100644
index 9424462..0000000
Binary files a/public/images/trident-logo.jpeg and /dev/null differ
diff --git a/scripts/checkUrls.sh b/scripts/checkUrls.sh
new file mode 100644
index 0000000..c51bba3
--- /dev/null
+++ b/scripts/checkUrls.sh
@@ -0,0 +1,27 @@
+#!/bin/bash
+
+# Define an array of your JSON files
+files=("projects" "links")
+acceptable_codes=(200 301 302 000 999)
+failed=false
+
+# Loop through each file
+for file in "${files[@]}"
+do
+ echo "Processing $file..."
+ # Extract URLs and loop through each
+ jq -r ".${file}[] | .url" "./src/data/${file}.json" | while read -r url; do
+ # Prepend http if not present
+ [[ "$url" != http* ]] && url="https:$url"
+ # Perform health check
+ http_status=$(curl -o /dev/null -s -w "%{http_code}\n" "$url")
+ if [[ "${acceptable_codes[@]}" =~ "$http_status" ]]; then
+ echo "URL check passed: $url"
+ else
+ echo "URL check failed: $url with status $http_status"
+ failed=true
+ fi
+ done
+done
+
+if [ $failed ]; then exit 1; fi
\ No newline at end of file
diff --git a/src/components/About.astro b/src/components/About.astro
index 8aaad5c..71ff5a6 100644
--- a/src/components/About.astro
+++ b/src/components/About.astro
@@ -1,20 +1,25 @@
---
+
---
- I'm a software engineer from New England, now living in Boulder, CO. I
- currently work with Mathematica Policy Research
+ I'm a software engineer from New England, now living in Boulder, CO. I
+ currently work with Mathematica Policy Research
on their infrastructure and data platforms.
I'm also working towards a master's degree in Media and Public Engagement at CU Boulder, where I focus on cooperatives, worker ownership,
- governance, and enterprise design.
+ > at CU Boulder, where I focus on cooperatives, worker ownership, governance,
+ and enterprise design.
- I'm passionate about systems that enable and encourage collaboration, transparency, equity, and autonomy.
+ I'm passionate about systems that enable and encourage collaboration,
+ transparency, equity, and autonomy.