{"id":21146617,"url":"https://github.com/thounny/day_017","last_synced_at":"2025-03-14T14:10:58.697Z","repository":{"id":258738408,"uuid":"874514297","full_name":"thounny/DAY_017","owner":"thounny","description":"Responsive Landing Page Reveal Animation with GSAP","archived":false,"fork":false,"pushed_at":"2024-10-18T23:53:29.000Z","size":79553,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-21T07:42:58.740Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://thounny.github.io/DAY_017/","language":"CSS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/thounny.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-10-18T01:00:30.000Z","updated_at":"2024-10-18T23:53:33.000Z","dependencies_parsed_at":"2024-10-20T12:56:24.676Z","dependency_job_id":null,"html_url":"https://github.com/thounny/DAY_017","commit_stats":null,"previous_names":["thounny/day_017"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thounny%2FDAY_017","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thounny%2FDAY_017/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thounny%2FDAY_017/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thounny%2FDAY_017/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thounny","download_url":"https://codeload.github.com/thounny/DAY_017/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243589345,"owners_count":20315471,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-20T08:58:23.348Z","updated_at":"2025-03-14T14:10:58.652Z","avatar_url":"https://github.com/thounny.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DAY_017 | Responsive Landing Page Reveal Animation with GSAP\n\nThis project is part of my daily code challenge series, **DAY_017**, where I focus on building a **responsive landing page** with **reveal animations** inspired by an element from **Our Revolution**. The inspiration site won **SOTD**, on **Awwwards**.\n\n[Visit the Inspiration Website](https://our-revolution.com/)\n\n---\n\n## Preview\n\n![DAY_017 Preview](./assets/DAY_017_1.gif)\n\n## Inspiration\n\n![Our Revolution](./assets/DAY_017_2.gif)\n\n---\n\n## Project Overview\n\nThis project replicates key visual and interactive elements from the award-winning site, incorporating **GSAP animations** for fluid interactions. The page includes staggered text reveals, hover effects, and responsive design principles to ensure the experience is immersive across devices.\n\n---\n\n## Key Features\n\n- **Hero Section Reveal**: The main headline smoothly reveals itself with staggered animations on page load.\n- **Hover Effect**: The word \"future\" starts blurry and becomes clear on hover, adding an extra interactive layer.\n- **GSAP Animations**: GSAP is used to animate the images, text, and hover effects, ensuring smooth transitions.\n\n---\n\n## GSAP in Action\n\n**GSAP (GreenSock Animation Platform)** allows developers to create performance-optimized animations. In this project, GSAP controls the entrance of images and text, as well as hover effects.\n\n### Effects Breakdown\n\n- **Staggered Image and Text Reveal**: Images and text elements slide and fade in from off-screen.\n- **Clip-path Animation**: Certain elements use `clip-path` to create a \"wipe\" effect, revealing content smoothly.\n- **Hover Interactivity**: The words \"inspire innovation\" begins blurred and becomes sharp on hover, offering dynamic user interaction.\n\n### JavaScript (GSAP)\n\n```javascript\nconst tl = gsap.timeline({ delay: 1 });\n\ntl.to(\".img\", { y: 0, opacity: 1, duration: 1.5, stagger: 0.05 })\n  .to(\".loader-imgs\", { x: 0, duration: 3 }, \"-=2.5\")\n  .to(\".img:not(#loader-logo)\", { clipPath: \"polygon(0% 0%, 100% 0%)\", duration: 1 }, \"-=1\")\n  .to(\".nav-item, h1, footer, .item\", { y: 0, opacity: 1, stagger: 0.1, duration: 1 }, \"-=0.5\");\n```\n\n1. **Image Reveal**: The `.img` elements slide up from below and fade in simultaneously.\n2. **Loader Animation**: The loader images move horizontally from off-screen to their final position.\n3. **Clip-path**: The `.img` elements are revealed with a clipping effect, simulating a wipe animation.\n4. **Text \u0026 Navigation**: Text elements and the footer appear with subtle fade-ins and upward transitions.\n\n---\n\n## How to Run\n\n1. **Clone the repository**:\n\n   ```bash\n   git clone https://github.com/thounny/DAY_017.git\n   ```\n\n2. **Navigate to the project directory**:\n\n   ```bash\n   cd DAY_017\n   ```\n\n3. **Open the `index.html` file** in your browser, or use a local development server like **Live Server** in VSCode.\n\n---\n\n## Project Structure\n\n```bash\nDAY_017/\n│\n├── assets/\n├── fonts/\n│   └── helveticaneue.woff2\n├── images/\n├── styles.css\n├── index.html\n└── script.js\n```\n\n---\n\n## Features\n\n- **Staggered Text Reveal**: Text elements animate into view on load for a cinematic feel.\n- **Hover Blur-to-Clear**: The word \"future\" starts blurred and transitions to clarity on hover.\n- **GSAP-Powered Animations**: Smooth, high-performance animations elevate the user experience.\n\n---\n\n## Technologies Used\n\n- **HTML5**: Document structure and semantics.\n- **CSS3**: Layout and styling, including animations and hover effects.\n- **JavaScript (ES6)**: For controlling animations and interactions.\n- **GSAP (GreenSock Animation Platform)**: For creating performant and fluid animations.\n\n---\n\n## Author\n\n![Logo](./assets/index_dwn.gif)\n\n**Thounny Keo**  \nCreative Developer \u0026 Designer  \nFrontend Development Student | Year Up United\n\n---\n\n![miku](./assets/miku.gif)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthounny%2Fday_017","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthounny%2Fday_017","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthounny%2Fday_017/lists"}