Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix landing page links #1051

Merged
merged 1 commit into from
Apr 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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