Skip to content

TampaDevs/tampadevs

Repository files navigation

tampadevs.com

The official website for Tampa Devs, Tampa Bay's largest tech community.

Tech Stack

Getting Started

# Install dependencies
npm install

# Start development server
npm run dev

# Build for production
npm run build

# Deploy to Cloudflare
npm run deploy

Project Structure

tampadevs.com/
├── app/
│   ├── components/      # Reusable React components
│   ├── lib/             # Utilities, types, helpers
│   ├── routes/          # Page routes (file-based routing)
│   ├── entry.server.tsx # Server-side rendering entry
│   ├── root.tsx         # Root layout component
│   ├── routes.ts        # Route configuration
│   └── app.css          # Global styles + Tailwind
├── workers/
│   └── app.ts           # Cloudflare Worker entry point
├── public/              # Static assets
├── vite.config.ts       # Vite configuration
├── react-router.config.ts # React Router SSR config
├── wrangler.jsonc       # Cloudflare Workers config
└── tsconfig*.json       # TypeScript configuration

Routes

Path Description
/ Homepage
/about About Tampa Devs
/events Upcoming events
/groups Tech groups in Tampa Bay
/sponsors Sponsorship information
/contact Contact information

Development

Adding a New Route

  1. Create a new file in app/routes/ (e.g., new-page.tsx)
  2. Add the route to app/routes.ts
  3. Export meta function for SEO
  4. Export loader for server-side data fetching (optional)
  5. Export default component

Using Design System Components

import { Button, VideoHero, SponsorGrid } from "@tampadevs/react";

export default function MyPage() {
  return (
    <>
      <Button variant="primary" href="/link">Click Me</Button>
      <SponsorGrid
        title="Our Sponsors"
        sponsors={sponsors}
        showTierHeadings
      />
    </>
  );
}

Environment Variables

Cloudflare Workers environment variables are accessed via the loader context:

export async function loader({ context }: Route.LoaderArgs) {
  const apiKey = context.cloudflare.env.API_KEY;
  // ...
}

Deployment

Deployments are handled via Wrangler to Cloudflare Workers:

npm run deploy

The site is deployed to:

  • tampadevs.com
  • www.tampadevs.com

Related Projects

License

MIT

About

The Tampa Devs website, built with React

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors