Skip to content

Latest commit

Β 

History

History
115 lines (81 loc) Β· 3.05 KB

File metadata and controls

115 lines (81 loc) Β· 3.05 KB

JSConf Chile πŸ‡¨πŸ‡±

JSConf Chile Preview

JSConf Chile website built with modern web technologies, featuring a beautiful design and optimized performance.

πŸš€ Tech Stack

  • Astro - Modern static site generator with partial hydration
  • TypeScript - Type-safe JavaScript development
  • Tailwind CSS - Utility-first CSS framework
  • Bun - Fast JavaScript runtime and package manager

πŸ—οΈ Architecture

This project follows Atomic Design principles for component organization:

src/components/
β”œβ”€β”€ atoms/          # Basic building blocks (buttons, inputs, etc.)
β”œβ”€β”€ molecules/      # Simple combinations of atoms
β”œβ”€β”€ organisms/      # Complex components made of molecules/atoms
└── templates/      # Page-level components and layouts

🎨 Features

  • Modern Design System - Atomic Design architecture
  • Performance Optimized - Multiple image formats (AVIF, WebP, JPG)
  • Responsive Gallery - Dynamic masonry layout with hover effects
  • Type Safety - Full TypeScript integration
  • Modern Fonts - Custom Magra font family
  • YouTube Integration - Lite YouTube component for performance

πŸ“¦ Installation

# Install dependencies
bun install

# Start development server
bun run dev

# Build for production
bun run build

# Preview production build
bun run preview

🎯 Project Structure

β”œβ”€β”€ public/
β”‚   β”œβ”€β”€ preview.webp           # Preview image
β”‚   β”œβ”€β”€ fonts/                 # Custom fonts (Magra)
β”‚   └── jsconf/gallery/        # Event gallery images
β”œβ”€β”€ src/
β”‚   β”œβ”€β”€ components/
β”‚   β”‚   β”œβ”€β”€ atoms/             # Basic components
β”‚   β”‚   β”œβ”€β”€ molecules/         # Gallery, forms, etc.
β”‚   β”‚   β”œβ”€β”€ organisms/         # Complex sections
β”‚   β”‚   └── templates/         # Page templates
β”‚   β”œβ”€β”€ layouts/               # Page layouts
β”‚   β”œβ”€β”€ pages/                 # Astro pages
β”‚   └── styles/                # Global styles
└── astro.config.mjs           # Astro configuration

πŸ–ΌοΈ Image Optimization

The project uses multiple image formats for optimal performance:

  • AVIF - Modern format with best compression
  • WebP - Widely supported modern format
  • JPG/PNG - Fallback for older browsers

Gallery component automatically groups images by filename and serves the best format available.

🎬 Components

Gallery Component

Dynamic masonry gallery with:

  • Automatic image grouping by filename
  • Multiple format support (AVIF, WebP, JPG)
  • Hover animations and effects
  • Responsive column layout

Picture Component

Optimized image component with:

  • Automatic format selection
  • Lazy loading
  • Responsive sizing
  • Fallback support

πŸš€ Development

# Run development server
bun run dev

# Access at http://localhost:4321

πŸ“ License

MIT License


Built with ❀️ for the Darío Espinoza