mirror of
https://github.com/prdlk/website.git
synced 2026-08-02 17:31:41 +00:00
docs: update README to reflect changes from Cloudflare Stream to YouTube player
This commit is contained in:
@@ -30,7 +30,7 @@ This repo is my personal website at [www.pradnukala.com](https://www.pradnukala.
|
|||||||
| **Projects** | `/projects` | Things I've built, with links to live sites and source. |
|
| **Projects** | `/projects` | Things I've built, with links to live sites and source. |
|
||||||
| **Experience** | `/experience` | Resume-style roles, which also act as a taxonomy (see below). |
|
| **Experience** | `/experience` | Resume-style roles, which also act as a taxonomy (see below). |
|
||||||
| **Writing** | `/writing` | Essays, notes, and articles. |
|
| **Writing** | `/writing` | Essays, notes, and articles. |
|
||||||
| **Speaking** | `/speaking` | Talks, with an embedded [Cloudflare Stream](https://developers.cloudflare.com/stream/) player and a link to the original recording. |
|
| **Speaking** | `/speaking` | Talks, with an embedded YouTube player. |
|
||||||
|
|
||||||
### Experience as a taxonomy
|
### Experience as a taxonomy
|
||||||
|
|
||||||
@@ -41,7 +41,7 @@ Experience entries are the connective tissue of the site. Projects, writing, and
|
|||||||
- [Astro](https://astro.build) v6 (static output, no adapter required)
|
- [Astro](https://astro.build) v6 (static output, no adapter required)
|
||||||
- [Tailwind CSS](https://tailwindcss.com) v4
|
- [Tailwind CSS](https://tailwindcss.com) v4
|
||||||
- [Content Collections](https://docs.astro.build/en/guides/content-collections/) with type-checked frontmatter (`src/content.config.ts`)
|
- [Content Collections](https://docs.astro.build/en/guides/content-collections/) with type-checked frontmatter (`src/content.config.ts`)
|
||||||
- [Cloudflare Stream](https://developers.cloudflare.com/stream/) for speaking videos
|
- Embedded YouTube players for speaking videos
|
||||||
- [Satori](https://github.com/vercel/satori) OG images, [Pagefind](https://pagefind.app/) search, RSS, sitemap, and `Person` JSON-LD on the homepage for SEO
|
- [Satori](https://github.com/vercel/satori) OG images, [Pagefind](https://pagefind.app/) search, RSS, sitemap, and `Person` JSON-LD on the homepage for SEO
|
||||||
- Dark / light mode, accessible semantic markup
|
- Dark / light mode, accessible semantic markup
|
||||||
|
|
||||||
@@ -125,8 +125,7 @@ It appears in `/writing`, RSS, and the `/skills` taxonomy, links straight to the
|
|||||||
| `title` | ✓ | Max 60 chars. |
|
| `title` | ✓ | Max 60 chars. |
|
||||||
| `description` | ✓ | Meta description. |
|
| `description` | ✓ | Meta description. |
|
||||||
| `publishDate` | ✓ | Date. |
|
| `publishDate` | ✓ | Date. |
|
||||||
| `videoId` | ✓ | Cloudflare Stream video UID. |
|
| `youtubeId` | ✓ | YouTube video ID (the `v=` value). |
|
||||||
| `originalSource` | | Link to the original (e.g. YouTube) recording. |
|
|
||||||
| `event` | | Conference / event name. |
|
| `event` | | Conference / event name. |
|
||||||
| `tags` | | String array. |
|
| `tags` | | String array. |
|
||||||
| `experiences` | | Array of experience ids. |
|
| `experiences` | | Array of experience ids. |
|
||||||
@@ -137,8 +136,7 @@ It appears in `/writing`, RSS, and the `/skills` taxonomy, links straight to the
|
|||||||
Most site-wide settings live in **`src/site.config.ts`**:
|
Most site-wide settings live in **`src/site.config.ts`**:
|
||||||
|
|
||||||
- `siteConfig` — title, author, description, `url` (used for canonical URLs and OG tags), locale.
|
- `siteConfig` — title, author, description, `url` (used for canonical URLs and OG tags), locale.
|
||||||
- `socialLinks` — GitHub / X / LinkedIn / email, shown in the footer and homepage intro.
|
- `socialLinks` — GitHub / X / LinkedIn / Medium / Discord / Telegram / email, shown in the footer and homepage intro.
|
||||||
- `streamOrigin` — the Cloudflare Stream origin (your `customer-<code>.cloudflarestream.com` subdomain or a Worker/custom domain). The speaking player loads `${streamOrigin}/<videoId>/iframe`.
|
|
||||||
- `menuLinks` — header/footer navigation.
|
- `menuLinks` — header/footer navigation.
|
||||||
|
|
||||||
Replace `public/avatar.png` (header logo) and `public/social-card.png` (default OG image) with your own.
|
Replace `public/avatar.png` (header logo) and `public/social-card.png` (default OG image) with your own.
|
||||||
|
|||||||
Reference in New Issue
Block a user