Skip to content

A responsive Next.js application for Timber & Threads Retreat, featuring Google Calendar integration, dynamic gallery management, and an admin panel for seamless content updates

Notifications You must be signed in to change notification settings

musickevan1/timberthreads

Repository files navigation

Timber & Threads Retreat Website

A Next.js website for Timber & Threads Retreat featuring availability calendar and gallery management.

Features

  • Responsive design
  • Google Calendar integration for availability
  • Admin panel for gallery management
  • Image upload and management
  • Secure admin access

Setup Instructions

  1. Install dependencies:
npm install
  1. Create .env file: Copy .env.example to .env and set your admin password:
NEXT_PUBLIC_ADMIN_PASSWORD=your_secure_password
  1. Google Calendar Setup:
  • Create a Google Calendar for the retreat
  • Set sharing settings to "Make available to public"
  • Get the embed code
  • Replace the calendar URL in src/components/Calendar.tsx
  1. Run the development server:
npm run dev

Admin Access

  • Access the admin panel at /admin
  • Use the password set in .env
  • Manage gallery images at /admin/gallery

Deployment

  1. Set environment variables in Vercel:

    • NEXT_PUBLIC_ADMIN_PASSWORD
  2. Deploy to Vercel:

vercel

File Structure

  • /src/app/admin/* - Admin panel pages
  • /src/app/api/* - API routes
  • /src/components/* - React components
  • /public/assets/* - Uploaded images

Development

  • Built with Next.js 14
  • Uses Tailwind CSS for styling
  • TypeScript for type safety

About

A responsive Next.js application for Timber & Threads Retreat, featuring Google Calendar integration, dynamic gallery management, and an admin panel for seamless content updates

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published