Refine film simulation animation
This commit is contained in:
parent
b17953ea8f
commit
69b183aa99
@ -1,6 +1,6 @@
|
|||||||
'use client';
|
'use client';
|
||||||
|
|
||||||
import InfoBlock from '@/components/InfoBlock';
|
import SiteGrid from '@/components/SiteGrid';
|
||||||
import { cc } from '@/utility/css';
|
import { cc } from '@/utility/css';
|
||||||
import { FILM_SIMULATION_FORM_INPUT_OPTIONS } from '@/vendors/fujifilm';
|
import { FILM_SIMULATION_FORM_INPUT_OPTIONS } from '@/vendors/fujifilm';
|
||||||
import PhotoFujifilmSimulation from
|
import PhotoFujifilmSimulation from
|
||||||
@ -18,16 +18,32 @@ export default function FilmPage() {
|
|||||||
});
|
});
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<InfoBlock className="w-[250px] h-[125px] m-36 scale-150">
|
<SiteGrid
|
||||||
<div className={cc(
|
contentMain={<div className={cc(
|
||||||
'w-[250px] h-[125px]',
|
'flex items-center justify-center min-h-[30rem]',
|
||||||
'flex justify-start items-center pl-12',
|
|
||||||
)}>
|
)}>
|
||||||
<PhotoFujifilmSimulation
|
<div className="w-[250px] scale-150">
|
||||||
simulation={FILM_SIMULATION_FORM_INPUT_OPTIONS[index].value}
|
<div className="dark:text-gray-500/50 uppercase">
|
||||||
showIconFirst
|
Film Simulation:
|
||||||
/>
|
</div>
|
||||||
</div>
|
<PhotoFujifilmSimulation
|
||||||
</InfoBlock>
|
simulation={FILM_SIMULATION_FORM_INPUT_OPTIONS[index].value}
|
||||||
|
showIconFirst
|
||||||
|
/>
|
||||||
|
<div className="mt-4 text-dim relative">
|
||||||
|
<div>
|
||||||
|
<div>35mm 53mm</div>
|
||||||
|
<div>ƒ/1.4</div>
|
||||||
|
<div>1/3200s</div>
|
||||||
|
<div>ISO 125</div>
|
||||||
|
</div>
|
||||||
|
<div className={cc(
|
||||||
|
'absolute top-0 left-[-2px] right-0 bottom-0',
|
||||||
|
'bg-gradient-to-t from-black to-[rgba(0,0,0,0.5)]',
|
||||||
|
)} />
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>}
|
||||||
|
/>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user