Skip to content

AyushAwasthi26/K72

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

19 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

svgexport-1

A high-fidelity, motion-driven agency website inspired by K72 MontrΓ©al, built using React, Tailwind CSS, and GSAP.
This project focuses on cinematic motion design, seamless navigation, and expressive UI transitions to bring brand storytelling to life.

React TailwindCSS GSAP Vite


πŸ“‹ Table of Contents


πŸ“Έ Screenshots

image image image image image image image

🌟 About the Project

K72 Agency Website is a React-based digital experience that brings together creative storytelling, GSAP motion design, and interactive UI.
It captures the essence of modern digital agencies β€” bold typography, smooth transitions, and dynamic navigation β€” inspired by the real K72 MontrΓ©al.

β€œDesign. Motion. Emotion.”
K72 combines technology and art to create meaningful digital experiences.

🎯 Goals:

  • Showcase the power of motion in UI/UX.
  • Recreate the cinematic flow of high-end agency websites.
  • Demonstrate GSAP mastery in React-based architectures.

✨ Features

  • πŸŒ€ Cinematic Full-Screen Navigation powered by GSAP timelines & staggered animations.
  • ⚑ Scroll-based transitions via ScrollTrigger (image reveals, section pins, and parallax effects).
  • 🎞️ Dynamic Agency page with live image swapping and marquee animations.
  • 🧠 Smart component structure with reusable context-driven navbar logic.
  • πŸ’Ž Minimal dark/light adaptive styling using TailwindCSS.
  • πŸ” Continuous marquee animation using GSAP modifiers and loops.
  • πŸ•ΆοΈ Custom Fonts (font1, font2) for brand-accurate typography.

πŸ’» Tech Stack

Layer Technologies
Frontend React.js
Styling Tailwind CSS
Animation GSAP (GreenSock Animation Platform), ScrollTrigger
Routing React Router
State Management React Context API
Build Tool Vite
Icons / Assets Custom SVGs & Media Components
Deployment GitHub Pages / Vercel

πŸš€ Getting Started

To run the project locally:

Prerequisites

Ensure you have Node.js (v16+) and npm or yarn installed.

Installation

# Clone the repository
git clone https://github.com/AyushAwasthi26/K72.git

# Navigate into the folder
cd K72

# Install dependencies
npm install

# Start the development server
npm run dev

Now open your browser at http://localhost:5173/


πŸ“‚ Folder Structure

K72/
β”‚
β”œβ”€β”€ public/
β”‚   β”œβ”€β”€ Media/
β”‚   β”‚   β”œβ”€β”€ Agency/
β”‚   β”‚   β”‚   β”œβ”€β”€ imgi_1_Carl_480x640.jpg
β”‚   β”‚   β”‚   β”œβ”€β”€ imgi_2_Olivier_480x640.jpg
β”‚   β”‚   β”‚   └── ...
β”‚   β”‚   β”œβ”€β”€ NavBar/
β”‚   β”‚   β”‚   β”œβ”€β”€ b1-1.jpg
β”‚   β”‚   β”‚   β”œβ”€β”€ b2-2.jpg
β”‚   β”‚   β”‚   β”œβ”€β”€ b4-gif.gif
β”‚   β”‚   β”‚   └── heart-b-3.svg
β”‚   β”‚   └── Projects/
β”‚   β”‚       β”œβ”€β”€ i1.jpg β†’ i16.jpg
β”‚   β”‚       β”œβ”€β”€ heart-b-3-green.svg
β”‚   β”‚       └── ...
β”‚   └── svgs/
β”‚       └── Globe.svg
β”‚
β”œβ”€β”€ src/
β”‚   β”œβ”€β”€ components/
β”‚   β”‚   β”œβ”€β”€ home/
β”‚   β”‚   β”‚   β”œβ”€β”€ HomeHero.jsx       # Hero section (video & heading)
β”‚   β”‚   β”‚   β”œβ”€β”€ HomeMid.jsx        # Tagline & intro section
β”‚   β”‚   β”‚   β”œβ”€β”€ HomeBottom.jsx     # CTA & footer buttons
β”‚   β”‚   β”‚   β”œβ”€β”€ Time.jsx           # Dynamic Montreal time component
β”‚   β”‚   β”‚   └── video.jsx          # Background looping video
β”‚   β”‚   β”‚
β”‚   β”‚   β”œβ”€β”€ navigation/
β”‚   β”‚   β”‚   β”œβ”€β”€ Navbar.jsx         # Top navbar (state-aware)
β”‚   β”‚   β”‚   └── FullScreenNav.jsx  # GSAP full-screen nav animations
β”‚   β”‚   β”‚
β”‚   β”‚   β”œβ”€β”€ project/
β”‚   β”‚   β”‚   └── ProjectCard.jsx    # Hover-reveal project cards
β”‚   β”‚   β”‚
β”‚   β”‚   └── context/
β”‚   β”‚       └── NavContext.jsx     # Context for nav state & animation blocking
β”‚   β”‚
β”‚   β”œβ”€β”€ pages/
β”‚   β”‚   β”œβ”€β”€ Home.jsx               # Homepage composition
β”‚   β”‚   β”œβ”€β”€ Projects.jsx           # Work showcase (GSAP scroll animation)
β”‚   β”‚   └── Agency.jsx             # About / Team page with marquee + ScrollTrigger
β”‚   β”‚
β”‚   β”œβ”€β”€ index.css                  # Tailwind + global styles
β”‚   β”œβ”€β”€ main.jsx                   # ReactDOM root
β”‚   β”œβ”€β”€ App.jsx                    # App-level route container
β”‚   └── vite.config.js             # Vite configuration
β”‚
β”œβ”€β”€ .gitignore
β”œβ”€β”€ package.json
β”œβ”€β”€ tailwind.config.js
└── README.md

🎞️ Animation & GSAP Highlights

🧭 FullScreen Navigation

File: FullScreenNav.jsx

  • Uses gsap.timeline() for entrance and exit animations.

  • Controls staggered .stairing div heights for cinematic reveals.

  • Context-managed animation lock (isAnimating) ensures no double-triggers.

  • Timeline structure:

    tl.to(".stairing", { height: "100%", stagger: { amount: -0.3 } })
      .to(".navlink", { opacity: 1 })
      .to(".link", { rotateX: 0, opacity: 1 });

πŸ–ΌοΈ Agency Page Scroll Effect

File: Agency.jsx

  • ScrollTrigger pins a central image container and updates the image dynamically as you scroll.
  • Marquee animation built with GSAP modifiers for infinite looping names.
  • Dynamic dark mode toggles when reaching the team section.

🧱 Projects Page

File: Projects.jsx

  • Project list powered by mapped ProjectCard components.
  • ScrollTrigger animates project height and visibility for smooth load transitions.

πŸ’‘ Home Page

File: HomeHero.jsx

  • Video embedded within headline typography.
  • Animated CTA circles (β€œWork”, β€œAgency”) at the bottom with glowing borders.

πŸ‘₯ Project Team

β†’ Ayush Awasthi [Lead Developer & UI/UX Designer] Designed and built the entire front-end architecture, GSAP animation logic, and motion transitions for K72.


πŸ“œ License

This project is licensed under the MIT License β€” see the LICENSE.md file for details.


πŸ” Back to Top

About

🎬 A cinematic React + GSAP digital agency website inspired by K72 MontrΓ©al β€” built with TailwindCSS, Vite, and motion-first UI design.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors