chore: hide store banner

This commit is contained in:
2025-04-30 10:45:12 +01:00
parent 5f56889bf8
commit becc8ea065

View File

@ -2,17 +2,17 @@ import { useStreamsFeed } from "@/hooks/live-streams";
import CategoryLink from "@/element/category/category-link"; import CategoryLink from "@/element/category/category-link";
import VideoGridSorted from "@/element/video-grid-sorted"; import VideoGridSorted from "@/element/video-grid-sorted";
import { AllCategories } from "./category"; import { AllCategories } from "./category";
import { FormattedMessage } from "react-intl"; //import { FormattedMessage } from "react-intl";
import { Link } from "react-router-dom"; //import { Link } from "react-router-dom";
import useImgProxy from "@/hooks/img-proxy"; //import useImgProxy from "@/hooks/img-proxy";
export function RootPage() { export function RootPage() {
const streams = useStreamsFeed(); const streams = useStreamsFeed();
const { proxy } = useImgProxy(); //const { proxy } = useImgProxy();
const shirtSize = 120; //const shirtSize = 120;
return ( return (
<div className="flex flex-col gap-6 p-4 min-w-0"> <div className="flex flex-col gap-6 p-4 min-w-0">
<div className="flex max-md:flex-col gap-2 items-center bg-layer-2 p-4 text-lg font-medium text-pretty"> {/*<div className="flex max-md:flex-col gap-2 items-center bg-layer-2 p-4 text-lg font-medium text-pretty">
<img <img
width={shirtSize} width={shirtSize}
className="rounded-xl" className="rounded-xl"
@ -32,7 +32,7 @@ export function RootPage() {
), ),
}} }}
/> />
</div> </div>*/}
<div className="min-w-0 overflow-x-scroll scrollbar-hidden"> <div className="min-w-0 overflow-x-scroll scrollbar-hidden">
<div className="flex gap-4 "> <div className="flex gap-4 ">
{AllCategories.filter(a => a.priority === 0).map(a => ( {AllCategories.filter(a => a.priority === 0).map(a => (