Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
11 changes: 8 additions & 3 deletions app/components/Token.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { cva } from "cva";
import type { ReactNode } from "react";
import type { ReactNode, SVGProps } from "react";
import { Link } from "react-router";
import * as HeroIcons from "@heroicons/react/20/solid";
import type { Tag } from "~/lib/data";
import type { ClassProps } from "~/lib/props";

Expand All @@ -25,6 +26,10 @@ export namespace Token {

export function Token({ tag, className = undefined, target = "_blank" }: Token.Props) {
const hasLink = !!tag.link;
const Icon = hasLink && tag.icon
? (HeroIcons as Record<string, (props: SVGProps<SVGSVGElement>) => JSX.Element>)[tag.icon]
: undefined;
const icon = Icon ? <Icon aria-hidden={true} className="ml-1 inline h-4 w-4" /> : null;
return hasLink
? (
<Link
Expand All @@ -34,13 +39,13 @@ export function Token({ tag, className = undefined, target = "_blank" }: Token.P
to={tag.link!}
>
{tag.name}
{/* {icon} */}
{icon}
</Link>
)
: (
<span className={token({ className })}>
{tag.name}
{/* {icon} */}
{icon}
</span>
);
}
Expand Down
2 changes: 1 addition & 1 deletion app/content/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const recommendations = v.object({
v.object({
name: v.string(),
link: v.optional(v.pipe(v.string(), v.url())),
// icon?: JSX.Element
icon: v.optional(v.string()),
}),
),
),
Expand Down
1 change: 1 addition & 0 deletions app/content/drafts/acoustic-ish.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@ tags:
- name: Album
- name: Listen Now
link: https://open.spotify.com/album/2I8D4okVugDDq3YPvRDydA
icon: SpeakerWaveIcon
createdOn: 2025-01-28
---
1 change: 1 addition & 0 deletions app/content/drafts/alien-romulus.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ tags:
- name: Movie
- name: Watch Now
link: https://tv.apple.com/us/movie/alien-romulus/umc.cmc.p2ev2kz5funesqe6zset1oa7
icon: PlayIcon
createdOn: 2024-08-17
---

Expand Down
1 change: 1 addition & 0 deletions app/content/drafts/bad-monkey.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@ tags:
- name: TV Show
- name: Watch Now
link: https://tv.apple.com/us/show/bad-monkey/umc.cmc.2qoep59s6qukjonprttysfs8x
icon: PlayIcon
createdOn: 2024-12-30
---
1 change: 1 addition & 0 deletions app/content/drafts/challengers.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ tags:
- name: Movie
- name: Watch Now
link: https://tv.apple.com/us/movie/challengers/umc.cmc.53cuz33n4e74ixj8whccj87oc
icon: PlayIcon
createdOn: 2024-05-27
---

Expand Down
1 change: 1 addition & 0 deletions app/content/drafts/crawfish-cafe.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ tags:
- name: Houston
- name: Menu
link: https://www.crawfishcafe.com/menu
icon: DocumentTextIcon
createdOn: 2024-04-14
---

Expand Down
1 change: 1 addition & 0 deletions app/content/drafts/dick-turpin.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@ tags:
- name: TV Show
- name: Watch Now
link: https://tv.apple.com/us/show/the-completely-made-up-adventures-of-dick-turpin/umc.cmc.37r7vskzmm8hk2pfbzaxlcwzg
icon: PlayIcon
createdOn: 2024-05-27
---
1 change: 1 addition & 0 deletions app/content/drafts/el-norteno.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,6 @@ tags:
- name: Austin
- name: Menu
link: https://www.pollosasadoselnorteno.com/s/order
icon: DocumentTextIcon
createdOn: 2024-05-11
---
1 change: 1 addition & 0 deletions app/content/drafts/english-teacher.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@ tags:
- name: TV Show
- name: Watch Now
link: https://www.hulu.com/series/english-teacher-15a6a521-8c87-4140-bf68-455473e87420
icon: PlayIcon
createdOn: 2024-10-01
---
1 change: 1 addition & 0 deletions app/content/drafts/eva-longoria-searching-for-mexico.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@ tags:
- name: TV Show
- name: Watch Now
link: https://www.max.com/shows/eva-longoria-searching-for-mexico/9ea3dc54-cd41-4d97-b592-29911903c3a7
icon: PlayIcon
createdOn: 2024-10-02
---
1 change: 1 addition & 0 deletions app/content/drafts/gastronauts.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@ tags:
- name: TV Show
- name: Watch Now
link: https://www.dropout.tv/gastronauts
icon: PlayIcon
createdOn: 2024-11-08
---
1 change: 1 addition & 0 deletions app/content/drafts/lil-easy.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,6 @@ tags:
- name: Austin
- name: Menu
link: https://static1.squarespace.com/static/65f07fba2d7e4d61fb5d1a26/t/67a62d74ca8b60105972e3b8/1738943864069/Lil+Easy+Main%2C+Lunch%2C+Brunch+Menus+2.7.25_Web+.pdf
icon: DocumentTextIcon
createdOn: 2025-02-22
---
1 change: 1 addition & 0 deletions app/content/drafts/mr-mrs-smith.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@ tags:
- name: TV Show
- name: Watch Now
link: https://www.amazon.com/gp/video/detail/0GGVBZ2IQIX1FGSIINDQOQPNHI
icon: PlayIcon
createdOn: 2024-08-12
---
1 change: 1 addition & 0 deletions app/content/drafts/pedrosos-pizza.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,6 @@ tags:
- name: Austin
- name: Menu
link: https://pedrosos-pizza.square.site/
icon: DocumentTextIcon
createdOn: 2024-08-14
---
1 change: 1 addition & 0 deletions app/content/drafts/shrinking-season-2.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@ tags:
- name: TV Show
- name: Watch Now
link: https://tv.apple.com/us/show/shrinking/umc.cmc.apzybj6eqf6pzccd97kev7bs
icon: PlayIcon
createdOn: 2024-12-10
---
1 change: 1 addition & 0 deletions app/content/drafts/slow-horses.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@ tags:
- name: TV Show
- name: Watch Now
link: https://tv.apple.com/us/show/slow-horses/umc.cmc.2szz3fdt71tl1ulnbp8utgq5o
icon: PlayIcon
createdOn: 2025-01-11
---
1 change: 1 addition & 0 deletions app/content/drafts/the-americans.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@ tags:
- name: TV Show
- name: Watch Now
link: https://www.hulu.com/series/the-americans-6deba130-65fb-4816-acb1-aea5eb940f0f
icon: PlayIcon
createdOn: 2024-02-03
---
1 change: 1 addition & 0 deletions app/content/drafts/the-leftovers.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@ tags:
- name: TV Show
- name: Watch Now
link: https://www.max.com/shows/leftovers/ce812085-7871-413f-8ceb-8c423f853427
icon: PlayIcon
createdOn: 2025-01-22
---
1 change: 1 addition & 0 deletions app/content/drafts/wicked.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ tags:
- name: Movie
- name: Watch Now
link: https://tv.apple.com/us/movie/wicked/umc.cmc.2y47u72bw6uhh0g4zpgxkvatk
icon: PlayIcon
createdOn: 2024-12-07
---

Expand Down
1 change: 1 addition & 0 deletions app/content/drafts/zalat-pizza.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,6 @@ tags:
- name: Austin, Houston, DFW
- name: Menu
link: https://order.zalatpizza.com/
icon: DocumentTextIcon
createdOn: 2024-06-10
---
1 change: 1 addition & 0 deletions app/content/recommendations/barry.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ tags:
- name: TV Show
- name: Watch Now
link: https://www.max.com/shows/179bdb1c-83f8-4ab7-87ef-47ce3b566a13
icon: PlayIcon
createdOn: 2023-05-30
---

Expand Down
1 change: 1 addition & 0 deletions app/content/recommendations/blackberry.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ tags:
- name: Movie
- name: Watch Now
link: https://tv.apple.com/us/movie/blackberry/umc.cmc.3l1hmmtt33myfoyr38vfg85js
icon: PlayIcon
createdOn: 2023-05-27
---

Expand Down
1 change: 1 addition & 0 deletions app/content/recommendations/canje.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ tags:
- name: Austin
- name: Menu
link: https://canjeatx.com/menus
icon: DocumentTextIcon
createdOn: 2024-01-09
---

Expand Down
1 change: 1 addition & 0 deletions app/content/recommendations/carnitas-el-guero.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ tags:
- name: Austin
- name: Menu
link: https://carnitaselguero.com/menu/
icon: DocumentTextIcon
createdOn: 2023-06-22
---

Expand Down
1 change: 1 addition & 0 deletions app/content/recommendations/celebrants.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ tags:
- name: Album
- name: Listen Now
link: https://open.spotify.com/album/2ruZGj3O7oL91f9re3BXLq
icon: SpeakerWaveIcon
createdOn: 2023-03-20
---

Expand Down
1 change: 1 addition & 0 deletions app/content/recommendations/dave-season-3.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ tags:
- name: TV Show
- name: Watch Now
link: https://www.hulu.com/series/dave-ac3a96f0-9614-46af-b524-f59c7d281946
icon: PlayIcon
createdOn: 2023-05-31
---

Expand Down
1 change: 1 addition & 0 deletions app/content/recommendations/distant-relatives.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ tags:
- name: Austin
- name: Menu
link: https://www.distatantrelativesatx.com/menu
icon: DocumentTextIcon
createdOn: 2023-08-27
---

Expand Down
1 change: 1 addition & 0 deletions app/content/recommendations/este.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ tags:
- name: Austin
- name: Menu
link: https://www.esteatx.com/menus/
icon: DocumentTextIcon
createdOn: 2023-06-05
---

Expand Down
1 change: 1 addition & 0 deletions app/content/recommendations/fools-paradise.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ tags:
- name: Movie
- name: Watch Now
link: https://tv.apple.com/us/movie/fools-paradise/umc.cmc.36opwd4754yf5jxe23kv4bks2
icon: PlayIcon
createdOn: 2023-06-04
---

Expand Down
1 change: 1 addition & 0 deletions app/content/recommendations/foundation-season-2.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ tags:
- name: TV Show
- name: Watch Now
link: https://tv.apple.com/us/episode/the-last-empress/umc.cmc.6oblbgkeh3tb3wbebyllgqgix?showId=umc.cmc.5983fipzqbicvrve6jdfep4x3
icon: PlayIcon
createdOn: 2023-09-15
---

Expand Down
1 change: 1 addition & 0 deletions app/content/recommendations/fun-machine-the-sequel.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ tags:
- name: Album
- name: Listen Now
link: https://open.spotify.com/album/5O41WrYns4BBDOtvVx1JFM
icon: SpeakerWaveIcon
createdOn: 2022-09-30
---

Expand Down
1 change: 1 addition & 0 deletions app/content/recommendations/game-changer.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ tags:
- name: TV Show
- name: Watch Now
link: https://www.dropout.tv/game-changer
icon: PlayIcon
createdOn: 2023-12-17
---

Expand Down
1 change: 1 addition & 0 deletions app/content/recommendations/i-said-no-gifts.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ tags:
- name: Podcast
- name: Listen Now
link: https://podcasts.apple.com/us/podcast/i-said-no-gifts/id1499562159
icon: SpeakerWaveIcon
createdOn: 2023-05-25
---

Expand Down
1 change: 1 addition & 0 deletions app/content/recommendations/jury-duty.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ tags:
- name: TV Show
- name: Watch Now
link: https://www.amazon.com/Jury-Duty-Season-1/dp/B0B8JM2BBS
icon: PlayIcon
createdOn: 2023-04-30
---

Expand Down
1 change: 1 addition & 0 deletions app/content/recommendations/kevin-can-f--k-himself.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ tags:
- name: TV Show
- name: Watch Now
link: https://www.amcplus.com/pages/kevin-can-f-himself
icon: PlayIcon
createdOn: 2023-06-22
---

Expand Down
1 change: 1 addition & 0 deletions app/content/recommendations/killing-it-season-2.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ tags:
- name: TV Show
- name: Watch Now
link: https://www.peacocktv.com/watch-online/tv/killing-it/5156438808822262112/seasons/2
icon: PlayIcon
createdOn: 2023-08-19
---

Expand Down
1 change: 1 addition & 0 deletions app/content/recommendations/nixta-taqueria.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ tags:
- name: Austin
- name: Menu
link: https://nixtataqueria.com/menu
icon: DocumentTextIcon
createdOn: 2022-06-09
---

Expand Down
1 change: 1 addition & 0 deletions app/content/recommendations/party-down-season-3.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ tags:
- name: TV Show
- name: Watch Now
link: https://www.starz.com/us/en/series/party-down/season-3/68559
icon: PlayIcon
createdOn: 2023-04-07
---

Expand Down
1 change: 1 addition & 0 deletions app/content/recommendations/platonic.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ tags:
- name: TV Show
- name: Watch Now
link: https://tv.apple.com/us/show/platonic/umc.cmc.y7bc18x7co813l8i2tlsyb4l
icon: PlayIcon
createdOn: 2023-06-07
---

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ tags:
- name: Movie
- name: Watch Now
link: https://www.peacocktv.com/stream-movies/please-dont-destroy-treasure-of-foggy-mountain
icon: PlayIcon
createdOn: 2023-11-18
---

Expand Down
1 change: 1 addition & 0 deletions app/content/recommendations/poor-things.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ tags:
- name: Movie
- name: Watch Now
link: https://www.hulu.com/movie/poor-things-72867b3c-0c4e-4107-aff7-a1f876c7242f
icon: PlayIcon
createdOn: 2024-01-20
---

Expand Down
1 change: 1 addition & 0 deletions app/content/recommendations/reservation-dogs.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ tags:
- name: TV Show
- name: Watch Now
link: https://www.hulu.com/series/reservation-dogs-5a310c23-e2db-4c9f-a66c-27c2fee43d92
icon: PlayIcon
createdOn: 2023-09-27
---

Expand Down
1 change: 1 addition & 0 deletions app/content/recommendations/silo.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ tags:
- name: TV Show
- name: Watch Now
link: https://tv.apple.com/us/show/silo/umc.cmc.3yksgc857px0k0rqe5zd4jice
icon: PlayIcon
createdOn: 2023-06-18
---

Expand Down
1 change: 1 addition & 0 deletions app/content/recommendations/spider-man.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ tags:
- name: Video Game
- name: Play Now
link: https://store.steampowered.com/app/1817070/Marvels_SpiderMan_Remastered/
icon: PlayIcon
createdOn: 2022-09-10
---

Expand Down
1 change: 1 addition & 0 deletions app/content/recommendations/the-always-sunny-podcast.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ tags:
- name: Podcast
- name: Listen Now
link: https://podcasts.apple.com/us/podcast/rob-almost-fights-some-guy-outside-a-hamburger-store/id1594627983?i=1000547394247
icon: SpeakerWaveIcon
createdOn: 2022-01-10
---

Expand Down
1 change: 1 addition & 0 deletions app/content/recommendations/the-bear-season-2.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ tags:
- name: TV Show
- name: Watch Now
link: https://www.hulu.com/series/the-bear-05eb6a8e-90ed-4947-8c0b-e6536cbddd5f
icon: PlayIcon
createdOn: 2023-07-01
---

Expand Down
1 change: 1 addition & 0 deletions app/content/recommendations/the-big-door-prize.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ tags:
- name: TV Show
- name: Watch Now
link: https://tv.apple.com/us/show/the-big-door-prize/umc.cmc.2rjxcljdjz4h47vjdxnytcn23
icon: PlayIcon
createdOn: 2023-06-11
---

Expand Down
Loading