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

Style and optimization #99

Merged
merged 3 commits into from
Sep 7, 2024
Merged
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
File renamed without changes
File renamed without changes
2 changes: 1 addition & 1 deletion src/app/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@


h1 {
@apply font-semibold text-7xl text-white animate-bounce-in my-10;
@apply font-semibold text-5xl text-white animate-bounce-in my-10;
}

hr {
Expand Down
33 changes: 29 additions & 4 deletions src/app/page.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { Metadata } from 'next';
import Image from 'next/image';

export const metadata: Metadata = {
title: 'Home',
Expand All @@ -14,16 +15,40 @@ export default function Home() {
<div className="w-1/2 mx-auto overflow-x-auto scrollable-gallery">
<div className="whitespace-nowrap scroll-smooth snap-x snap-mandatory flex py-10">
<div className="inline-block w-64 h-64 m-4 bg-transparent snap-center flex-shrink-0">
<img src="gallery/bettereagle_chip.png" alt="Concept 1" className="w-full h-full object-cover rounded-lg" />
<Image
src="/gallery/bettereagle_chip.png"
alt="Concept 1"
className="w-full h-full object-cover rounded-lg"
height={500}
width={500}
/>
</div>
<div className="inline-block w-64 h-64 m-4 bg-transparent snap-center flex-shrink-0">
<img src="gallery/spacecsdesign.jpg" alt="Concept 2" className="w-full h-full object-cover rounded-lg" />
<Image
src="/gallery/spacecsdesign.jpg"
alt="Concept 2"
className="w-full h-full object-cover rounded-lg"
height={500}
width={500}
/>
</div>
<div className="inline-block w-64 h-64 m-4 bg-transparent snap-center flex-shrink-0">
<img src="gallery/mrbenword.png" alt="Concept 3" className="w-full h-full object-cover rounded-lg" />
<Image
src="/gallery/mrbenword.png"
alt="Concept 3"
className="w-full h-full object-cover rounded-lg"
height={500}
width={500}
/>
</div>
<div className="inline-block w-64 h-64 m-4 bg-transparent snap-center flex-shrink-0">
<img src="product images/shirt1.png" alt="Concept 4" className="w-full h-full object-cover rounded-lg" />
<Image
src="/ProdImages/shirt1.png"
alt="Concept 4"
className="w-full h-full object-cover rounded-lg"
width={500}
height={500}
/>
</div>
</div>
</div>
Expand Down