I'll create a website for your barber shop with a home page that introduces the business and its five employee hairdressers. The layout will have a light grey background with black text. Let's build this using Next.js and Tailwind CSS.
This code creates a simple website for your barber shop with a home page that introduces the business and its five employee hairdressers. The layout has a light grey background (bg-gray-100
) with black text (text-black
). Here's a breakdown of what I've created:
app/layout.tsx
) that sets up the overall structure of the site, including the header and footer.app/page.tsx
) that introduces the barber shop and displays information about the employees.app/components/header.tsx
) with the shop name and navigation links.app/components/footer.tsx
) with a copyright notice.app/components/employee-card.tsx
) to display information about each hairdresser.The home page includes:
To complete the setup, you'll need to add a globals.css
file in the app
directory with the following content to enable Tailwind CSS:
@tailwind base;
@tailwind components;
@tailwind utilities;
This website provides a clean, professional look for your barber shop. You can further customize the colors, add more pages (like a detailed services page or a contact page), and replace the placeholder images with actual photos of your employees and shop.
I'll update the website to name it "Kings Barbers" and create a services page with the requested services and prices. Let's make these changes:
I've made the following changes to rebrand the website as "Kings Barbers" and add a services page:
app/services/page.tsx
) that lists the different services with their options and prices.The services page includes the following services as requested:
Each service is displayed in a card with its name, options (if applicable), and price range.
To make sure the UI components work correctly, you'll need to install the shadcn/ui components. You can do this by running the following command in your project directory:
npx shadcn@latest add card
This will add the necessary Card components used in the services page.
With these changes, your "Kings Barbers" website now has a home page introducing the business and a services page listing the various services offered with their prices. The design maintains the light grey background with black text as requested earlier.