Skip to content

Kiwi: Add a cookie consent popup to the RunKiwi website (https://github.com/RunKiwi/website @ main). Steps: - #24

Open
ibreakthecloud wants to merge 1 commit into
mainfrom
kiwi/job_ceb20f30e91944e1
Open

ibreakthecloud wants to merge 1 commit into
mainfrom
kiwi/job_ceb20f30e91944e1

Conversation

@ibreakthecloud

Copy link
Copy Markdown
Member

Generated by Kiwi worker.

Task

Add a cookie consent popup to the RunKiwi website (https://github.com/RunKiwi/website @ main). Steps:

  1. Clone/inspect the repo to understand the tech stack (static site, Next.js, Nuxt, etc.) and existing design tokens (colours, fonts, border-radius, button styles).
  2. Choose a lightweight, well-maintained third-party cookie-consent library that fits the stack:
    • For a JS/React/Next.js project prefer react-cookie-consent or cookieconsent (Orestbida's vanilla JS v3).
    • For Nuxt/Vue prefer vue-cookieconsent or the same vanilla library.
    • Install it via the project's package manager (npm/yarn/pnpm) and commit the updated lock file.
  3. Integrate the library:
    • Import and initialise it in the appropriate entry point (_app.tsx / _app.js / nuxt.config / layout/default.vue / index.html etc.).
    • Configure it to: show a bottom banner, include 'Accept' and 'Decline' (or 'Manage') buttons, link to a Privacy Policy page (use '/privacy' or the existing privacy URL found in the repo).
  4. Style the popup to match the site design:
    • Override the library's default CSS variables or classes to use the site's primary colour, background colour, font family, border-radius and button styles as found in the existing CSS/Tailwind/styled-components.
    • Ensure the popup is responsive and accessible (keyboard-navigable, sufficient colour contrast).
  5. Respect user choice:
    • On 'Accept', set the consent cookie and allow analytics/tracking scripts to load.
    • On 'Decline', do not load non-essential scripts.
    • Do not show the banner again once a choice has been stored.
  6. Verify nothing is broken by running the project's existing lint and build commands (e.g. npm run build or npm run lint), then output echo "passing".

…ub.com/RunKiwi/website @ main). Steps:

1. Clone/inspect the repo to understand the tech stack (static site, Next.js, Nuxt, etc.) and existing design tokens (colours, fonts, border-radius, button styles).
2. Choose a lightweight, well-maintained third-party cookie-consent library that fits the stack:
   - For a JS/React/Next.js project prefer `react-cookie-consent` or `cookieconsent` (Orestbida's vanilla JS v3).
   - For Nuxt/Vue prefer `vue-cookieconsent` or the same vanilla library.
   - Install it via the project's package manager (npm/yarn/pnpm) and commit the updated lock file.
3. Integrate the library:
   - Import and initialise it in the appropriate entry point (_app.tsx / _app.js / nuxt.config / layout/default.vue / index.html etc.).
   - Configure it to: show a bottom banner, include 'Accept' and 'Decline' (or 'Manage') buttons, link to a Privacy Policy page (use '/privacy' or the existing privacy URL found in the repo).
4. Style the popup to match the site design:
   - Override the library's default CSS variables or classes to use the site's primary colour, background colour, font family, border-radius and button styles as found in the existing CSS/Tailwind/styled-components.
   - Ensure the popup is responsive and accessible (keyboard-navigable, sufficient colour contrast).
5. Respect user choice:
   - On 'Accept', set the consent cookie and allow analytics/tracking scripts to load.
   - On 'Decline', do not load non-essential scripts.
   - Do not show the banner again once a choice has been stored.
6. Verify nothing is broken by running the project's existing lint and build commands (e.g. `npm run build` or `npm run lint`), then output `echo "passing"`.
@vercel

vercel Bot commented Aug 1, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
kiwi-website Ready Ready Preview Aug 1, 2026 2:37pm
runkiwi-website Ready Ready Preview Aug 1, 2026 2:37pm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant