Skip to content

codezelat/rands-static-site

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

26 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

RANDS Logo

RANDS โ€” Rizz & Slay

Culture First Content Studio
A production-first content studio that turns brands into culture in seconds.

View Live Site โ€ข Features โ€ข Tech Stack โ€ข Getting Started โ€ข Project Structure


๐Ÿ“– About

RANDS (Rizz & Slay) is a modern, brutalist-inspired marketing website for a content studio specializing in short-form video production, TikTok marketing, and viral campaigns. The site showcases a bold design aesthetic with interactive 3D elements, smooth animations, and a focus on Gen Z/millennial audiences.

โœจ Features

๐ŸŽจ Design & UI

  • Brutalist Design System โ€” Bold typography, thick borders, hard shadows, and high-contrast color palette
  • Custom Color Palette โ€” Toxic Lime (#CCFF00), Hot Magenta (#FF00FF), Warning Orange (#FF6600)
  • Responsive Design โ€” Fully responsive across all device sizes
  • Dark Mode Support โ€” Automatic dark mode based on system preferences
  • Custom Typography โ€” Inter (body) + Oswald (display) font pairing

๐Ÿš€ Interactive Elements

  • 3D Hero Scene โ€” Interactive Three.js scene with liquid metal sphere, orbital rings, and particle effects
  • Smooth Scrolling โ€” Lenis-powered smooth scroll experience
  • GSAP Animations โ€” Scroll-triggered animations and kinetic typography
  • Framer Motion โ€” Page transitions and micro-interactions
  • Video Player โ€” Custom video player with play/pause and mute controls

๐Ÿ“„ Pages

  • Homepage โ€” Hero, social proof, services, work grid, testimonials, and CTA sections
  • Brief Page โ€” Multi-step form wizard for project submissions
  • 404 Page โ€” Custom branded error page with personality

๐Ÿ”ง Technical Features

  • SEO Optimized โ€” Comprehensive meta tags, Open Graph, Twitter Cards, robots.txt, and sitemap.xml
  • Google Analytics โ€” Integrated tracking with GA4
  • Form Validation โ€” Zod schema validation with React Hook Form
  • Dynamic Imports โ€” Code splitting for optimal performance
  • Image Optimization โ€” Next.js Image component with responsive sizing

๐Ÿ›  Tech Stack

Category Technology
Framework Next.js 16 (App Router)
Language TypeScript 5
Styling Tailwind CSS 4
3D Graphics Three.js + React Three Fiber + Drei
Animation GSAP + Framer Motion
Smooth Scroll Lenis
Forms React Hook Form + Zod
Icons Lucide React
UI React 19
Linting ESLint 9

๐Ÿ“ Project Structure

rands-static-site/
โ”œโ”€โ”€ app/                          # Next.js App Router
โ”‚   โ”œโ”€โ”€ layout.tsx                # Root layout with fonts, metadata, and providers
โ”‚   โ”œโ”€โ”€ page.tsx                  # Homepage
โ”‚   โ”œโ”€โ”€ not-found.tsx             # Custom 404 page
โ”‚   โ”œโ”€โ”€ globals.css               # Global styles and Tailwind theme
โ”‚   โ”œโ”€โ”€ robots.ts                 # SEO robots.txt configuration
โ”‚   โ”œโ”€โ”€ sitemap.ts                # Dynamic sitemap generation
โ”‚   โ””โ”€โ”€ brief/
โ”‚       โ””โ”€โ”€ page.tsx              # Brief submission page
โ”‚
โ”œโ”€โ”€ components/
โ”‚   โ”œโ”€โ”€ GoogleAnalytics.tsx       # GA4 integration
โ”‚   โ”œโ”€โ”€ brief/
โ”‚   โ”‚   โ””โ”€โ”€ BriefForm.tsx         # Multi-step form wizard
โ”‚   โ”œโ”€โ”€ home/
โ”‚   โ”‚   โ”œโ”€โ”€ Hero.tsx              # Hero section with 3D scene
โ”‚   โ”‚   โ”œโ”€โ”€ Scene.tsx             # Three.js 3D scene
โ”‚   โ”‚   โ”œโ”€โ”€ SocialProof.tsx       # Client marquee
โ”‚   โ”‚   โ”œโ”€โ”€ WhatWeDo.tsx          # Services overview
โ”‚   โ”‚   โ”œโ”€โ”€ FeaturedReel.tsx      # Video showcase
โ”‚   โ”‚   โ”œโ”€โ”€ WorkGrid.tsx          # Portfolio grid
โ”‚   โ”‚   โ”œโ”€โ”€ ServicesCheatsheet.tsx # Services breakdown
โ”‚   โ”‚   โ”œโ”€โ”€ ProcessStrip.tsx      # Process steps
โ”‚   โ”‚   โ””โ”€โ”€ Testimonials.tsx      # Client testimonials carousel
โ”‚   โ”œโ”€โ”€ layout/
โ”‚   โ”‚   โ”œโ”€โ”€ Header.tsx            # Navigation header
โ”‚   โ”‚   โ””โ”€โ”€ Footer.tsx            # Site footer
โ”‚   โ””โ”€โ”€ ui/
โ”‚       โ”œโ”€โ”€ Button.tsx            # Button component with variants
โ”‚       โ””โ”€โ”€ Section.tsx           # Section wrapper component
โ”‚
โ”œโ”€โ”€ utils/
โ”‚   โ”œโ”€โ”€ cn.ts                     # Class name utility (clsx + tailwind-merge)
โ”‚   โ””โ”€โ”€ lenis.ts                  # Lenis smooth scroll export
โ”‚
โ”œโ”€โ”€ public/
โ”‚   โ”œโ”€โ”€ images/
โ”‚   โ”‚   โ””โ”€โ”€ logo.png              # Brand logo
โ”‚   โ””โ”€โ”€ videos/
โ”‚       โ””โ”€โ”€ new.mp4               # Featured reel video
โ”‚
โ”œโ”€โ”€ eslint.config.mjs             # ESLint configuration
โ”œโ”€โ”€ next.config.ts                # Next.js configuration
โ”œโ”€โ”€ postcss.config.mjs            # PostCSS configuration
โ”œโ”€โ”€ tailwind.config.ts            # Tailwind CSS configuration (if applicable)
โ”œโ”€โ”€ tsconfig.json                 # TypeScript configuration
โ””โ”€โ”€ package.json                  # Dependencies and scripts

๐Ÿš€ Getting Started

Prerequisites

  • Node.js 18.17 or later
  • npm, yarn, pnpm, or bun

Installation

  1. Clone the repository

    git clone https://github.com/codezelat/rands-static-site.git
    cd rands-static-site
  2. Install dependencies

    npm install
    # or
    yarn install
    # or
    pnpm install
    # or
    bun install
  3. Run the development server

    npm run dev
    # or
    yarn dev
    # or
    pnpm dev
    # or
    bun dev
  4. Open your browser

    Navigate to http://localhost:3000

Available Scripts

Command Description
npm run dev Start development server with hot reload
npm run build Build production-ready application
npm run start Start production server
npm run lint Run ESLint for code quality

๐ŸŽจ Design System

Color Palette

Color Hex Usage
Toxic Lime #CCFF00 Primary accent, CTAs, highlights
Hot Magenta #FF00FF Secondary accent, hover states
Warning Orange #FF6600 Tertiary accent, alerts
Off White #F5F5F5 Light backgrounds
Soft Grey #D4D4D4 Muted text, borders
Carbon Black #111111 Dark backgrounds, text

Typography

  • Display Font: Oswald โ€” Bold, uppercase headlines
  • Body Font: Inter โ€” Clean, readable body text

Brutalist Utilities

.border-thick        /* 3px solid border */
.border-thick-top    /* Top border only */
.border-thick-bottom /* Bottom border only */
.box-shadow-hard     /* 6px hard shadow offset */
.text-display        /* Display font with uppercase */

๐Ÿ”ง Configuration

Environment Variables

Copy .env.example to .env.local and fill in values:

# Analytics (optional - already configured)
NEXT_PUBLIC_GA_ID=G-XXXXXXXXXX

# Site URL
NEXT_PUBLIC_SITE_URL=https://rands.lk

# Cloudflare Turnstile (required for contact + brief forms)
NEXT_PUBLIC_TURNSTILE_SITE_KEY=1x00000000000000000000AA
TURNSTILE_SECRET_KEY=1x0000000000000000000000000000000AA

# Brevo email config (required for contact + brief form submissions)
BREVO_API_KEY=xkeysib-REPLACE_ME
BREVO_FROM_NAME=RANDS Website

# Optional shared fallback recipient
BREVO_TO_EMAIL=you@email.com

Image Domains

External image domains are configured in next.config.ts:

images: {
  remotePatterns: [
    {
      protocol: "https",
      hostname: "images.unsplash.com",
      pathname: "/**",
    },
  ],
}

๐Ÿ“ฑ Pages Overview

Homepage (/)

  • Hero: Animated headline with interactive 3D scene
  • Social Proof: Infinite marquee of client logos
  • What We Do: Service cards with hover effects
  • Featured Reel: Video player with custom controls
  • Work Grid: Portfolio showcase with image overlays
  • Services Cheatsheet: Quick service breakdown
  • Process Strip: 4-step process visualization
  • Testimonials: Horizontal scroll testimonial cards
  • Footer: CTA, contact details, navigation, and social links
  • Contact Modal: Global popup contact form with Turnstile verification

Brief Page (/brief)

  • Multi-step Form: 3-step wizard for project submissions
  • Form Validation: Real-time validation with helpful error messages
  • Progress Indicator: Visual progress bar
  • Success State: Confirmation message on submission

404 Page

  • Custom Design: Branded error page with personality
  • Clear CTA: Easy navigation back to homepage

๐ŸŒ SEO

The site includes comprehensive SEO configuration:

  • Meta Tags: Title, description, keywords
  • Open Graph: Social sharing previews
  • Twitter Cards: Twitter-specific meta tags
  • Robots.txt: Search engine crawling rules
  • Sitemap.xml: Dynamic sitemap generation
  • Structured Data Ready: Easy to extend with JSON-LD

๐Ÿ“Š Analytics

Google Analytics 4 is integrated via the GoogleAnalytics component:

<GoogleAnalytics /> // Loads gtag.js with configured tracking ID

๐Ÿค Contributing

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

๐Ÿ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.

๐Ÿ™ Acknowledgments

  • Next.js โ€” The React framework for production
  • Tailwind CSS โ€” Utility-first CSS framework
  • React Three Fiber โ€” React renderer for Three.js
  • GSAP โ€” Professional animation library
  • Framer Motion โ€” Production-ready motion library
  • Lenis โ€” Smooth scroll library
  • Lucide โ€” Beautiful & consistent icons

Developed with โค๏ธ by Codezela Technologies

About

Official website for Rizz and Slayy, a subsidiary of Codezela Technologies

Topics

Resources

License

Stars

Watchers

Forks

Contributors

โšก