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: links in hero-sec & home-carousel #14

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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
21 changes: 8 additions & 13 deletions apps/ui-layout/components/website/home/hero-sec.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -102,37 +102,34 @@ const homeComponents = [
},
{
id: 12,
link: '/components/dialog-card',
link: '/components/linear-card',

componentSrc: <HomeAccordionModal />,

className: 'lg:col-span-8 md:col-span-7 sm:col-span-6 col-span-12',
},
{
id: 13,
link: '/components/products-cards',
link: '/components/product-cards',

componentSrc: <HomeProductCard />,
className: 'lg:col-span-4 md:col-span-5 sm:col-span-6 col-span-12',
},
{
id: 14,
link: '/components/embla-carousel',

componentSrc: <HomeSlider />,
className: ' col-span-12',
},
{
id: 15,
link: '/components/clip-path-image',
link: '/components/clip-path',

componentSrc: <HomeClipPath />,
className: ' lg:col-span-8 col-span-12',
},
{
id: 16,
link: '/components/clip-path-image',

link: '/components/motion-number',
componentSrc: <HomeMotionNumber />,
className: ' lg:col-span-4 col-span-12',
},
Expand Down Expand Up @@ -172,7 +169,7 @@ function HeroSec() {
activeDivs[columnIndex]?.has(rowIndex)
? 'dark:bg-[rgba(255,255,255,0.03)] bg-gray-50'
: ''
}`}
}`}
style={{ height: `${blockSize}px` }}
></div>
))}
Expand Down Expand Up @@ -229,11 +226,9 @@ function HeroSec() {
{homeComponents?.map((component, index) => {
return (
<SpotLightItem
className={`${component.className} ${
component?.id && index === 6 ? ' lg:block hidden ' : ' '
} ${
component?.id && index === 12 ? ' sm:block hidden ' : ' '
}`}
className={`${component.className} ${component?.id && index === 6 ? ' lg:block hidden ' : ' '
} ${component?.id && index === 12 ? ' sm:block hidden ' : ' '
}`}
key={index}
>
<div
Expand Down
12 changes: 6 additions & 6 deletions apps/ui-layout/components/website/home/home-footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ function HomeFooter() {
Animated FAQs
</Link>
<Link
href='/components/clip-path-image'
href='/components/clip-path'
className='relative block after:absolute after:bottom-0 after:left-0 after:h-[2px] after:w-full after:origin-bottom-left after:scale-x-0 dark:after:bg-white
after:bg-white after:transition-transform after:duration-300 after:ease-[cubic-bezier(0.65_0.05_0.36_1)] hover:after:scale-x-100'
>
Expand Down Expand Up @@ -171,11 +171,11 @@ function HomeFooter() {
Marquee
</Link>
<Link
href='/components/modal'
href='/components/dialog'
className='relative block after:absolute after:bottom-0 after:left-0 after:h-[2px] after:w-full after:origin-bottom-right after:scale-x-0 dark:after:bg-white
after:bg-white after:transition-transform after:duration-300 after:ease-[cubic-bezier(0.65_0.05_0.36_1)] hover:after:origin-bottom-left hover:after:scale-x-100'
>
Animated Modal
Dialog
</Link>

<Link
Expand All @@ -188,7 +188,7 @@ function HomeFooter() {
</ul>
<ul>
<Link
href='/components/products-cards'
href='/components/product-cards'
className='relative block after:absolute after:bottom-0 after:left-0 after:h-[2px] after:w-full after:origin-bottom-right after:scale-x-0 dark:after:bg-white
after:bg-white after:transition-transform after:duration-300 after:ease-[cubic-bezier(0.65_0.05_0.36_1)] hover:after:origin-bottom-left hover:after:scale-x-100'
>
Expand All @@ -202,7 +202,7 @@ function HomeFooter() {
Progressive Carousel
</Link>
<Link
href='/components/drawer'
href='/components/responsive-drawer'
className='relative block after:absolute after:bottom-0 after:left-0 after:h-[2px] after:w-full after:origin-bottom-right after:scale-x-0 dark:after:bg-white
after:bg-white after:transition-transform after:duration-300 after:ease-[cubic-bezier(0.65_0.05_0.36_1)] hover:after:origin-bottom-left hover:after:scale-x-100'
>
Expand Down Expand Up @@ -260,7 +260,7 @@ function HomeFooter() {
Animated Tabs
</Link>
<Link
href='/components/embla-carousel'
href='/components/carousel'
className='relative block after:absolute after:bottom-0 after:left-0 after:h-[2px] after:w-full after:origin-bottom-left after:scale-x-0 dark:after:bg-white
after:bg-white after:transition-transform after:duration-300 after:ease-[cubic-bezier(0.65_0.05_0.36_1)] hover:after:scale-x-100'
>
Expand Down