NeoFoxxo / swoonstays-landing-page

Interactive landing page built with Preact, Astro, TailwindCSS, & DaisyUI

Home Page:https://swoonstays.au

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Swoonstays Landing Page

A landing page for Swoonstays that allows customers to select their preferred state and category to find the perfect place to stay. The website is built with Astro, Preact, Tailwind CSS, DaisyUI, and utilises Preact Signals.


View Landing Page

Features

  • 📍 Select place categories and states to find the perfect Swoonstay
  • 📱 Fully responsive on mobile
  • 🎨 Modern design
  • ➕ Easily add new categories and states
  • ⚡ High performance - achieves 100 on every Lighthouse metric

How To Run It

To run this on your local machine, you will need to have the latest LTS version of Node.js installed.

  1. Clone the repository to your local machine
  2. Open your terminal and run npm install and npm run build
  3. Then run the npm run prod command
  4. Access the website and enjoy!

Adding new Categories or States

  1. Navigate to the data folder in src/data/
  2. Simply add the new data into to either the states.ts or categories.ts files
  3. Run the npm run build command
  4. The site will now have the new states and categories.

Deploying Site to Production

  1. Run the npm run build command
  2. Simply copy the contents of the /dist folder in the root directory to your web server

Website Images

Home Section

Category Selection

State Selection

About

Interactive landing page built with Preact, Astro, TailwindCSS, & DaisyUI

https://swoonstays.au


Languages

Language:TypeScript 62.4%Language:Astro 32.5%Language:JavaScript 3.7%Language:Shell 1.4%