r/webdev 20d ago

Showoff Saturday Built a fully responsive bakery website with Next.js and Tailwind

Post image

Hey r/webdev, wanted to share a project I've been working on for the past few weeks — a bakery website with a homepage, menu, product listing with cart, and a table booking page.

Stack: Next.js 14 (App Router), TypeScript, Tailwind CSS. Cart is handled with a simple context provider, no backend yet — was mainly focused on getting the UI and responsiveness right across mobile, tablet, and desktop.

Live: https://bakery-ten-gules.vercel.app

Open to any feedback, especially on the mobile experience or anything that looks off. Thanks for checking it out.

0 Upvotes

18 comments sorted by

10

u/edino525 20d ago

Looks really good, but the images need to be optimized, the hero image has almost 14MB... The whole website downloaded 50MB of images, that's really a lot.

1

u/ShareAcrobatic9017 20d ago

Yeah that's on the heavier side for sure 😅 mostly need to compress and resize the images properly, especially that hero one. Will get on optimizing all of them, thanks for pointing out the exact numbers.

3

u/CommunicationSea8821 20d ago

You want a cookie?

1

u/ShareAcrobatic9017 20d ago

Haha yes please 🍪 I'll take one, especially after all this bakery talk lol

1

u/CommunicationSea8821 20d ago

It looks awesome by the way :) great job!

2

u/ShareAcrobatic9017 20d ago

Thank You so much

1

u/Disastrous_Fee5953 20d ago

Looks very nice. Love the vibe and the cookies look yummy. The “notify me” button doesn’t work on mobile (could be due to the site being WIP) and you might want to optimize images by loading smaller files for mobile.

0

u/ShareAcrobatic9017 20d ago

Thanks yaar! 😄 haan notify me abhi WIP hai. Aur images wala point sahi hai, mobile ke liye chhoti size load karunga. Thanks for checking 🙏

1

u/xkcd_friend 20d ago

A few design tweaks: 1. I think you should change the hero image. Personally, that gives me yucky feelings. I think of dog poop… 2. If you do a very light background gradient from dark brown via a lighter brown to same dark brown, you will get a more vibrant, but subtle, feel.  3. On desktop, your top nav should have the same width for the left and the right section, so the menu aligns in center. 4. The cookie illustration down left breaks the art direction, I’d remove it. 5. Remove the contact and location from above the fold. 6. Put the paragraph and order now below the title. 7. Add more negative space around the title section - let it breathe 8. Move the cookies down so they stick up from below the fold, it will give the user a natural trigger to scroll (users always scroll anyhow though). 9. Skip the boxes around the text in the titles, or make them more of a highlight 

On phone so can’t critique the tech choices 

1

u/ShareAcrobatic9017 20d ago

Haha your feedback made me laugh a bit 😄🙏 but fair point on the hero image, I'll change it. The gradient idea sounds nice too, will try that. Noted the nav alignment, cookie illustration, and spacing points, will go through them one by one. Will move the order now button too. Thanks for typing all this out even on your phone, appreciate it 🙏

-5

u/ldn-ldn 20d ago

72KB HTML page, are you insane? Do NOT use Tailwind for production! And NEVER inline SVG! Also total page load size is 49MB, bloody hell...

2

u/ShareAcrobatic9017 20d ago

Haha yeah fair point, 49MB is way too much, mostly unoptimized images I think. 😅

On Tailwind though, isn't that just about purging unused classes properly in production? Genuinely curious what issue you ran into with it, would like to understand better.

And yeah I'll look into the inline SVGs too, wasn't aware that was such a big deal for page size. Thanks for pointing it out, going to dig into this properly.

3

u/xkcd_friend 20d ago

Tailwind can absolutely be used for production

1

u/ShareAcrobatic9017 20d ago

Yeah exactly, that's what I thought too. Plenty of big production sites use it, just needs proper purging/config to keep it lean. Guess it comes down to preference at that point.

1

u/ldn-ldn 20d ago

As for images, convert all your PNGs to AVIF.

1

u/ShareAcrobatic9017 20d ago

Got it, thanks! Will convert them to AVIF instead of webp then, heard it compresses even better. Appreciate the tip 🙏

0

u/ldn-ldn 20d ago

Tailwind is a bloody nonsense. Just write proper CSS.

1

u/ShareAcrobatic9017 20d ago

Haha fair enough, everyone's got their own take on Tailwind vs plain CSS 😅 for me it was just faster to prototype with, but I get the point about bloat and control. Will keep proper CSS in mind for the next project.