Something went wrong. Try again.
Geeks Like You gly.cz
Something went wrong. Try again.
Files
- TypeScript 77%
- CSS 15%
- JavaScript 8%
README.md
Geeks Like You #
Our homepage, made with React, Eleventy, and Tailwind CSS.
Development #
# Install dependencies
pnpm install
# Start development server
pnpm dev
Open http://localhost:8080 to view your site.
Build #
pnpm build
The static site will be generated in the _site/ directory.
Project Structure #
src/
├── index.11ty.tsx # Pages (*.11ty.tsx become HTML pages)
├── client.tsx # Client-side hydration entry
├── components/ # React components
├── style/ # CSS files
├── utils/ # Utility functions
└── assets/ # Static assets (copied to _site/assets/)
How It Works #
- Build time: React components are rendered to static HTML using
renderToStaticMarkup - Client: The bundled
client.min.jshydrates interactive components - Output: Pure static files (HTML, CSS, JS) ready for any static host
Adding New Pages #
- Create a new
.11ty.tsxfile insrc/ - Export
datafor page metadata and a default component - If the page needs client-side interactivity, add the component to
client.tsxregistry