Compare commits

..

30 commits

Author SHA1 Message Date
1bd27f31d9
fix: uppgrade 2026-02-24 13:36:02 -05:00
1eb38badc0
remove corniness 2026-02-24 11:54:15 -05:00
91274e2851
feat: migrate to vercel 2026-02-18 09:15:36 -05:00
Barrett Ruth
72847b3dad
feat(index): include IMC position now solidified (#64) 2026-02-09 18:37:38 -05:00
Barrett Ruth
1c66cfbd31
Merge pull request #63 from barrettruth/fix/reorder
fix: reorder trb above visa
2026-02-01 14:14:09 -05:00
d3d602da9a fix: reorder trb above visa 2026-02-01 14:13:07 -05:00
Barrett Ruth
c6602c572d
Merge pull request #62 from barrettruth/feat/font
fix(style): not apercu
2026-01-30 16:24:22 -05:00
ddb33e6d03 fix(style): not apercu 2026-01-30 16:23:56 -05:00
Barrett Ruth
3a1d7ee551
Merge pull request #61 from barrettruth/feat/font
use berkeley mono, not apercu mono
2026-01-30 16:23:31 -05:00
b200724902 feat(fonts): use apercu mono for monospace 2026-01-30 16:21:54 -05:00
Barrett Ruth
237a2033c2
Merge pull request #60 from barrettruth/fix/ci
fix(ci): provide nev var
2026-01-22 12:52:19 -06:00
Barrett Ruth
eb0512ac33
Merge branch 'main' into fix/ci 2026-01-22 12:51:30 -06:00
51726950ac fix(ci): provide nev var 2026-01-22 13:50:20 -05:00
Barrett Ruth
7dca435d3a
Merge pull request #59 from barrettruth/fix/ci
fix
2026-01-22 12:42:42 -06:00
6fab791fac fix 2026-01-22 13:42:26 -05:00
Barrett Ruth
ba1ef850a6
Merge pull request #58 from barrettruth/fix/ci
fix ci
2026-01-22 08:31:50 -06:00
b29c120ef8 fix(ci): name the workflows 2026-01-22 09:30:57 -05:00
a9f8a3dcb2 fiox 2026-01-22 09:30:18 -05:00
30bca2f8ba actual fix 2026-01-22 09:29:40 -05:00
c356742f19 fix ci 2026-01-22 09:24:10 -05:00
Barrett Ruth
743fc99a1c
Merge pull request #57 from barrettruth/fix/ci
fix(ci): only deploy on ci success
2026-01-22 08:19:37 -06:00
be47d05e04 fix(ci): only deploy on ci success 2026-01-22 09:16:21 -05:00
Barrett Ruth
b26eba3a18
Merge pull request #56 from barrettruth/fix
fix typo
2026-01-22 08:12:59 -06:00
7b05495f01 fix typo 2026-01-22 09:09:59 -05:00
Barrett Ruth
762845c322
Merge pull request #55 from barrettruth/feat/about
feat(about): include codeforces in profile
2026-01-21 09:40:23 -06:00
9bc94a9c08 feat(about): include codeforces in profile 2026-01-21 09:38:46 -06:00
Barrett Ruth
66a42f788f
Merge pull request #54 from barrettruth/fix-readme
remove about page
2026-01-20 13:36:18 -06:00
0d66f4182d fix(about): remove 2026-01-20 14:35:16 -05:00
0e9e10ba36 remove new 2026-01-15 18:35:22 -05:00
Barrett Ruth
d4ab0afb24
Merge pull request #53 from barrettruth/feat/ci-check-debug
debug
2026-01-15 17:35:02 -06:00
20 changed files with 1202 additions and 691 deletions

View file

@ -1,48 +0,0 @@
name: Deploy to AWS S3
on:
push:
branches: [main]
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup PNPM
uses: pnpm/action-setup@v2
with:
version: 8
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 18
cache: "pnpm"
- name: Install dependencies
run: pnpm install
- name: Build site
run: pnpm build
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v2
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: us-east-2
- name: Deploy static site to S3 bucket
run: |
chmod +x scripts/deploy.sh
scripts/deploy.sh
- name: Invalidate CloudFront cache
env:
AWS_CLOUDFRONT_DISTRIBUTION_ID: ${{ secrets.AWS_CLOUDFRONT_DISTRIBUTION_ID }}
run: |
chmod +x scripts/invalidate.sh
scripts/invalidate.sh

View file

@ -1,36 +1,18 @@
name: CI
name: ci
on:
pull_request:
branches: [main]
push:
branches: [main]
jobs:
lint:
ci:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup PNPM
uses: pnpm/action-setup@v4
- name: Setup Node
uses: actions/setup-node@v4
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
node-version: 20
cache: "pnpm"
- name: Install dependencies
run: pnpm install
- name: Prettier check
run: pnpm prettier --check .
- name: Astro check
run: pnpm astro check
- name: Build
run: pnpm build
- run: pnpm install
- run: pnpm prettier --check .
- run: pnpm astro check
- run: pnpm build

1
.gitignore vendored
View file

@ -19,3 +19,4 @@ pnpm-debug.log*
.gitignore
.claude/
.vercel/

View file

@ -1,5 +1,6 @@
import { defineConfig } from "astro/config";
import mdx from "@astrojs/mdx";
import vercel from "@astrojs/vercel";
import rehypeExternalLinks from "rehype-external-links";
import rehypeKatex from "rehype-katex";
import remarkMath from "remark-math";
@ -37,6 +38,8 @@ const daylight = {
};
export default defineConfig({
output: "static",
adapter: vercel(),
build: {
format: "file",
},

0
new
View file

View file

@ -1,5 +1,5 @@
{
"name": "barrettruth.com",
"name": "barrettruth.sh",
"type": "module",
"version": "0.0.1",
"scripts": {
@ -18,17 +18,18 @@
},
"dependencies": {
"@astrojs/mdx": "^4.3.13",
"astro": "^5.16.9",
"@astrojs/vercel": "^9.0.4",
"astro": "^5.17.3",
"rehype-external-links": "^3.0.0",
"rehype-katex": "^7.0.1",
"remark-math": "^6.0.0"
},
"devDependencies": {
"@astrojs/check": "^0.9.6",
"@typescript-eslint/parser": "^8.53.0",
"@typescript-eslint/parser": "^8.56.1",
"husky": "^9.1.7",
"lint-staged": "^16.2.7",
"prettier": "^3.8.0",
"prettier": "^3.8.1",
"prettier-plugin-astro": "^0.14.1",
"typescript": "^5.9.3"
},

1691
pnpm-lock.yaml generated

File diff suppressed because it is too large Load diff

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View file

@ -111,34 +111,35 @@
}
@font-face {
font-family: "Apercu Mono";
src: url("/fonts/apercu-mono/ApercuMonoProLight.ttf") format("truetype");
font-weight: 300;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: "Apercu Mono";
src: url("/fonts/apercu-mono/ApercuMonoProRegular.ttf") format("truetype");
font-family: "Berkeley Mono";
src: url("/fonts/berkeley-mono/BerkeleyMono-Regular.ttf") format("truetype");
font-weight: 400;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: "Apercu Mono";
src: url("/fonts/apercu-mono/ApercuMonoProMedium.ttf") format("truetype");
font-weight: 500;
font-family: "Berkeley Mono";
src: url("/fonts/berkeley-mono/BerkeleyMono-Bold.ttf") format("truetype");
font-weight: 700;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: "Apercu Mono";
src: url("/fonts/apercu-mono/ApercuMonoProBold.ttf") format("truetype");
font-family: "Berkeley Mono";
src: url("/fonts/berkeley-mono/BerkeleyMono-Italic.ttf") format("truetype");
font-weight: 400;
font-style: italic;
font-display: swap;
}
@font-face {
font-family: "Berkeley Mono";
src: url("/fonts/berkeley-mono/BerkeleyMono-BoldItalic.ttf")
format("truetype");
font-weight: 700;
font-style: normal;
font-style: italic;
font-display: swap;
}
@ -147,7 +148,7 @@ code,
pre code,
.astro-code,
code[class*="language-"] {
font-family: "Apercu Mono", monospace !important;
font-family: "Berkeley Mono", monospace !important;
}
@media (prefers-color-scheme: dark) {

View file

@ -1,3 +0,0 @@
#!/bin/sh
aws s3 sync ./dist/ s3://barrettruth.com --delete

View file

@ -1,8 +0,0 @@
#!/bin/sh
if [ -z "$AWS_CLOUDFRONT_DISTRIBUTION_ID" ]; then
echo 'No cloudfront distribution id found.'
exit 1
fi
aws cloudfront create-invalidation --distribution-id "$AWS_CLOUDFRONT_DISTRIBUTION_ID" --paths "/*"

View file

@ -1,40 +0,0 @@
---
import BaseLayout from "../layouts/BaseLayout.astro";
---
<BaseLayout title="Barrett Ruth">
<div>
<header>
<h1>Barrett Ruth</h1>
</header>
<article>
<p>
I am a software developer studying computer science at the University of
Virginia.
</p>
<p>
I began working as a software engineer part-time with
<a target="blank" href="https://gotransverse.com/">GoTransverse</a>
in high school. After developing an interest in the financial/venture capital
world, I transitioned to
<a target="blank" href="https://www.nthventure.com/">Nth Venture</a>
in the spring of my second year. I worked at
<a target="blank" href="https://usa.visa.com/">VISA</a> and
<a href="https://trbcap.com" target="_blank">TRB Capital Management</a>
during the summer of 2024. Luckily enough, I'll be joining
<a href="https://drw.com" target="_blank">DRW</a> and
<a href="https://ramp.com" target="_blank">Ramp</a> in the summer and spring
of 2025.
</p>
<p>
I've a developing interest in high-performance computing, quantitative
finance, and open-source software. I am also a passionate contributor to
the (Neo)Vim ecosystem and beyond.
</p>
<p>
You can see my related contributions on
<a target="blank" href="https://github.com/barrettruth">GitHub</a>.
</p>
</article>
</div>
</BaseLayout>

View file

@ -18,20 +18,23 @@ import BaseLayout from "../layouts/BaseLayout.astro";
<div>
<h2>experience</h2>
<ul>
<li>
<a target="_blank" href="https://imc.com">imc</a>&mdash;july 2026
</li>
<li>
<a target="_blank" href="https://ramp.com">ramp</a>&mdash;fall 2025
</li>
<li>
<a target="_blank" href="https://drw.com">drw</a>&mdash;summer 2025
</li>
<li>
<a target="_blank" href="https://usa.visa.com">visa</a>&mdash;summer
2024
</li>
<li>
<a target="_blank" href="https://trbcap.com">trb capital</a
>&mdash;summer 2024
</li>
<li>
<a target="_blank" href="https://usa.visa.com">visa</a>&mdash;summer
2024
</li>
<li>
<a target="_blank" href="https://www.nthventure.com">nth venture</a
>&mdash;spring 2023
@ -45,9 +48,6 @@ import BaseLayout from "../layouts/BaseLayout.astro";
<div>
<h2>ideas</h2>
<ul>
<li>there are none yet</li>
</ul>
</div>
<div>
@ -57,6 +57,11 @@ import BaseLayout from "../layouts/BaseLayout.astro";
<li>
<a target="_blank" href="https://github.com/barrettruth">github</a>
</li>
<li>
<a target="_blank" href="https://codeforces.com/profile/barrettruth"
>codeforces</a
>
</li>
</ul>
</div>