PageSourceSearch

https://drawcast.xyz/_next/static/chunks/283-8f602f9cc2097568.js?dpl=dpl_8ErUQAv36skCRE3RFRPSToiwTCHR

js drawcast.xyz collected 2026-10-07 21:51:59 UTC 22,688 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[283],{47790:()=>{},95311:(e,s,t)=>{"use strict";t.d(s,{A:()=>n});var a=t(95155),l=t(12115),r=t(15239);let n=()=>{let[e,s]=(0,l.useState)(!0);(0,l.useEffect)(()=>{let e=setTimeout(()=>{s(!1)},300);return()=>clearTimeout(e)},[]);let t=["https://firebasestorage.googleapis.com/v0/b/drawcast-ae4cf.firebasestorage.app/o/screenshots%2FDrawcast%20-%20draw.png?alt=media&token=a64cc13e-3e82-423f-b855-4c614e371bd4","https://firebasestorage.googleapis.com/v0/b/drawcast-ae4cf.firebasestorage.app/o/screenshots%2FDrawcast%20-%20guess.png?alt=media&token=96e560ea-c0ba-46b5-94d7-da8a77949f9d","https://firebasestorage.googleapis.com/v0/b/drawcast-ae4cf.firebasestorage.app/o/screenshots%2FDrawcast%20-%20win.png?alt=media&token=afcad7da-5314-4ee4-9464-f71bb7c850fc"],[n,i]=(0,l.useState)(0);return e?(0,a.jsx)("div",{className:"min-h-screen bg-[#f9f7f0] flex items-center justify-center",children:(0,a.jsx)("div",{className:"text-center",children:(0,a.jsx)("div",{className:"text-xl text-gray-600",children:"Loading..."})})}):(0,a.jsxs)("div",{className:"min-h-screen bg-[#f9f7f0] relative overflow-hidden",children:[(0,a.jsxs)("div",{className:"relative z-10 flex flex-col lg:flex-row items-center justify-center min-h-screen p-4 lg:p-8",children:[(0,a.jsx)("div",{className:"w-full lg:w-1/2 flex justify-center lg:justify-end mb-8 lg:mb-0 lg:pr-8",children:(0,a.jsx)("div",{className:"relative",children:(0,a.jsx)(r.default,{src:"/landingimg.png",alt:"Drawcast App Screenshot",width:500,height:700,className:"object-contain",style:{maxWidth:"500px",maxHeight:"700px"},priority:!0,quality:100,unoptimized:!0})})}),(0,a.jsx)("div",{className:"w-full lg:w-1/2 flex flex-col items-center lg:items-start lg:pl-8",children:(0,a.jsxs)("div",{className:"text-center lg:text-left max-w-md",children:[(0,a.jsxs)("div",{className:"flex items-center justify-center lg:justify-start gap-4 mb-6",children:[(0,a.jsx)("div",{className:"w-16 h-16 rounded-2xl flex items-center justify-center shadow-lg transform rotate-3 overflow-hidden",children:(0,a.jsx)(r.default,{src:"/icon.png",alt:"Drawcast",width:64,height:64,className:"object-cover w-full h-full",priority:!0})}),(0,a.jsxs)("div",{children:[(0,a.jsx)("h1",{className:"text-4xl font-bold text-gray-800 mb-1",children:"Drawcast"}),(0,a.jsxs)("p",{className:"text-gray-600",children:["Built by ",(0,a.jsx)("a",{href:"https://farcaster.xyz/tamastorok.eth",target:"_blank",rel:"noopener noreferrer",className:"text-purple-600 hover:text-purple-700 underline",children:"@tamastorok.eth"})]})]})]}),(0,a.jsx)("p",{className:"text-lg text-gray-700 mb-8 leading-relaxed",children:"Chaotic 30-second drawing game. Draw, guess, and have fun with friends! Earn rewards and prizes!"}),(0,a.jsxs)("div",{className:"mt-12 grid grid-cols-1 sm:grid-cols-2 gap-4 text-sm mb-12",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)("span",{className:"text-2xl",children:"\uD83C\uDFA8"}),(0,a.jsx)("span",{className:"text-gray-700",children:"Draw prompts in 30 seconds"})]}),(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)("span",{className:"text-2xl",children:"\uD83E\uDD14"}),(0,a.jsx)("span",{className:"text-gray-700",children:"Guess drawings"})]}),(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)("span",{className:"text-2xl",children:"\uD83C\uDFC6"}),(0,a.jsx)("span",{className:"text-gray-700",children:"Climb the leaderboard and win prizes"})]})]}),(0,a.jsx)("div",{className:"flex flex-col sm:flex-row gap-4 justify-center lg:justify-start",children:(0,a.jsxs)("button",{onClick:()=>{window.open("https://farcaster.xyz/~/mini-apps/launch?url=https%3A%2F%2Fdrawcast.xyz","_blank")},className:"bg-[#8A63D2] hover:bg-[#8A63D2] text-white px-8 py-4 rounded-lg font-semibold transition-colors flex items-center justify-center gap-2 shadow-lg transform hover:scale-105 transition-transform",children:[(0,a.jsx)(r.default,{src:"/farcaster-icon.png",alt:"Farcaster",width:20,height:20,className:"w-5 h-5"}),(0,a.jsx)("span",{children:"Play on Farcaster"})]})}),(0,a.jsx)("p",{className:"text-gray-600 text-sm mt-4",children:"DRAW token contract address (on Base):"}),(0,a.jsx)("p",{className:"text-gray-600 text-sm",children:"0x0016f2238eC72AcAcA1696a8D1634825F8213B07"}),(0,a.jsxs)("p",{className:"text-gray-600 text-sm mt-4",children:["Read more about the token ",(0,a.jsx)("a",{href:"https://paragraph.com/@drawcast/announcing-draw",target:"_blank",rel:"noopener noreferrer",className:"text-blue-600 hover:text-blue-800 underline cursor-pointer",children:"here."})]})]})})]}),(0,a.jsx)("section",{className:"relative z-10 px-4 py-12 sm:py-16 md:py-20",children:(0,a.jsxs)("div",{className:"mx-auto w-full max-w-6xl",children:[(0,a.jsx)("h2",{className:"text-2xl sm:text-3xl md:text-4xl font-bold text-gray-900 text-center",children:"\uD83C\uDF0D Community & Impact"}),(0,a.jsx)("p",{className:"text-gray-600 text-center mt-3 sm:mt-4 max-w-3xl mx-auto",children:"The Drawcast community is growing fast — proving that fun, creativity, and onchain can go hand in hand."}),(0,a.jsx)("div",{className:"mt-8 sm:mt-10",children:(0,a.jsxs)("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-4 sm:gap-6 md:gap-8",children:[(0,a.jsxs)("div",{className:"bg-white/70 backdrop-blur-sm border border-gray-200 rounded-xl p-5 sm:p-6 md:p-8 text-center",children:[(0,a.jsx)("div",{className:"text-2xl sm:text-3xl",children:"\uD83E\uDDD1‍\uD83C\uDFA8"}),(0,a.jsx)("div",{className:"mt-2 text-2xl sm:text-3xl font-bold text-gray-900",children:"9,000+"}),(0,a.jsx)("div",{className:"text-gray-700 mt-1",children:"Players"})]}),(0,a.jsxs)("div",{className:"bg-white/70 backdrop-blur-sm border border-gray-200 rounded-xl p-5 sm:p-6 md:p-8 text-center",children:[(0,a.jsx)("div",{className:"text-2xl sm:text-3xl",children:"\uD83D\uDD8C️"}),(0,a.jsx)("div",{className:"mt-2 text-2xl sm:text-3xl font-bold text-gray-900",children:"200,000+"}),(0,a.jsx)("div",{className:"text-gray-700 mt-1",children:"Drawings created"})]}),(0,a.jsxs)("div",{className:"bg-white/70 backdrop-blur-sm border border-gray-200 rounded-xl p-5 sm:p-6 md:p-8 text-center",children:[(0,a.jsx)("div",{className:"text-2xl sm:text-3xl",children:"\uD83D\uDCA1"}),(0,a.jsx)("div",{className:"mt-2 text-2xl sm:text-3xl font-bold text-gray-900",children:"900,000+"}),(0,a.jsx)("div",{className:"text-gray-700 mt-1",children:"Guesses submitted"})]}),(0,a.jsxs)("div",{className:"bg-white/70 backdrop-blur-sm border border-gray-200 rounded-xl p-5 sm:p-6 md:p-8 text-center",children:[(0,a.jsx)("div",{className:"text-2xl sm:text-3xl",children:"\uD83C\uDFC6"}),(0,a.jsx)("div",{className:"mt-2 text-2xl sm:text-3xl font-bold text-gray-900",children:"14,000,000+"}),(0,a.jsx)("div",{className:"text-gray-700 mt-1",children:"Points earned"})]})]})})]})}),(0,a.jsx)("section",{className:"relative z-10 px-4 py-10 sm:py-14 md:py-16",children:(0,a.jsx)("div",{className:"mx-auto w-full max-w-6xl",children:(0,a.jsxs)("div",{className:"bg-white/70 backdrop-blur-sm border border-gray-200 rounded-2xl p-6 sm:p-8 md:p-10 text-center",children:[(0,a.jsxs)("div",{className:"flex items-center justify-center gap-3 mb-3",children:[(0,a.jsx)("span",{className:"text-2xl sm:text-3xl",children:"\uD83C\uDFC5"}),(0,a.jsx)("h2",{className:"text-xl sm:text-2xl md:text-3xl font-bold text-gray-900",children:"Awards"})]}),(0,a.jsxs)("p",{className:"text-base sm:text-lg md:text-xl text-gray-800",children:["Drawcast won ",(0,a.jsx)("span",{className:"font-semibold",children:"Base Batches 001 Buildathlon"})," in Europe. ",(0,a.jsx)("br",{})," ",(0,a.jsx)("a",{href:"https://devfolio.co/projects/drawcast-2122",target:"_blank",rel:"noopener noreferrer",className:"text-blue-600 hover:text-blue-800 underline cursor-pointer",children:"Read more."})]})]})})}),(0,a.jsx)("section",{className:"relative z-10 px-4 py-12 sm:py-16 md:py-20",children:(0,a.jsxs)("div",{className:"mx-auto w-full max-w-6xl",children:[(0,a.jsx)("h2",{className:"text-2xl sm:text-3xl md:text-4xl font-bold text-gray-900 text-center",children:"✨ Key Features"}),(0,a.jsx)("p",{className:"text-gray-600 text-center mt-3 sm:mt-4 max-w-2xl mx-auto",children:"Jump in, draw with friends, mint your art, and level up — all in one playful, onchain canvas."}),(0,a.jsxs)("div",{className:"mt-8 sm:mt-10 grid grid-cols-1 md:grid-cols-2 gap-4 sm:gap-6 md:gap-8",children:[(0,a.jsxs)("div",{className:"bg-white/70 backdrop-blur-sm border border-gray-200 rounded-xl p-5 sm:p-6 md:p-8 shadow-sm",children:[(0,a.jsxs)("div",{className:"flex items-center gap-3 mb-3 sm:mb-4",children:[(0,a.jsx)("span",{className:"text-2xl sm:text-3xl",children:"\uD83C\uDFAD"}),(0,a.jsx)("h3",{className:"text-xl sm:text-2xl font-semibold text-gray-900",children:"Play & Create"})]}),(0,a.jsxs)("ul",{className:"space-y-2 sm:space-y-3 text-gray-700",children:[(0,a.jsx)("li",{children:"Draw fun prompts and challenge your friends."}),(0,a.jsx)("li",{children:"Guess others’ drawings and climb the leaderboard."})]})]}),(0,a.jsxs)("div",{className:"bg-white/70 backdrop-blur-sm border border-gray-200 rounded-xl p-5 sm:p-6 md:p-8 shadow-sm",children:[(0,a.jsxs)("div",{className:"flex items-center gap-3 mb-3 sm:mb-4",children:[(0,a.jsx)("span",{className:"text-2xl sm:text-3xl",children:"\uD83E\uDE99"}),(0,a.jsx)("h3",{className:"text-xl sm:text-2xl font-semibold text-gray-900",children:"Coin Your Art"})]}),(0,a.jsxs)("ul",{className:"space-y-2 sm:space-y-3 text-gray-700",children:[(0,a.jsx)("li",{children:"Mint your drawings directly on Base via Zora."}),(0,a.jsx)("li",{children:"Turn sketches into collectibles or even sellable art."})]})]}),(0,a.jsxs)("div",{className:"bg-white/70 backdrop-blur-sm border border-gray-200 rounded-xl p-5 sm:p-6 md:p-8 shadow-sm",children:[(0,a.jsxs)("div",{className:"flex items-center gap-3 mb-3 sm:mb-4",children:[(0,a.jsx)("span",{className:"text-2xl sm:text-3xl",children:"\uD83D\uDC8E"}),(0,a.jsx)("h3",{className:"text-xl sm:text-2xl font-semibold text-gray-900",children:"Unlock Premium Tools"})]}),(0,a.jsxs)("ul",{className:"space-y-2 sm:space-y-3 text-gray-700",children:[(0,a.jsx)("li",{children:"Pay fully onchain with Daimo Pay — no sign-ups, no banks."}),(0,a.jsx)("li",{children:"Access premium colors, badges and double your rewards."})]})]}),(0,a.jsxs)("div",{className:"bg-white/70 backdrop-blur-sm border border-gray-200 rounded-xl p-5 sm:p-6 md:p-8 shadow-sm",children:[(0,a.jsxs)("div",{className:"flex items-center gap-3 mb-3 sm:mb-4",children:[(0,a.jsx)("span",{className:"text-2xl sm:text-3xl",children:"\uD83D\uDCAC"}),(0,a.jsx)("h3",{className:"text-xl sm:text-2xl font-semibold text-gray-900",children:"Social & Viral"})]}),(0,a.jsxs)("ul",{className:"space-y-2 sm:space-y-3 text-gray-700",children:[(0,a.jsx)("li",{children:"Every drawing shared on Farcaster can earn tips."}),(0,a.jsx)("li",{children:"Build your audience through fun, creative moments."})]})]}),(0,a.jsxs)("div",{className:"bg-white/70 backdrop-blur-sm border border-gray-200 rounded-xl p-5 sm:p-6 md:p-8 shadow-sm md:col-span-2",children:[(0,a.jsxs)("div",{className:"flex items-center gap-3 mb-3 sm:mb-4",children:[(0,a.jsx)("span",{className:"text-2xl sm:text-3xl",children:"⚡"}),(0,a.jsx)("h3",{className:"text-xl sm:text-2xl font-semibold text-gray-900",children:"Seamless Onboarding"})]}),(0,a.jsx)("p",{className:"text-gray-700",children:"No crypto experience needed — just play and you’re already onchain."})]})]})]})}),(0,a.jsx)("section",{className:"relative z-10 px-4 py-12 sm:py-16 md:py-20",children:(0,a.jsxs)("div",{className:"mx-auto w-full max-w-6xl",children:[(0,a.jsx)("h2",{className:"text-2xl sm:text-3xl md:text-4xl font-bold text-gray-900 text-center",children:"\uD83C\uDF9E️ Gameplay Screens"}),(0,a.jsx)("p",{className:"text-gray-600 text-center mt-3 sm:mt-4 max-w-2xl mx-auto",children:"Peek at drawing, guessing, and winning moments from the game."}),(0,a.jsx)("div",{className:"mt-8 sm:mt-10",children:(0,a.jsxs)("div",{className:"relative mx-auto w-full max-w-4xl",children:[(0,a.jsx)("div",{className:"relative w-full bg-transparent roun
1ded-xl overflow-hidden h-[320px] sm:h-[400px] md:h-[500px]",children:(0,a.jsx)(r.default,{src:t[n],alt:"Drawcast screenshot ".concat(n+1),fill:!0,sizes:"(max-width: 640px) 95vw, (max-width: 1024px) 85vw, 800px",className:"object-contain",priority:0===n})}),(0,a.jsx)("button",{"aria-label":"Previous screenshot",onClick:()=>{i(e=>(e-1+t.length)%t.length)},className:"absolute left-2 top-1/2 -translate-y-1/2 bg-white/90 hover:bg-white text-gray-800 border border-gray-200 rounded-full w-10 h-10 sm:w-11 sm:h-11 flex items-center justify-center shadow-md",children:(0,a.jsx)("span",{className:"text-xl",children:"‹"})}),(0,a.jsx)("button",{"aria-label":"Next screenshot",onClick:()=>{i(e=>(e+1)%t.length)},className:"absolute right-2 top-1/2 -translate-y-1/2 bg-white/90 hover:bg-white text-gray-800 border border-gray-200 rounded-full w-10 h-10 sm:w-11 sm:h-11 flex items-center justify-center shadow-md",children:(0,a.jsx)("span",{className:"text-xl",children:"›"})}),(0,a.jsx)("div",{className:"mt-4 flex items-center justify-center gap-2",children:t.map((e,s)=>(0,a.jsx)("button",{"aria-label":"Go to screenshot ".concat(s+1),onClick:()=>i(s),className:"h-2.5 w-2.5 rounded-full ".concat(s===n?"bg-gray-800":"bg-gray-300")},s))})]})})]})}),(0,a.jsx)("section",{className:"relative z-10 px-4 py-12 sm:py-16 md:py-20 bg-white/60",children:(0,a.jsxs)("div",{className:"mx-auto w-full max-w-6xl",children:[(0,a.jsx)("h2",{className:"text-2xl sm:text-3xl md:text-4xl font-bold text-gray-900 text-center",children:"\uD83C\uDFC6 Rewards & Achievements"}),(0,a.jsx)("p",{className:"text-gray-600 text-center mt-3 sm:mt-4 max-w-2xl mx-auto",children:"Play daily, earn tips, win badges, and unlock streak-based rewards."}),(0,a.jsxs)("div",{className:"mt-8 sm:mt-10 grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-4 sm:gap-6 md:gap-8",children:[(0,a.jsxs)("div",{className:"bg-white border border-gray-200 rounded-xl p-5 sm:p-6 shadow-sm flex flex-col",children:[(0,a.jsxs)("div",{className:"flex items-center gap-3 mb-2",children:[(0,a.jsx)("span",{className:"text-2xl sm:text-3xl",children:"\uD83D\uDCB0"}),(0,a.jsx)("h3",{className:"text-lg sm:text-xl font-semibold text-gray-900",children:"Earn Tips"})]}),(0,a.jsx)("p",{className:"text-gray-700",children:"Players on Farcaster can send you tips for your best drawings."})]}),(0,a.jsxs)("div",{className:"bg-white border border-gray-200 rounded-xl p-5 sm:p-6 shadow-sm flex flex-col",children:[(0,a.jsxs)("div",{className:"flex items-center gap-3 mb-2",children:[(0,a.jsx)("span",{className:"text-2xl sm:text-3xl",children:"\uD83E\uDD47"}),(0,a.jsx)("h3",{className:"text-lg sm:text-xl font-semibold text-gray-900",children:"Climb the Leaderboard"})]}),(0,a.jsx)("p",{className:"text-gray-700",children:"Weekly competitions with badges, raffles, and prizes for top players."})]}),(0,a.jsxs)("div",{className:"bg-white border border-gray-200 rounded-xl p-5 sm:p-6 shadow-sm flex flex-col",children:[(0,a.jsxs)("div",{className:"flex items-center gap-3 mb-2",children:[(0,a.jsx)("span",{className:"text-2xl sm:text-3xl",children:"\uD83C\uDF81"}),(0,a.jsx)("h3",{className:"text-lg sm:text-xl font-semibold text-gray-900",children:"Treasure Chest"})]}),(0,a.jsx)("p",{className:"text-gray-700",children:"Daily onchain rewards — open your Treasure Chest to claim tokens and bonuses."})]}),(0,a.jsxs)("div",{className:"bg-white border border-gray-200 rounded-xl p-5 sm:p-6 shadow-sm flex flex-col",children:[(0,a.jsxs)("div",{className:"flex items-center gap-3 mb-2",children:[(0,a.jsx)("span",{className:"text-2xl sm:text-3xl",children:"\uD83D\uDD12"}),(0,a.jsx)("h3",{className:"text-lg sm:text-xl font-semibold text-gray-900",children:"Quests & Streaks"})]}),(0,a.jsx)("p",{className:"text-gray-700",children:"Complete daily quests and unlock rewards to keep your momentum going."})]})]})]})}),(0,a.jsx)("section",{className:"relative z-10 px-4 py-12 sm:py-16 md:py-20",children:(0,a.jsxs)("div",{className:"mx-auto w-full max-w-6xl",children:[(0,a.jsx)("h2",{className:"text-2xl sm:text-3xl md:text-4xl font-bold text-gray-900 text-center",children:"Team"}),(0,a.jsx)("div",{className:"mt-8 sm:mt-10 flex justify-center",children:(0,a.jsxs)("div",{className:"w-full max-w-md text-center",children:[(0,a.jsx)("div",{className:"mx-auto w-28 h-28 sm:w-32 sm:h-32 rounded-full overflow-hidden ring-4 ring-white/60 shadow-md",children:(0,a.jsx)(r.default,{src:"https://pbs.twimg.com/profile_images/1568528266478206979/oQrRhO5q_400x400.jpg",alt:"Thomas - Founder of Drawcast",width:128,height:128,className:"w-full h-full object-cover",priority:!0})}),(0,a.jsx)("h3",{className:"mt-4 text-xl sm:text-2xl font-semibold text-gray-900",children:"Thomas"}),(0,a.jsx)("p",{className:"mt-1 text-gray-700",children:"Founder of Drawcast, seri
1al builder and Base Ambassador"}),(0,a.jsxs)("div",{className:"mt-4",children:[(0,a.jsxs)("a",{href:"https://x.com/torok_tomi",target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-2 px-4 py-2 rounded-md border border-gray-300 text-gray-800 hover:bg-gray-50",children:[(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",className:"w-5 h-5",children:(0,a.jsx)("path",{d:"M18.244 2.25h3.308l-7.227 8.26L23.25 21.75h-6.594l-5.162-6.727-5.906 6.727H2.281l7.73-8.808L.75 2.25h6.75l4.66 6.155 6.084-6.155Zm-1.16 17.28h1.833L7.01 4.126H5.054l12.03 15.404Z"})}),(0,a.jsx)("span",{children:"Follow on X"})]}),(0,a.jsxs)("a",{href:"https://farcaster.xyz/tamastorok.eth",target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-2 px-4 py-2 rounded-md border border-gray-300 text-gray-800 hover:bg-gray-50 ml-2",children:[(0,a.jsx)(r.default,{src:"/farcaster-icon.png",alt:"Farcaster",width:20,height:20,className:"w-5 h-5"}),(0,a.jsx)("span",{children:"Follow on Farcaster"})]})]})]})})]})}),(0,a.jsx)("section",{className:"relative z-10 px-4 py-8 sm:py-10 md:py-12",children:(0,a.jsx)("div",{className:"mx-auto w-full max-w-6xl",children:(0,a.jsxs)("div",{className:"bg-white/70 backdrop-blur-sm border border-gray-200 rounded-xl p-5 sm:p-6 md:p-8 text-center",children:[(0,a.jsx)("h2",{className:"text-xl sm:text-2xl md:text-3xl font-bold text-gray-900 mb-2",children:"About"}),(0,a.jsx)("p",{className:"text-gray-800 text-base sm:text-lg leading-relaxed",children:"Drawcast is one of the top mini apps on Farcaster and the Base app — where art meets onchain fun. Founded in April 2025 by Tamas (Thomas) Torok, Drawcast began as a small bootstrapped project and rapidly became a vibrant onchain community."})]})})}),(0,a.jsx)("footer",{className:"relative z-10 px-4 py-10 sm:py-12 md:py-14",children:(0,a.jsxs)("div",{className:"mx-auto w-full max-w-6xl",children:[(0,a.jsxs)("div",{className:"flex flex-col sm:flex-row items-center sm:items-start justify-between gap-6 sm:gap-8",children:[(0,a.jsxs)("div",{className:"flex items-center gap-4",children:[(0,a.jsx)("div",{className:"w-12 h-12 rounded-xl overflow-hidden flex items-center justify-center",children:(0,a.jsx)(r.default,{src:"/Drawcast_logo_svg.svg",alt:"Drawcast logo",width:48,height:48,className:"object-contain",priority:!0})}),(0,a.jsxs)("div",{children:[(0,a.jsx)("h3",{className:"text-lg sm:text-xl font-semibold text-gray-900",children:"Drawcast"}),(0,a.jsx)("p",{className:"text-gray-700 text-sm sm:text-base max-w-xl",children:"Chaotic 30-second drawing game. Draw, guess, and have fun with friends! Earn rewards and prizes!"})]})]}),(0,a.jsxs)("div",{className:"flex flex-col items-center sm:items-end gap-2 sm:gap-3",children:[(0,a.jsx)("h4",{className:"text-sm sm:text-base font-semibold text-gray-900",children:"Join Us"}),(0,a.jsxs)("a",{href:"https://farcaster.xyz/~/channel/drawcast",target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-2 text-purple-700 hover:text-purple-800 underline",children:[(0,a.jsx)(r.default,{src:"/farcaster-icon.png",alt:"Farcaster",width:20,height:20}),(0,a.jsx)("span",{children:"Farcaster channel"})]}),(0,a.jsx)("a",{href:"mailto:[email protected]",className:"text-gray-700 hover:text-gray-900 underline text-sm sm:text-base",children:"[email protected]"})]})]}),(0,a.jsxs)("div",{className:"mt-6 text-center sm:text-left text-xs text-gray-500",children:["\xa9 ",new Date().getFullYear()," Drawcast. All rights reserved."]})]})})]})}},97616:(e,s,t)=>{"use strict";t.d(s,{Vh:()=>x,j$:()=>d});var a=t(95155),l=t(12115),r=t(18818),n=t(38547),i=t(95311);let c=l.createContext(void 0);function d(){let e=l.useContext(c);if(void 0===e)throw Error("useFrame must be used within a FrameProvider");return e}function x(e){let{children:s}=e,[t,d]=(0,l.useState)(),[x,m]=(0,l.useState)(!1),[o,h]=(0,l.useState)(!1),[p,g]=(0,l.useState)(!1),[u,b]=(0,l.useState)(null),[f,j]=(0,l.useState)(""),[y,w]=(0,l.useState)(""),[N,v]=(0,l.useState)(null),D=(0,l.useCallback)(async()=>{try{b(null);let e=await r.Ay.actions.addMiniApp();
1e.notificationDetails&&b(e.notificationDetails),w(e.notificationDetails?"Added, got notificaton token ".concat(e.notificationDetails.token," and url ").concat(e.notificationDetails.url):"Added, got no notification details")}catch(e){w("Error: ".concat(e))}},[]),k=(0,l.useCallback)(()=>{window.location.reload()},[]);return((0,l.useEffect)(()=>((async()=>{try{let s=await r.Ay.context;if(s&&"object"==typeof s&&Object.keys(s).length>0){var e;let t=null==(e=s.client)?void 0:e.clientFid;console.log("clientFid:",t),void 0!==t&&localStorage.setItem("clientFid",t.toString()),d(s),m(!0),r.Ay.on("frameAdded",e=>{let{notificationDetails:s}=e;g(!0),b(null!=s?s:null),j("Frame added")}),r.Ay.on("frameAddRejected",e=>{let{reason:s}=e;g(!1),j("Frame add rejected: ".concat(s))}),r.Ay.on("frameRemoved",()=>{g(!1),j("Frame removed")}),r.Ay.on("notificationsEnabled",e=>{let{notificationDetails:s}=e;b(null!=s?s:null),j("Notifications enabled")}),r.Ay.on("notificationsDisabled",()=>{b(null),j("Notifications disabled")}),r.Ay.on("primaryButtonClicked",()=>{j("Primary button clicked")});try{await r.Ay.actions.ready({disableNativeGestures:!0}),h(!0)}catch(e){console.warn("Ready action failed, but continuing:",e),h(!0)}(0,n.y)().subscribe(()=>{})}else d(void 0),m(!1)}catch(e){console.error("SDK load failed:",e),v(e instanceof Error?e.message:"Unknown error"),d(void 0),m(!1)}})(),()=>{r.Ay.removeAllListeners()}),[]),t)?(0,a.jsx)(c.Provider,{value:{isSDKLoaded:x,context:t,isReady:o,error:N,retryLoad:k,added:p,notificationDetails:u,lastEvent:f,addFrame:D,addFrameResult:y},children:s}):(0,a.jsx)(i.A,{})}}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.