-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c56e38a
commit 7e69699
Showing
5 changed files
with
163 additions
and
23 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
import galleryData from '../../config/content/galleryData.js'; | ||
import { Heading, Text } from '../shared/index.js'; | ||
|
||
function Gallery() { | ||
return ( | ||
<div className='w-[90%] mx-auto flex flex-col items-center mb-[40px] gap-y-[105px]'> | ||
<Heading | ||
variant='h1' | ||
style={{ | ||
fontSize: '80px', | ||
color: '#F2DA05', | ||
textShadow: '4.608px 4.608px 0px #000', | ||
webkitTextStrokeWidth: '2.71052622795105', | ||
webkitTextStrokeColor: '#252525', | ||
}}> | ||
{galleryData.headerText} | ||
</Heading> | ||
<div className='w-full grid grid-cols-2 md:grid-cols-3 lg:grid-cols-4 gap-x-[45px] gap-y-[70px]'> | ||
{galleryData.images.map(({ id, src, alt }) => ( | ||
<div | ||
key={id} | ||
style={{ | ||
borderRadius: '4.5px', | ||
border: '0.75px solid #000', | ||
padding: '10.2px 9px 55.3px 9px', | ||
background: '#FFF', | ||
boxShadow: '1.5px 2.25px 0px 0px #000', | ||
}}> | ||
<img src={src} alt={alt} className='w-full h-auto object-cover' /> | ||
</div> | ||
))} | ||
</div> | ||
<div className='w-full flex justify-end'> | ||
<button | ||
className='px-[18px] py-[12px] rounded-[14px] border-[3px] border-solid border-[#000]' | ||
style={{ | ||
background: 'var(--Accent-Yellow, #F2DA05)', | ||
}}> | ||
<Text variant='navButton'>{galleryData.buttonText}</Text> | ||
</button> | ||
</div> | ||
</div> | ||
); | ||
} | ||
|
||
export default Gallery; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,87 @@ | ||
export default { | ||
id: 'Gallery', | ||
headerText: 'GALLERY', | ||
buttonText: 'Back', | ||
images: [ | ||
{ | ||
id: 1, | ||
src: 'https://res.cloudinary.com/dv1src8un/image/upload/v1711788300/gallery_z7ofs5.png', | ||
alt: '', | ||
}, | ||
{ | ||
id: 1, | ||
src: 'https://res.cloudinary.com/dv1src8un/image/upload/v1711788300/gallery_z7ofs5.png', | ||
alt: '', | ||
}, | ||
{ | ||
id: 1, | ||
src: 'https://res.cloudinary.com/dv1src8un/image/upload/v1711788300/gallery_z7ofs5.png', | ||
alt: '', | ||
}, | ||
{ | ||
id: 1, | ||
src: 'https://res.cloudinary.com/dv1src8un/image/upload/v1711788300/gallery_z7ofs5.png', | ||
alt: '', | ||
}, | ||
{ | ||
id: 1, | ||
src: 'https://res.cloudinary.com/dv1src8un/image/upload/v1711788300/gallery_z7ofs5.png', | ||
alt: '', | ||
}, | ||
{ | ||
id: 1, | ||
src: 'https://res.cloudinary.com/dv1src8un/image/upload/v1711788300/gallery_z7ofs5.png', | ||
alt: '', | ||
}, | ||
{ | ||
id: 1, | ||
src: 'https://res.cloudinary.com/dv1src8un/image/upload/v1711788300/gallery_z7ofs5.png', | ||
alt: '', | ||
}, | ||
{ | ||
id: 1, | ||
src: 'https://res.cloudinary.com/dv1src8un/image/upload/v1711788300/gallery_z7ofs5.png', | ||
alt: '', | ||
}, | ||
{ | ||
id: 1, | ||
src: 'https://res.cloudinary.com/dv1src8un/image/upload/v1711788300/gallery_z7ofs5.png', | ||
alt: '', | ||
}, | ||
{ | ||
id: 1, | ||
src: 'https://res.cloudinary.com/dv1src8un/image/upload/v1711788300/gallery_z7ofs5.png', | ||
alt: '', | ||
}, | ||
{ | ||
id: 1, | ||
src: 'https://res.cloudinary.com/dv1src8un/image/upload/v1711788300/gallery_z7ofs5.png', | ||
alt: '', | ||
}, | ||
{ | ||
id: 1, | ||
src: 'https://res.cloudinary.com/dv1src8un/image/upload/v1711788300/gallery_z7ofs5.png', | ||
alt: '', | ||
}, | ||
{ | ||
id: 1, | ||
src: 'https://res.cloudinary.com/dv1src8un/image/upload/v1711788300/gallery_z7ofs5.png', | ||
alt: '', | ||
}, | ||
{ | ||
id: 1, | ||
src: 'https://res.cloudinary.com/dv1src8un/image/upload/v1711788300/gallery_z7ofs5.png', | ||
alt: '', | ||
}, | ||
{ | ||
id: 1, | ||
src: 'https://res.cloudinary.com/dv1src8un/image/upload/v1711788300/gallery_z7ofs5.png', | ||
alt: '', | ||
}, | ||
{ | ||
id: 1, | ||
src: 'https://res.cloudinary.com/dv1src8un/image/upload/v1711788300/gallery_z7ofs5.png', | ||
alt: '', | ||
}, | ||
], | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,9 @@ | ||
import FAQ from '../components/FaqSection/faq.jsx'; | ||
import Footer from '../components/shared/marginals/footer.jsx'; | ||
import AboutUs from '../components/AboutUs.jsx'; | ||
import NavBar from '../components/shared/NavBar'; | ||
|
||
export default function Playground() { | ||
return ( | ||
<> | ||
<NavBar /> | ||
<AboutUs /> | ||
<FAQ /> | ||
<Footer /> | ||
</> | ||
); | ||
} |