Landing page for cooperativecodebase.com
https://cooperativecodebase.com
- TypeScript 98.1%
- CSS 1.3%
- HTML 0.5%
|
All checks were successful
deploy / deploy (push) Successful in 20s
Reviewed-on: #14 |
||
|---|---|---|
| .github/workflows | ||
| app | ||
| components | ||
| hooks | ||
| lib | ||
| public | ||
| src | ||
| .DS_Store | ||
| .gitignore | ||
| components.json | ||
| index.html | ||
| package-lock.json.disabled | ||
| package.json | ||
| pnpm-lock.yaml | ||
| pnpm-workspace.yaml | ||
| postcss.config.mjs | ||
| README.md | ||
| tailwind.config.ts | ||
| tsconfig.json | ||
| vite.config.ts | ||
Cooperative Codebase Website
A modern, glassmorphism-styled website for Cooperative Codebase - a New Orleans-based cooperative dedicated to building software solutions and growing the cooperative ecosystem.
🌟 Features
- Glassmorphism Design: Modern glass-like UI elements with backdrop blur effects
- Responsive Layout: Optimized for all device sizes
- Interactive Elements: Smooth hover animations and transitions
- Contact Form: Integrated contact form for project inquiries
- Performance Optimized: Built with Vite and React, optimized for speed
🎨 Design Elements
- Color Palette: Vibrant blues (#3B82F6, #60A5FA) with dark navy backgrounds
- Typography: Gradient text effects and clean, readable fonts
- Glass Effects: Translucent cards with backdrop blur and subtle borders
- Animations: Floating orbs, hover effects, and smooth transitions
🏗️ Tech Stack
- Framework: React with Vite, React Router
- Styling: Tailwind CSS with custom glassmorphism effects
- UI Components: shadcn/ui component library
- Icons: Lucide React icons
- TypeScript: Full type safety throughout
📁 Project Structure
├── index.html # Entry HTML and static meta
├── src/
│ ├── main.tsx # React entry, mounts App
│ ├── App.tsx # React Router routes
│ └── vite-env.d.ts # Vite client types
├── app/
│ ├── page.tsx # Main landing page
│ ├── contact/page.tsx # Contact page
│ ├── verify/page.tsx # Form test page
│ └── globals.css # Global styles and Tailwind imports
├── components/
│ ├── ui/ # shadcn/ui components
│ └── theme-provider.tsx # Theme context provider
├── public/
│ └── images/
│ └── logo.png # Cooperative Codebase logo
├── lib/
│ └── utils.ts # Utility functions
├── vite.config.ts # Vite and path alias config
└── tailwind.config.ts # Tailwind configuration
🚀 Getting Started
Prerequisites
- Node.js 18+
- npm or yarn package manager
Installation
- Clone the repository:
git clone https://github.com/cooperative-codebase/our_website.git
cd our_website
- Install pnpm
npm install -g pnpm
- Install dependencies:
pnpm install
- Build the project:
pnpm build
- Run the development server:
pnpm dev
- Open http://localhost:5173 in your browser (Vite default port).
📄 Page Sections
Hero Section
- Logo display with glassmorphism container
- Main heading with gradient text
- Descriptive tagline
- Location and service badges
About Section
- Organization story and mission
- Community focus highlight
- Connected community visualization
Mission & Values
- Four core pillars:
- Grow Coop Ecosystem
- Advance Coop Economy
- Fair Distribution
- Software Solutions
Services Section
- Cooperative Management Systems
- Political Organization Tools
- Consulting & Strategy
Contact Section
- Interactive contact form
- Email, phone, and project description fields
- Glassmorphism styling with color-coded focus states
Footer
- Logo display
- Copyright information
- Consistent glassmorphism design
🎯 Mission
Cooperative Codebase is dedicated to:
- Growing the cooperative ecosystem
- Advancing cooperative economy principles
- Ensuring fair distribution of products and services
- Building software solutions for cooperatives and political organizations
🛠️ Customization
Colors
The color palette can be customized in tailwind.config.ts:
- Primary blue: #3B82F6
- Accent blue: #60A5FA
- Background: Dark navy gradients
Glassmorphism Effects
Glass effects are achieved through:
backdrop-blur-xlfor blur effectsbg-black/30for translucent backgroundsborder-white/10for subtle borders
Content Updates
- Update text content directly in
app/page.tsx - Add or replace the logo at
public/images/logo.png(favicons, nav, and footer use this path; add this file before build/deploy to avoid broken images). - Modify contact form fields as needed
📱 Responsive Design
The website is fully responsive with breakpoints:
- Mobile: < 768px
- Tablet: 768px - 1024px
- Desktop: > 1024px
🔧 Development
Available Scripts
pnpm dev- Start development server (Vite)pnpm build- Build for production (output indist/)pnpm preview- Preview production build locallypnpm lint- Run TypeScript check (tsc --noEmit)
Code Style
- TypeScript for type safety
- ESLint for code quality
- Prettier for code formatting
- Tailwind CSS for styling
🌐 Deployment
Build output is in dist/. Configure your host (Vercel, Netlify, etc.) to:
- Build command:
pnpm build(orvite build) - Output/publish directory:
dist - SPA fallback: Serve
index.htmlfor all routes so React Router works
The repo includes public/_redirects (for Netlify) and vercel.json (for Vercel) so SPA fallback is applied automatically on those hosts.
📞 Contact
For questions about this website or Cooperative Codebase services:
- Email: hello@cooperativecodebase.org
- Phone: TBD
- Location: New Orleans, LA
📄 License
© 2026 Cooperative Codebase. All rights reserved.
Built with ❤️ for the cooperative movement