B2B landing page for Goldenko (Elevator Renovation & Maintenance in Latvia).
- Framework: Vite (Vanilla JS)
- Styling: Tailwind CSS v3
- Animations: GSAP
- Install dependencies:
npm install
- Run development server:
npm run dev
To deploy this project to production (Vercel, Netlify, etc.):
-
Build the project:
npm run build
This will create a
distfolder with optimized HTML, CSS, and JS. -
Deploy to Vercel:
- Install Vercel CLI:
npm i -g vercel - Run
vercelin the root directory. - Choose default settings (Vite is detected automatically).
- Install Vercel CLI:
-
Deploy to Netlify:
- Drag and drop the
distfolder to Netlify Drop. - Or connect GitHub repo and set Build Command:
npm run build, Publish Directory:dist.
- Drag and drop the
This repo includes GitHub Actions workflow for automatic Pages deploy from main.
- In GitHub open:
Settings -> Pages. - Set
SourcetoGitHub Actions. - In
Custom domainset:goldenko.lv. - In DNS provider add records:
Arecord for@to GitHub Pages IPs:185.199.108.153185.199.109.153185.199.110.153185.199.111.153
CNAMErecord forwwwtoulinycoin.github.io
- Keep
Enforce HTTPSenabled in GitHub Pages after DNS propagation.
index.html: Main structure (B2B content).src/main.js: Animation logic (GSAP) and interactivity.src/style.css: Tailwind directives.