Skip to content

Commit

Permalink
link
Browse files Browse the repository at this point in the history
  • Loading branch information
r2hu1 authored Feb 11, 2024
1 parent 5033878 commit 9786dfd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/page.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export default function Home() {
<p className="text-base md:text-lg opacity-80 font-normal">Beautifully designed, customizable cookie consent for web built on top of shadcn-ui and tailwind-css!</p>
<div className="flex mt-4 items-center justify-center gap-2">
<Button onClick={() => { setDemo(!demo) }}>{demo ? "Viewing Demo" : "Live Demo" }</Button>
<Button variant="secondary">Install</Button>
<Button variant="secondary" asChild><a href="https://github.com/r2hu1/shadcn-cookie-consent/blob/master/components/CookieConsent.jsx">Install</a></Button>
</div>
</div>
<div className="mt-20">
Expand Down Expand Up @@ -46,4 +46,4 @@ export default function Home() {
{demo && (<CookieConsent demo={true} onAcceptCallback={() => {setDemo(false)}} onDeclineCallback={() => {setDemo(false)}}/>)}
</main>
);
}
}

0 comments on commit 9786dfd

Please sign in to comment.