This is a code bundle for FortiSight Consulting Website. The original project is available at https://www.figma.com/design/evrGw7ujKE7ouXcLrvEgGU/FortiSight-Consulting-Website.
The web app is developed using React (TypeScript), Tailwind CSS, Vite server, and deployed using Nginx server. EmailJS is integrated to make it possible to send emails from the code. Instructions on how to integrate EmailJS are provided under the file: EMAIL_SETUP.md
Run npm i to install the dependencies.
Run npm run dev to start the development server.
For React app built with Vite, you can use the following command to package it for deployment:
npm run build
What This Does: Creates a build directory with optimized production files Minifies and compresses all JavaScript, CSS, and assets Generates a production-ready version of your app
Build Output: HTML: index.html (0.44 kB) CSS: index-CpugSriv.css (44.73 kB, 7.98 kB gzipped) JavaScript: index-BMtGMFW9.js (331.64 kB, 104.91 kB gzipped) Images: logo346x346white-CYqpkU35.jpg (21.34 kB)
Static Hosting (Netlify, Vercel, GitHub Pages):
Upload the entire build folder Web Server (Apache, Nginx):
Copy contents of build to your web server's document root
The build directory contains complete FortiSight consulting website ready for deployment!