Skip to content

Latest commit

Β 

History

History
109 lines (75 loc) Β· 2.59 KB

File metadata and controls

109 lines (75 loc) Β· 2.59 KB

DSTRBTD Main Site

The main marketing/landing site for DSTRBTD - Trust-less Decentralised Distributed Training on Bittensor's Subnetwork 38.

Features

  • 🎨 Modern dark theme matching the dashboard aesthetic
  • 🌐 Animated distributed network visualization on the hero section
  • πŸ“± Fully responsive design
  • ⚑ Built with React + Vite for fast performance
  • 🎯 SEO-friendly structure

Getting Started

Installation

npm install

Development

npm run dev

The site will be available at http://localhost:3001

Build for Production

npm run build

The built files will be in the dist directory.

Preview Production Build

npm run preview

Project Structure

MainFrontend/
β”œβ”€β”€ public/           # Static assets (logo, images, etc.)
β”œβ”€β”€ src/
β”‚   β”œβ”€β”€ components/   # React components
β”‚   β”‚   β”œβ”€β”€ DistributedNetwork.jsx  # Animated network visualization
β”‚   β”‚   β”œβ”€β”€ Navigation.jsx
β”‚   β”‚   β”œβ”€β”€ Hero.jsx
β”‚   β”‚   β”œβ”€β”€ Features.jsx
β”‚   β”‚   β”œβ”€β”€ About.jsx
β”‚   β”‚   └── Footer.jsx
β”‚   β”œβ”€β”€ pages/        # Page components
β”‚   β”‚   └── Home.jsx
β”‚   β”œβ”€β”€ App.jsx       # Main app component
β”‚   β”œβ”€β”€ App.css       # Main styles
β”‚   β”œβ”€β”€ index.css     # Global styles
β”‚   └── main.jsx      # Entry point
β”œβ”€β”€ index.html
β”œβ”€β”€ package.json
└── vite.config.js

Customization

Adding Your Webflow Content

  1. Replace placeholder content: Edit the components in src/components/ to add your actual content from Webflow
  2. Add images: Place images in public/ and reference them as /image-name.png
  3. Add new sections: Create new components in src/components/ and import them in src/pages/Home.jsx
  4. Styling: Modify src/App.css to match your design needs

Design System

The site uses CSS variables defined in src/index.css:

  • --bg-primary: Main background (#0a0a0a)
  • --bg-secondary: Secondary background (#151515)
  • --text-primary: Primary text (#ffffff)
  • --text-secondary: Secondary text (#e0e0e0)
  • --accent-blue: Blue accent (#60a5fa)
  • --accent-green: Green accent (#34d399)

Deployment

Vercel (Recommended)

  1. Install Vercel CLI: npm i -g vercel
  2. Run vercel in the project directory
  3. Follow the prompts

Netlify

  1. Build the project: npm run build
  2. Deploy the dist folder to Netlify

Other Static Hosting

Build the project and deploy the dist folder to any static hosting service.

License

Copyright Β© 2025 DSTRBTD. All rights reserved.