From 7858d95f5889ae78d9e3447ceed616232f738e45 Mon Sep 17 00:00:00 2001 From: Corwin Perren Date: Wed, 12 Nov 2025 01:21:48 -0800 Subject: [PATCH] Reformatted the project --- .gitea/disabled_workflows/playwright.yml | 32 ++-- .gitea/workflows/build-production.yaml | 2 +- README.md | 49 +----- src/assets/logo-title.svg | 151 ------------------ src/interfaces/experience-metadata.ts | 3 +- ...avionics-test-engineering-internship.astro | 20 ++- .../spacex/hardware-test-engineer-i-ii.astro | 8 +- .../hobby/homelab/offsite-backup-rack.astro | 3 +- src/pages/hobby/motorcycling/lineup.astro | 13 +- src/pages/robots.txt.ts | 4 +- tsconfig.json | 34 ++-- 11 files changed, 78 insertions(+), 241 deletions(-) delete mode 100644 src/assets/logo-title.svg diff --git a/.gitea/disabled_workflows/playwright.yml b/.gitea/disabled_workflows/playwright.yml index 3eb1314..f09eb5f 100644 --- a/.gitea/disabled_workflows/playwright.yml +++ b/.gitea/disabled_workflows/playwright.yml @@ -9,19 +9,19 @@ jobs: timeout-minutes: 60 runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 - - uses: actions/setup-node@v4 - with: - node-version: lts/* - - name: Install dependencies - run: npm ci - - name: Install Playwright Browsers - run: npx playwright install --with-deps - - name: Run Playwright tests - run: npx playwright test - - uses: actions/upload-artifact@v4 - if: ${{ !cancelled() }} - with: - name: playwright-report - path: playwright-report/ - retention-days: 30 + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 + with: + node-version: lts/* + - name: Install dependencies + run: npm ci + - name: Install Playwright Browsers + run: npx playwright install --with-deps + - name: Run Playwright tests + run: npx playwright test + - uses: actions/upload-artifact@v4 + if: ${{ !cancelled() }} + with: + name: playwright-report + path: playwright-report/ + retention-days: 30 diff --git a/.gitea/workflows/build-production.yaml b/.gitea/workflows/build-production.yaml index d7cc748..6a5813e 100644 --- a/.gitea/workflows/build-production.yaml +++ b/.gitea/workflows/build-production.yaml @@ -1,7 +1,7 @@ name: Build and Test - Production on: push: - branches: [main] + branches: [ main ] jobs: test: diff --git a/README.md b/README.md index ff19a3e..3260d70 100644 --- a/README.md +++ b/README.md @@ -1,48 +1,3 @@ -# Astro Starter Kit: Basics +# Corwin Perren's Personal Portfolio Website -```sh -npm create astro@latest -- --template basics -``` - -[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/withastro/astro/tree/latest/examples/basics) -[![Open with CodeSandbox](https://assets.codesandbox.io/github/button-edit-lime.svg)](https://codesandbox.io/p/sandbox/github/withastro/astro/tree/latest/examples/basics) -[![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/withastro/astro?devcontainer_path=.devcontainer/basics/devcontainer.json) - -> πŸ§‘β€πŸš€ **Seasoned astronaut?** Delete this file. Have fun! - -![just-the-basics](https://github.com/withastro/astro/assets/2244813/a0a5533c-a856-4198-8470-2d67b1d7c554) - -## πŸš€ Project Structure - -Inside of your Astro project, you'll see the following folders and files: - -```text -/ -β”œβ”€β”€ public/ -β”‚ └── favicon.svg -β”œβ”€β”€ src/ -β”‚ β”œβ”€β”€ layouts/ -β”‚ β”‚ └── Layout.astro -β”‚ └── pages/ -β”‚ └── index.astro -└── package.json -``` - -To learn more about the folder structure of an Astro project, refer to [our guide on project structure](https://docs.astro.build/en/basics/project-structure/). - -## 🧞 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? - -Feel free to check [our documentation](https://docs.astro.build) or jump into our [Discord server](https://astro.build/chat). +Check the Makfile and/or package.json for the commands needed to build and run this project. \ No newline at end of file diff --git a/src/assets/logo-title.svg b/src/assets/logo-title.svg deleted file mode 100644 index 6341632..0000000 --- a/src/assets/logo-title.svg +++ /dev/null @@ -1,151 +0,0 @@ - - - - - - - - - - - - image/svg+xml - - - - - - - Perren - - - C - A - P - CorwinΒ  - - diff --git a/src/interfaces/experience-metadata.ts b/src/interfaces/experience-metadata.ts index d74934f..99b3013 100644 --- a/src/interfaces/experience-metadata.ts +++ b/src/interfaces/experience-metadata.ts @@ -1,9 +1,10 @@ -import { DateTime } from 'luxon'; +import {DateTime} from 'luxon'; export interface experience { } + export interface subExperience { name: string; description: string; diff --git a/src/pages/experience/spacex/avionics-test-engineering-internship.astro b/src/pages/experience/spacex/avionics-test-engineering-internship.astro index 442ba4c..7cce966 100644 --- a/src/pages/experience/spacex/avionics-test-engineering-internship.astro +++ b/src/pages/experience/spacex/avionics-test-engineering-internship.astro @@ -3,7 +3,8 @@ import ExperienceLayout from '@layouts/ExperienceLayout.astro'; import Timeline from '@components/Timeline/Timeline.astro'; import Carousel from "@components/CustomCarousel/CustomCarousel.astro"; -import spring_2019_interns from "@assets/experience/spacex/avionics-test-engineering-internship/spring-2019-interns.jpg"; +import spring_2019_interns + from "@assets/experience/spacex/avionics-test-engineering-internship/spring-2019-interns.jpg"; import type {carouselGroup} from "@interfaces/image-carousel.ts"; import type {timelineEntry} from "@interfaces/timeline.ts"; @@ -58,9 +59,20 @@ const timeline: timelineEntry[] = [

Details

+ Though I did get to work on some really fun projects during my internship at SpaceX, I unfortunately can’t go into + much detail due to NDA’s and ITAR restrictions. What I can say is that I mainly wrote Python for a new avionics + hardware test system. My experience with writing Python in the numerous other projects I’ve done really helped me + out here, as the framework SpaceX has created was quite complex and would otherwise have been fairly difficult to + write code for. I also wrote a simple tool for automating the creation of Jira work tickets so that the two teams + that ended up using it wouldn’t have to have their members manually creating dozens of them as work and issues came + in through a separate system. - Though I did get to work on some really fun projects during my internship at SpaceX, I unfortunately can’t go into much detail due to NDA’s and ITAR restrictions. What I can say is that I mainly wrote Python for a new avionics hardware test system. My experience with writing Python in the numerous other projects I’ve done really helped me out here, as the framework SpaceX has created was quite complex and would otherwise have been fairly difficult to write code for. I also wrote a simple tool for automating the creation of Jira work tickets so that the two teams that ended up using it wouldn’t have to have their members manually creating dozens of them as work and issues came in through a separate system. - - I was also quite happy in that I got to perform some circuit debugging on avionics test system hardware, both for my project and for a separate test system. A final experience I had here was getting to work directly with the head engineer from a company that supplied a piece of test hardware I was interfacing with. It was quite incredible to see just how much weight a SpaceX email address had when trying to solve problems I had found with the hardware. Not only were they responsive, but in fact were willing to fast-track firmware updates for us to get things working. Coming from clubs and small labs where a support email might not even get a response for months, it was quite a refreshing experience. + I was also quite happy in that I got to perform some circuit debugging on avionics test system hardware, both for my + project and for a separate test system. A final experience I had here was getting to work directly with the head + engineer from a company that supplied a piece of test hardware I was interfacing with. It was quite incredible to + see just how much weight a SpaceX email address had when trying to solve problems I had found with the hardware. Not + only were they responsive, but in fact were willing to fast-track firmware updates for us to get things working. + Coming from clubs and small labs where a support email might not even get a response for months, it was quite a + refreshing experience. \ No newline at end of file diff --git a/src/pages/experience/spacex/hardware-test-engineer-i-ii.astro b/src/pages/experience/spacex/hardware-test-engineer-i-ii.astro index 376cc24..dbfd7e2 100644 --- a/src/pages/experience/spacex/hardware-test-engineer-i-ii.astro +++ b/src/pages/experience/spacex/hardware-test-engineer-i-ii.astro @@ -52,8 +52,12 @@ const timeline: timelineEntry[] = [

Key Takeaways

Skills Used

diff --git a/src/pages/hobby/homelab/offsite-backup-rack.astro b/src/pages/hobby/homelab/offsite-backup-rack.astro index 22e711b..6a866b8 100644 --- a/src/pages/hobby/homelab/offsite-backup-rack.astro +++ b/src/pages/hobby/homelab/offsite-backup-rack.astro @@ -12,7 +12,8 @@ import enclosure_right from "@assets/hobby/homelab/offsite-backup-rack/enclosure import enclosure_with_ups from "@assets/hobby/homelab/offsite-backup-rack/enclosure-with-ups.jpg"; import power_adapter_tray_and_dc_dc from "@assets/hobby/homelab/offsite-backup-rack/power-adapter-tray-and-dc-dc.jpg"; import power_supply_closeup from "@assets/hobby/homelab/offsite-backup-rack/power-supply-closeup.jpg"; -import power_supply_mounting_location from "@assets/hobby/homelab/offsite-backup-rack/power-supply-mounting-location.jpg"; +import power_supply_mounting_location + from "@assets/hobby/homelab/offsite-backup-rack/power-supply-mounting-location.jpg"; import sata_tight_fit from "@assets/hobby/homelab/offsite-backup-rack/sata-tight-fit.jpg"; import sff_pc_with_sata_and_usb_ssds from "@assets/hobby/homelab/offsite-backup-rack/sff-pc-with-sata-and-usb-ssds.jpg"; import up_and_running from "@assets/hobby/homelab/offsite-backup-rack/up-and-running.png"; diff --git a/src/pages/hobby/motorcycling/lineup.astro b/src/pages/hobby/motorcycling/lineup.astro index aaf0f7e..0004042 100644 --- a/src/pages/hobby/motorcycling/lineup.astro +++ b/src/pages/hobby/motorcycling/lineup.astro @@ -12,13 +12,12 @@ import fjr1300 from "@assets/hobby/motorcycling/lineup/2015-fjr-1300-mountaintop import sg400 from "@assets/hobby/motorcycling/lineup/2021-csc-sg400.jpg"; -const fjrCarouselGroup: carouselGroup = {animation: "slide",images: [fjr1300]} -const cscCarouselGroup: carouselGroup = {animation: "slide",images: [sg400]} -const drzCarouselGroup: carouselGroup = {animation: "slide",images: [drz400]} -const concoursCarouselGroup: carouselGroup = {animation: "slide",images: [concours]} -const ninjaCarouselGroup: carouselGroup = {animation: "slide",images: [ninja600]} -const kz750CarouselGroup: carouselGroup = {animation: "slide",images: [kz750]} - +const fjrCarouselGroup: carouselGroup = {animation: "slide", images: [fjr1300]} +const cscCarouselGroup: carouselGroup = {animation: "slide", images: [sg400]} +const drzCarouselGroup: carouselGroup = {animation: "slide", images: [drz400]} +const concoursCarouselGroup: carouselGroup = {animation: "slide", images: [concours]} +const ninjaCarouselGroup: carouselGroup = {animation: "slide", images: [ninja600]} +const kz750CarouselGroup: carouselGroup = {animation: "slide", images: [kz750]} --- diff --git a/src/pages/robots.txt.ts b/src/pages/robots.txt.ts index 8dab24e..a784af9 100644 --- a/src/pages/robots.txt.ts +++ b/src/pages/robots.txt.ts @@ -1,4 +1,4 @@ -import type { APIRoute } from 'astro'; +import type {APIRoute} from 'astro'; const getRobotsTxt = (sitemapURL: URL) => `\ User-agent: * @@ -7,7 +7,7 @@ Allow: / Sitemap: ${sitemapURL.href} `; -export const GET: APIRoute = ({ site }) => { +export const GET: APIRoute = ({site}) => { const sitemapURL = new URL('sitemap-index.xml', site); return new Response(getRobotsTxt(sitemapURL)); }; \ No newline at end of file diff --git a/tsconfig.json b/tsconfig.json index 8441b7c..20d500b 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,16 +1,32 @@ { "compilerOptions": { "paths": { - "@assets/*": ["./src/assets/*"], - "@components/*": ["./src/components/*"], - "@data/*": ["./src/data/*"], - "@interfaces/*": ["./src/interfaces/*"], - "@layouts/*": ["./src/layouts/*"], - "@styles/*": ["./src/styles/*"] - + "@assets/*": [ + "./src/assets/*" + ], + "@components/*": [ + "./src/components/*" + ], + "@data/*": [ + "./src/data/*" + ], + "@interfaces/*": [ + "./src/interfaces/*" + ], + "@layouts/*": [ + "./src/layouts/*" + ], + "@styles/*": [ + "./src/styles/*" + ] } }, "extends": "astro/tsconfigs/strict", - "include": [".astro/types.d.ts", "**/*"], - "exclude": ["dist"] + "include": [ + ".astro/types.d.ts", + "**/*" + ], + "exclude": [ + "dist" + ] }