A modern, responsive frontend application built for a boutique café portfolio project emphasizing warm aesthetics, clean code, and user conversion.
- Framework: Next.js 15 (App Router)
- Styling: Tailwind CSS v4
- Animations: Motion (framer-motion updated)
- Icons: Lucide-react
This project uses placeholder images from Unsplash (via picsum.photos) to demonstrate the layout. To use this for your portfolio or actual production, you should replace the image sources.
- File:
app/page.tsx - Search for the
<Image>component in the Hero Section. - Replace
src="https://picsum.photos/seed/cafehero/1920/1080"with your high-quality imagery (e.g., from Unsplash.com). We recommend a dark, high-contrast image (like a pouring coffee or a cozy warmly lit scene) for the best text readability against the white text.
- File:
app/page.tsx - Search for the
<Image>component in the Our Vibe Section. - Replace
src="https://picsum.photos/seed/cafeinterior/800/1200"with a photo of the restaurant interior. A warm, wide-angle interior shot works best here.
- In
app/page.tsx, look for thesignatureDishesarray at the top of the file. - Update the
imageproperty for each item in the array. We recommend maintaining a consistent aspect ratio (e.g.,600x400or1:1) for all menu photos.
const signatureDishes = [
{
name: "Colombo Spiced Benedict",
description: "...",
price: "LKR 1,800",
image: "/your-local-image-path.jpg" // OR an absolute URL to a CDN
},
// ...
]You can add your own images by:
- Placing them in the
public/folder of this project (e.g.,public/hero.jpg). - Then, referencing them with a leading slash in the
srcattribute (e.g.,src="/hero.jpg"). - If you use external imagery via links beyond
picsum.photos, remember to updatenext.config.ts'simages.remotePatternsarray to whitelist the new domains (likeimages.unsplash.comor an S3 bucket).
The footer includes a Google Maps iframe currently pointing to Colombo, Sri Lanka. To update this:
- Go to Google Maps.
- Search for your location.
- Click "Share" > "Embed a map".
- Copy the
srcURL from the provided iframe code and replace thesrcattribute on the<iframe>tag inside the Footer Section.
Update the "Chat on WhatsApp" URL inside the Footer Section from https://wa.me/94701234567 to your actual WhatsApp business number.