feat: shirt banner
This commit is contained in:
parent
498d177550
commit
6457fe14a0
@ -882,6 +882,9 @@
|
||||
"uksRSi": {
|
||||
"defaultMessage": "Latest Videos"
|
||||
},
|
||||
"vP4dFa": {
|
||||
"defaultMessage": "Visit {link} to get some sweet zap.stream merch!"
|
||||
},
|
||||
"vrTOHJ": {
|
||||
"defaultMessage": "{amount} sats"
|
||||
},
|
||||
|
@ -2,12 +2,36 @@ import { useStreamsFeed } from "@/hooks/live-streams";
|
||||
import CategoryLink from "@/element/category/category-link";
|
||||
import VideoGridSorted from "@/element/video-grid-sorted";
|
||||
import { AllCategories } from "./category";
|
||||
import { FormattedMessage } from "react-intl";
|
||||
import { Link } from "react-router-dom";
|
||||
import useImgProxy from "@/hooks/img-proxy";
|
||||
|
||||
export function RootPage() {
|
||||
const streams = useStreamsFeed();
|
||||
const { proxy } = useImgProxy();
|
||||
|
||||
return (
|
||||
<div className="flex flex-col gap-6 p-4">
|
||||
<div className="flex max-md:flex-col gap-2 items-center bg-layer-2 p-4 text-lg font-medium text-pretty">
|
||||
<img
|
||||
width={40}
|
||||
src={proxy(
|
||||
"https://blossom.nogood.studio/f98bc742ba24b2c729420148d736c3c0f58e6551d7dc0e4bd263d78bf2ab58b8.png",
|
||||
40,
|
||||
"f98bc742ba24b2c729420148d736c3c0f58e6551d7dc0e4bd263d78bf2ab58b8",
|
||||
)}
|
||||
/>
|
||||
<FormattedMessage
|
||||
defaultMessage="Visit {link} to get some sweet zap.stream merch!"
|
||||
values={{
|
||||
link: (
|
||||
<Link to="https://store.zap.stream" className="underline" target="_blank">
|
||||
store.zap.stream
|
||||
</Link>
|
||||
),
|
||||
}}
|
||||
/>
|
||||
</div>
|
||||
<div className="min-w-0 w-[calc(100dvw-2rem)] overflow-x-scroll scrollbar-hidden">
|
||||
<div className="flex gap-4 ">
|
||||
{AllCategories.filter(a => a.priority === 0).map(a => (
|
||||
|
@ -290,6 +290,7 @@
|
||||
"uTonxS": "Avatar upload fialed",
|
||||
"uYw2LD": "Stream",
|
||||
"uksRSi": "Latest Videos",
|
||||
"vP4dFa": "Visit {link} to get some sweet zap.stream merch!",
|
||||
"vrTOHJ": "{amount} sats",
|
||||
"w+2Vw7": "Shorts",
|
||||
"w0Xm2F": "Start typing",
|
||||
|
Loading…
x
Reference in New Issue
Block a user