ShaikhWarsi/hackathp

โ˜… 0Forks 0HTMLGitHub โ†—Compare

README

AC-DC Directionless Experience

Project Preview

An ode to those who feel directionless. A high-performance, visually stunning web experience engineered with modern tooling and modular architecture.

Vite TypeScript GSAP Lenis HTML5 CSS3 License


๐Ÿ“– Overview

The primary goal of this platform is to identify underlying emotional barriers and design innovative solutions that encourage individuals to seek timely healthcare support for depression. By leveraging an immersive, high-performance animated web experience, the project breaks down stigmas and creates a visually engaging, empathetic environment.

Behind the scenes, this highly interactive experience is powered by a robust modular architecture utilizing custom Vite plugins, segmented CSS, isolated engine scripts, and type-safe TypeScript logic to deliver a flawless 60fps emotional journey.


โœจ Core Features

Feature Description Stack
Modular HTML Architecture Monolithic code securely split into logical partials, composed securely at build-time. Vite Plugin, HTML5
High-Performance Animations Smooth scrolling, complex WebGL shatter effects, and timeline orchestration. GSAP, Lenis
Layered CSS System Cleanly separated style layers spanning Normalize, Core, and Scoped Components. CSS3
Isolated Core Engine Compiled third-party interactive scripts sandboxed strictly in the vendor namespace. Vanilla JS
Type-Safe Logic Custom animations and DOM orchestrations are strongly typed for maintainability. TypeScript

๐Ÿ—๏ธ Architecture Design

The following flow illustrates how the modular assets compile via the Vite bundler into the final optimized production build.

graph LR
    subgraph Source Modules
        A[HTML Components]
        B[CSS Style Layers]
        C[TypeScript Logic]
        D[Vendor Modules]
    end

    V((Vite Engine))

    A -->|Custom Plugin| V
    B -->|PostCSS| V
    C -->|esbuild| V
    D -->|ESM Import| V

    subgraph Production Ready
        X[index.html]
        Y[main.css]
        Z[app.js]
    end

    V --> X
    V --> Y
    V --> Z
Loading

๐Ÿ“‚ Code Organization

The repository relies on a strictly typed, modular architecture designed for rapid iteration and clear separation of concerns.

โ”œโ”€โ”€ assets/
โ”‚   โ””โ”€โ”€ images/              # Graphical assets and webp imagery
โ”œโ”€โ”€ components/              # HTML Partials (Injected at build time)
โ”‚   โ”œโ”€โ”€ hero.html
โ”‚   โ”œโ”€โ”€ footer.html
โ”‚   โ””โ”€โ”€ ...
โ”œโ”€โ”€ js/
โ”‚   โ”œโ”€โ”€ directionless.ts     # Main application entry point
โ”‚   โ””โ”€โ”€ modules/             # Segregated TS animation controllers
โ”œโ”€โ”€ styles/                  # Segmented CSS Architecture
โ”‚   โ”œโ”€โ”€ main.css             # CSS entry point
โ”‚   โ””โ”€โ”€ ...                  # Normalize, core, and scoped styles
โ”œโ”€โ”€ vendor/                  # Third-party isolated dependencies
โ”‚   โ”œโ”€โ”€ core-engine.js       # Core engine runtime map
โ”‚   โ””โ”€โ”€ engine_modules/      # Extracted individual module runtimes
โ”œโ”€โ”€ vite.config.js           # Build configuration & Custom Plugins
โ””โ”€โ”€ package.json             # NPM dependencies

๐Ÿš€ Installation & Usage

  1. Install Dependencies

    npm install
  2. Start the Development Server

    npm run dev
  3. Build for Production

    npm run build

๐Ÿ‘ฅ Contributors

This architectural refinement and project evolution is proudly authored and maintained by:

  • Rachit Tiwari
  • Mausam Kar
  • Sheikh Mohammad Warsi

๐Ÿ“œ License

This project is licensed under the AC-DC License.
See the LICENSE file for complete details and copyright permissions.

Contributors

ShaikhWarsi

Issues