Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/neofoxxo/swoonstays-landing-page

Interactive landing page built with Preact, Astro, TailwindCSS, & DaisyUI
https://github.com/neofoxxo/swoonstays-landing-page

astro daisyui landing-page preact preact-signals tailwindcss

Last synced: 13 days ago
JSON representation

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

Awesome Lists containing this project

README

        

# 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