HPB Vegeta is a web application built with React, TypeScript, and Vite. It is designed to celebrate a special occasion, specifically a birthday, with interactive and engaging features. The application includes various components such as a quiz, a message wall, a masonry grid of images and videos, and more. The project leverages Tailwind CSS for styling and Supabase for backend services.
- Header: Displays the navigation bar with links to different sections of the application.
- Hero: The main hero section with a welcoming message.
- About: Provides information about the occasion and the person being celebrated.
- MessageWall: Allows users to post and view birthday messages. It uses Supabase to store and retrieve comments.
- GameQuiz: An interactive quiz that determines which version of a character (Vegeta) the user is most like.
- MasonryGrid: Displays a grid of images and videos related to the occasion.
- Footer: Contains a footer with a special message and an interactive image.
The project uses Tailwind CSS for styling, providing a utility-first approach to design. Custom styles are defined in src/index.css
, and Tailwind's configuration is set up in tailwind.config.js
.
The backend is set up using Supabase, a backend-as-a-service platform. The src/config/supabaseClient.ts
file configures the Supabase client with the necessary credentials. The backend handles storing and retrieving comments for the message wall.
The project is configured for deployment on Vercel. The .vercel
directory contains configuration files for Vercel, and environment variables are set up in the Vercel project settings.
To run the project locally, follow these steps:
- Clone the repository.
- Install dependencies using
npm install
. - Set up environment variables in the
.env
file. - Start the development server using
npm run dev
. - Open the application in your browser at
http://localhost:3000
.
This project is a comprehensive web application designed to celebrate a special occasion with interactive features and engaging content. It leverages modern web development technologies and best practices to provide a seamless user experience.
-
Clone the repository
git clone https://github.com/ejcontrerast/myportfolio.git
-
Navigate to the project directory
cd myportfolio
- Install dependencies
npm install
- Start the development server
npm run dev
- Open the application
Navigate to http://localhost:5173 in your browser to view the portfolio.
The project is deployed using GitHub Pages. To deploy your own version:
- Build the project
npm run build
- Deploy using GitHub Pages
npm run deploy
Ensure the homepage field in package.json is set to https://.github.io//.
Contributions are welcome! Please follow these steps:
-
Fork the repository
-
Create a new branch
git checkout -b feature/YourFeature
- Commit your changes
git commit -m "Add your feature"
- Push to the branch
git push origin feature/YourFeature
- Open a Pull Request