This repository contains the source code for Lune's official website. Lune, a virtual enterprise company, is dedicated to revolutionizing sleep experiences with tailored products catering to individual sleep habits and needs. This is a Next.js project bootstrapped with create-next-app
.
The quiz implements a point-based classification system that categorizes users into four distinct sleep types:
- Stress-Relief Seeker: For individuals whose sleep is primarily affected by mental stress and anxiety
- Deep Diver: For those seeking more profound, uninterrupted sleep
- Night Owl: For people with irregular sleep patterns or schedule-related sleep issues
- Sensory Seeker: For individuals sensitive to environmental factors affecting sleep
- Questions are weighted differently based on their relevance to each sleep type
- Points range from -1 to 2 for each answer:
- -1: Indicates opposite characteristics of a sleep type
- 1: Shows moderate alignment with a sleep type
- 2: Strongly indicates characteristics of a sleep type
- Users answer 8 questions about their sleep habits and preferences
- Each answer contributes points to one or more sleep type categories
- Points are accumulated throughout the quiz
- The sleep type with the highest total points becomes the user's primary classification
- Questions 3-4: Initial classification indicators
- Questions 5-8: Deeper behavioral and preference analysis
- Early questions focus on general sleep patterns
- Later questions target specific sleep-related behaviors and environmental preferences
-
Clone the Repository
git clone https://github.com/braindead-dev/lune-ve.git
-
Navigate to the Project Directory
cd lune-website
-
Install Dependencies
npm install
-
Run the Development Server
npm start
For team members looking to contribute:
- Fork the repository.
- Create your feature branch (
git checkout -b feature/YourFeatureName
). - Commit your changes (
git commit -m 'Add some feature'
). - Push to the branch (
git push origin feature/YourFeatureName
). - Open a new pull request.
Please ensure to update tests as appropriate and maintain the code quality and standards.
This project is no longer maintained as it was made for a Virtual Enterprise class in the 2023-2024 school year, but you can reach me at contact@henrywa[.]ng if you have any questions.
This project is licensed under the MIT License - see the LICENSE.md file for details.