A beautiful, modern website for a yoga and therapy practice built with Next.js, TypeScript, Tailwind CSS, and Sanity CMS.
Clone the repository
git clone <repository-url>
cd yoga-und-therapie-mit-bea
Install dependencies
npm install
Set up Sanity
Configure environment variables
cp .env.example .env.local
Then edit .env.local with your Sanity project details:
NEXT_PUBLIC_SANITY_PROJECT_ID=your_project_id
NEXT_PUBLIC_SANITY_DATASET=production
NEXT_PUBLIC_SANITY_API_VERSION=2024-01-01
Start the development server
npm run dev
Open http://localhost:3000 to see the website
Access Sanity Studio at http://localhost:3000/studio to manage content
src/
āāā app/ # Next.js App Router pages
ā āāā page.tsx # Homepage
ā āāā yoga/ # Yoga classes page
ā āāā therapie/ # Therapy services page
ā āāā ueber-mich/ # About page
ā āāā kontakt/ # Contact page
ā āāā studio/ # Sanity Studio (embedded)
āāā components/ # React components
ā āāā Navbar.tsx
ā āāā Footer.tsx
ā āāā icons/
āāā sanity/ # Sanity configuration
ā āāā client.ts # Sanity client
ā āāā config.ts # Configuration
ā āāā image.ts # Image URL builder
ā āāā lib/
ā ā āāā queries.ts # GROQ queries
ā āāā schemas/ # Content schemas
āāā types/ # TypeScript types
āāā sanity.ts
The CMS includes the following content types:
# Run development server
npm run dev
# Build for production
npm run build
# Start production server
npm start
# Run linter
npm run lint
The website uses a calming, earthy color palette:
Custom CSS variables are defined in globals.css and can be customized to match your branding.
This project can be deployed on:
Remember to set your environment variables on your deployment platform.
This project is private and proprietary.
Made with š for Bea