Skip to content

Commit

Permalink
Fix landing page links (#1051)
Browse files Browse the repository at this point in the history
  • Loading branch information
carbonrobot authored Apr 5, 2024
2 parents d095497 + 23855d5 commit b8edcae
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions website/src/components/carousel-demo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,13 @@ function DemoCard({ title, description, imageSrc, price }) {
}

export const CarouselDemo = () => (
<div className="">
<div id="demo">
<div className="flex flex-col text-left mx-16 lg:mx-32 xl:mx-64 my-auto py-12">
<LandingDivider />
<h2 className="my-8 text-4xl font-semibold">Carousel Demo</h2>
<p className="text-lg max-w-prose">
This carousel library is small but mighty! Here's this demo of product
cards turned into a carousel with a few simple lines!
This carousel library is small but mighty! Here&apos;s this demo of
product cards turned into a carousel with a few simple lines!
</p>
</div>
<div className="mx-16 lg:mx-32 xl:mx-64">
Expand Down
4 changes: 2 additions & 2 deletions website/src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export default function Index() {
easily customizable UI and behavior to fit your brand and site."
copyText="pnpm add nuka-carousel"
navItems={[
{ link: '/docs', title: 'Documentation' },
{ link: '/open-source/nuka-carousel/docs', title: 'Documentation' },
{ link: '#demo', title: 'Demo' },
{
link: 'https://github.com/FormidableLabs/nuka-carousel',
Expand Down Expand Up @@ -59,7 +59,7 @@ export default function Index() {
showDivider
heading="Get Started"
body="Build a performative, fully accessible and customizable carousel today!"
cta={{ link: '/docs', text: 'Documentation' }}
cta={{ link: '/open-source/nuka-carousel/docs', text: 'Documentation' }}
/>
<LandingFeaturedProjects
heading="Other Open Source from Nearform_Commerce"
Expand Down

0 comments on commit b8edcae

Please sign in to comment.