This commit is contained in:
Philip Cheung 2024-10-08 22:50:40 +08:00
parent 5c3efe4f2b
commit faf3928028
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ const Hero2 = ({ settings }: { settings: SettingsProps }) => {
<div className="flex w-full h-auto justify-center items-center relative"> <div className="flex w-full h-auto justify-center items-center relative">
<div className="bg-[url('/images/014.png')] absolute bottom-0 inset-0 h-auto w-full bg-contain bg-bottom bg-no-repeat"></div> <div className="bg-[url('/images/014.png')] absolute bottom-0 inset-0 h-auto w-full bg-contain bg-bottom bg-no-repeat"></div>
<iframe <iframe
className="rounded-2xl w-[85vw] aspect-video justify-center relative z-10 lg:m-[15vh] max-sm:m-[5vh] md:m-[10vh]" className="rounded-2xl w-[85vw] lg:w-[60vw] aspect-video justify-center relative z-10 lg:m-[15vh] max-sm:m-[5vh] md:m-[10vh]"
src={convertToEmbedLink(settings.youtube_link)} src={convertToEmbedLink(settings.youtube_link)}
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
allowFullScreen allowFullScreen