mirror of
https://github.com/vercel/commerce.git
synced 2025-05-16 06:26:58 +00:00
Add transitions gif for 12,11,10
This commit is contained in:
parent
23491e2ec2
commit
2bf575d76b
@ -23,7 +23,7 @@ const TestimonialContent = ({ children }: { children: ReactNode }) => {
|
||||
alignItems={'center'}
|
||||
justifyContent={'center'}
|
||||
display={'flex'}
|
||||
w={'lg'}
|
||||
w={'md'}
|
||||
height={'130px'}
|
||||
>
|
||||
{children}
|
||||
|
@ -69,13 +69,15 @@ export default function MarkerCardModal(props: {
|
||||
<Box w={'full'} ref={containerRef}>
|
||||
{!isTransitionCompleted ? (
|
||||
<Image
|
||||
src={'/regions/abruzzo/11/plan/transition.gif'}
|
||||
height={577}
|
||||
width={700}
|
||||
src={
|
||||
'/regions/abruzzo/' + props.decade + '/plan/transition.gif'
|
||||
}
|
||||
height={480}
|
||||
width={576}
|
||||
onLoad={() =>
|
||||
setInterval(() => {
|
||||
setIsTransitionComplited(true)
|
||||
}, 5000)
|
||||
}, 2500)
|
||||
}
|
||||
></Image>
|
||||
) : (
|
||||
|
@ -44,7 +44,7 @@ const Navbar: FC<NavbarProps> = ({ links }) => {
|
||||
<nav className={s.navMenu}>
|
||||
<Link href="/search">
|
||||
<a className={s.link}>
|
||||
{locale === 'it' ? 'Prodotti' : 'All'}
|
||||
{locale === 'it' ? 'Prodotti' : 'Products'}
|
||||
</a>
|
||||
</Link>
|
||||
{links?.map((l) => (
|
||||
|
@ -3,6 +3,7 @@ import s from './MenuSidebarView.module.css'
|
||||
import { useUI } from '@components/ui/context'
|
||||
import SidebarLayout from '@components/common/SidebarLayout'
|
||||
import type { Link as LinkProps } from './index'
|
||||
import { useRouter } from 'next/router'
|
||||
|
||||
export default function MenuSidebarView({
|
||||
links = [],
|
||||
@ -10,7 +11,7 @@ export default function MenuSidebarView({
|
||||
links?: LinkProps[]
|
||||
}) {
|
||||
const { closeSidebar } = useUI()
|
||||
|
||||
const { locale = 'it' } = useRouter()
|
||||
return (
|
||||
<SidebarLayout handleClose={() => closeSidebar()}>
|
||||
<div className={s.root}>
|
||||
@ -18,7 +19,7 @@ export default function MenuSidebarView({
|
||||
<ul>
|
||||
<li className={s.item} onClick={() => closeSidebar()}>
|
||||
<Link href="/search">
|
||||
<a>All</a>
|
||||
<a>{locale == 'it' ? 'Prodotti' : 'Products'}</a>
|
||||
</Link>
|
||||
</li>
|
||||
{links.map((l: any) => (
|
||||
|
@ -4,10 +4,8 @@ import { Text } from '@components/ui'
|
||||
export default function News() {
|
||||
return (
|
||||
<div className="max-w-2xl mx-8 sm:mx-auto py-20 flex flex-col items-center justify-center fit">
|
||||
<Text variant="heading">Not Found</Text>
|
||||
<Text className="">
|
||||
The requested page doesn't exist or you don't have access to it.
|
||||
</Text>
|
||||
<Text variant="heading">Work In Progress</Text>
|
||||
<Text className="">We are working for you...</Text>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
BIN
site/public/regions/abruzzo/10/plan/transition.gif
Normal file
BIN
site/public/regions/abruzzo/10/plan/transition.gif
Normal file
Binary file not shown.
After Width: | Height: | Size: 212 KiB |
Binary file not shown.
Before Width: | Height: | Size: 62 KiB After Width: | Height: | Size: 631 KiB |
BIN
site/public/regions/abruzzo/12/plan/transition.gif
Normal file
BIN
site/public/regions/abruzzo/12/plan/transition.gif
Normal file
Binary file not shown.
After Width: | Height: | Size: 242 KiB |
Loading…
x
Reference in New Issue
Block a user