Pablo

@pablo69420

Building magical money tools

615 following225 followers

Latest casts

Pablo@pablo69420·
Reply

https://template.gaias.xyz/farcaster

Pablo@pablo69420·

This Next.js template empowers you to rapidly build exceptional Farcaster Mini Apps or Progressive Web Apps (PWAs). Available in two convenient variations, Farcaster-integrated and pure PWA, it equips you with a minimal yet robust setup that ensures your app is instantly installable. Navigation is seamless, safe areas are managed perfectly, and your app content fits neatly between top and bottom navigation bars, delivering an experience as polished as any native application. Beyond convenience, our template is also about community. Inspired by shadcn’s influential impact on frontend development, we aim to foster consensus on best practices in the Mini App and PWA space. The template has simplicity, reusability, and ease-of-learning at the core. Designed specifically for developers proficient with Next.js, TypeScript, and Tailwind CSS, the template ensures your development process is fast, clean, and efficient. Contribute, collaborate, and become part of a forward-thinking community that’s setting the bar for mobile and web integration. https://github.com/GaiasLabs/app-template

Pablo@pablo69420·
Reply

I believe the docs may be wrong or missing key information. https://miniapps.farcaster.xyz/docs/sdk/context#using-safeareainsets It seems to suggest that you can use the context as if it was an object, but it's a promise. To use it in React it would have to be used inside an useEffect hook.

Pablo@pablo69420·

@deodad Why don't mini apps automatically override these standard css variables that define the safe area? https://developer.mozilla.org/en-US/docs/Web/CSS/env#values I'm aware that mini apps have defined the safe areas in the context, but now I have to write additional code to handle this.

Pablo@pablo69420·
Reply

https://play.henlokart.com/game

Pablo@pablo69420·
Reply

Ratifying @procoin governance