Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
15 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 14 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,19 @@ jobs:
run: pnpm test:unit run

e2e:
timeout-minutes: 60
# Playwright 1.60 can't install browsers on ubuntu-latest (26.04) yet.
name: e2e (${{ matrix.project }})
timeout-minutes: 30
runs-on: ubuntu-24.04
# The browsers and their system libraries come with the image, so nothing
# is installed from apt on each run. Keep the tag on the exact
# @playwright/test version in pnpm-lock.yaml.
container:
image: mcr.microsoft.com/playwright:v1.60.0-noble
options: --user 1001
strategy:
fail-fast: false
matrix:
project: [chromium, firefox, webkit]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
Expand All @@ -77,17 +87,15 @@ jobs:
${{ runner.os }}-pnpm-store-
- name: Install dependencies
run: pnpm install
- name: Install Playwright Browsers
run: pnpm exec playwright install --with-deps
- name: Run Playwright tests
run: pnpm exec playwright test
run: pnpm exec playwright test --project=${{ matrix.project }}
env:
ASTRO_DB_REMOTE_URL: ${{ secrets.ASTRO_DB_REMOTE_URL }}
ASTRO_DB_APP_TOKEN: ${{ secrets.ASTRO_DB_APP_TOKEN }}
- uses: actions/upload-artifact@v4
if: always()
with:
name: playwright-report
name: playwright-report-${{ matrix.project }}
path: playwright-report/
retention-days: 30

Expand Down
2 changes: 1 addition & 1 deletion packages/starpod/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
"./db/schema": "./src/db/schema.ts",
"./layout": "./src/layouts/Layout.astro",
"./components/AdPackageCard": "./src/components/AdPackageCard.astro",
"./components/PageHeader": "./src/components/PageHeader.astro",
"./rss": "./src/lib/rss.ts",
"./src/*": "./src/*"
},
Expand All @@ -45,7 +46,6 @@
"@vercel/speed-insights": "^1.3.1",
"anchored-auto-layout": "^1.0.0",
"astro-seo-schema": "^5.2.0",
"atropos": "^2.0.2",
"drizzle-orm": "^0.45.2",
"hls.js": "1.6.15",
"html-to-text": "^9.0.5",
Expand Down
Binary file removed packages/starpod/src/assets/avatar-dark.png
Binary file not shown.
Binary file removed packages/starpod/src/assets/avatar-light.png
Binary file not shown.
1,117 changes: 0 additions & 1,117 deletions packages/starpod/src/assets/dots-dark.svg

This file was deleted.

1,116 changes: 0 additions & 1,116 deletions packages/starpod/src/assets/dots-light.svg

This file was deleted.

25 changes: 0 additions & 25 deletions packages/starpod/src/assets/forward-icon.svg

This file was deleted.

26 changes: 0 additions & 26 deletions packages/starpod/src/assets/mute-icon.svg

This file was deleted.

25 changes: 0 additions & 25 deletions packages/starpod/src/assets/rewind-icon.svg

This file was deleted.

3 changes: 0 additions & 3 deletions packages/starpod/src/assets/rocket-dark.svg

This file was deleted.

3 changes: 0 additions & 3 deletions packages/starpod/src/assets/rocket-light.svg

This file was deleted.

24 changes: 0 additions & 24 deletions packages/starpod/src/assets/unmute-icon.svg

This file was deleted.

16 changes: 8 additions & 8 deletions packages/starpod/src/components/AdPackageCard.astro
Original file line number Diff line number Diff line change
Expand Up @@ -8,38 +8,38 @@ export interface Props {
const { bullets, heading, price } = Astro.props;
---

<div class="dark:bg-dark-background relative z-10 mb-6 rounded-lg bg-white p-1">
<div class="bg-surface relative z-10 mb-6 rounded-(--r-card) p-1">
<h2
class="bg-light-card text-light-text-heading dark:bg-dark-card px-5 py-4 font-bold lg:py-6 dark:text-white"
class="bg-raised text-ink rounded-(--r-tray) px-5 py-4 font-bold lg:py-6"
>
{heading}
</h2>

<ul class="list-disc px-8">
<ul class="list-disc px-5 sm:px-8">
{
bullets.map((bullet) => {
return <li class="dark:border-dark-border border-b py-6">{bullet}</li>;
return <li class="border-line border-b py-6">{bullet}</li>;
})
}

<h3
class="text-light-text-heading mt-8 mb-12 px-5 text-4xl font-bold tabular-nums dark:text-white"
class="text-ink mt-8 mb-12 text-4xl font-bold tabular-nums sm:px-5"
>
{price}
<span
class="text-light-text-body dark:text-dark-text-body text-3xl font-light"
class="text-text text-3xl font-light"
>
/
</span>
<span class="text-light-text-body dark:text-dark-text-body text-2xl">
<span class="text-text text-2xl">
per episode
</span>
</h3>

<div class="flex w-full">
<a class="btn mb-8 w-full justify-center" href="/contact">
<span
class="text-light-text-heading rounded-full px-8 py-3 text-center text-sm dark:text-white"
class="text-ink rounded-full px-8 py-3 text-center text-sm"
>
Become a sponsor
</span>
Expand Down
60 changes: 29 additions & 31 deletions packages/starpod/src/components/Breadcrumbs.astro
Original file line number Diff line number Diff line change
Expand Up @@ -42,42 +42,40 @@ const breadcrumbSchema = {

<Schema item={breadcrumbSchema as any} />

<nav class="flex" aria-label="Breadcrumb">
<ol role="list" class="flex items-center space-x-4 text-sm">
<nav aria-label="Breadcrumb">
<ol role="list" class="m-0 flex list-none flex-wrap items-center gap-x-2 gap-y-1 p-0">
{
crumbs.map((crumb, index) => (
<li>
{index === 0 ? (
<div>
<a href={crumb.href} class="text-gray-400 hover:text-gray-500">
{crumb.name}
</a>
</div>
) : (
<div class="flex items-center">
crumbs.map((crumb, index) => {
const current = index === crumbs.length - 1;
return (
<li class="flex min-w-0 items-center gap-2">
{index > 0 && (
<svg
class="h-4 w-4 shrink-0 text-gray-400"
viewBox="0 0 20 20"
fill="currentColor"
aria-hidden="true"
class="text-line-strong size-3.5 shrink-0"
fill="none"
stroke="currentColor"
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
viewBox="0 0 16 16"
>
<path
fill-rule="evenodd"
d="M7.21 14.77a.75.75 0 01.02-1.06L11.168 10 7.23 6.29a.75.75 0 111.04-1.08l4.5 4.25a.75.75 0 010 1.08l-4.5 4.25a.75.75 0 01-1.06-.02z"
clip-rule="evenodd"
/>
<path d="m6 3.5 4.5 4.5L6 12.5" />
</svg>
<a
href={crumb.href}
class="ml-4 line-clamp-1 font-medium text-gray-500 hover:text-gray-700"
aria-current={index === crumbs.length - 1 ? 'page' : undefined}
>
{crumb.name}
</a>
</div>
)}
</li>
))
)}
<a
aria-current={current ? 'page' : undefined}
class:list={[
'line-clamp-1 no-underline transition-colors duration-200 hover:text-ink',
current ? 'text-text font-medium' : 'text-muted'
]}
href={crumb.href}
>
{crumb.name}
</a>
</li>
);
})
}
</ol>
</nav>
Loading
Loading