-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Issue
As of now, I am using Figma for creating banners for each cookie component/example and manually updating it in the JSON file for cookies.
Solution
To write a script as a generator code in generators to do the following steps,
- Render a cookie from
components/cookies - Place the render in a banner template component - in a way it will fit the cookie card and look consistent.
- Convert the composed render to a single image as a rectangular banner.
- Upload the image on a Supabase storage.
- Store the received CDN URL from Supabase, to a local cookies list file -
@/app/cookies/common/cookies-list.tsx
Add this procedure as an NPM script, only to be run once, manually.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request