The weeb for the next gen discord boat - Wamellow wamellow.com
bot discord
3
fork

Configure Feed

Select the types of activity you want to include in your feed.

add /debug page

Luna 6257323c c25aacfc

+56
+44
app/(home)/debug/page.tsx
··· 1 + import { cookies } from "next/headers"; 2 + 3 + import Box from "@/components/box"; 4 + import { Shiggy } from "@/components/inputs/shiggy"; 5 + 6 + export default function Home() { 7 + const cookieStore = cookies(); 8 + 9 + if (cookieStore.get("devTools")?.value !== "true") { 10 + return ( 11 + <Box 12 + className="relative mb-64 mt-12" 13 + small 14 + > 15 + <div> 16 + <h1 className="text-2xl font-medium text-neutral-100">You need to enable dev tools to view this page</h1> 17 + <p>Enable lunar tools in your browser to view this page</p> 18 + </div> 19 + <Shiggy className="absolute right-4 bottom-0 h-52" /> 20 + </Box> 21 + ); 22 + } 23 + 24 + return ( 25 + <div className="flex gap-4"> 26 + 27 + <div className="w-full"> 28 + {cookieStore.getAll().map((cookie) => ( 29 + <div 30 + className="mb-4" 31 + key={cookie.name} 32 + > 33 + <h3 className="text-lg font-medium text-neutral-100">{cookie.name}</h3> 34 + <p className={cookie.name === "session" ? "blur hover:blur-0 transition duration-50" : ""}> 35 + {cookie.value} 36 + </p> 37 + </div> 38 + ))} 39 + </div> 40 + 41 + <Shiggy className="mt-auto h-52" /> 42 + </div> 43 + ); 44 + }
+12
components/inputs/shiggy.tsx
··· 1 + export function Shiggy(props: React.ComponentProps<"video">) { 2 + return ( 3 + <video 4 + autoPlay 5 + loop 6 + muted 7 + {...props} 8 + > 9 + <source src="/shiggy.webm" type="video/webm" /> 10 + </video> 11 + ); 12 + }