Static site for codefrydev.in — free online tools, games, AI apps, and creative resources. Built with Hugo and Tailwind CSS, deployed to GitHub Pages.
- Modern homepage — category grids, search palette, scroll sections, dark/light theme
- Browse —
/browse/index plus category pages (creative-assets,tools-utilities,games-fun,site-links,containers-packages) - Hubs — Games, AI, Design Lab, Store, Search
- CFDDC — year-by-year “developer conference” pages at
/cfddc/fed fromdata/history.yaml - History timeline —
/history/ - Ladybug easter egg — homepage only; click Beta in the nav to reveal
- Press, About us, team profiles, FAQ, and more
| Layer | Tools |
|---|---|
| Site generator | Hugo Extended 0.160.1 (see .github/workflows/hugo.yaml) |
| Styling | Tailwind CSS 3 → static/css/home-tailwind.css |
| Dark theme | assets/css/modern-dark-theme.css (copied to static/css/ on build) |
| Icons | Phosphor Icons (CDN) |
| Deploy | GitHub Actions → GitHub Pages |
- Hugo Extended (0.160+ recommended)
- Node.js 18+ and npm (for CSS build)
# Install JS dependencies (first time)
npm install
# Build Tailwind + dark theme CSS
npm run build:css
# Watch CSS while editing (optional, second terminal)
npm run watch:css
# Run dev server
hugo serverOpen http://localhost:1313/. After changing templates or assets/css/tailwind-input.css, run npm run build:css (or use watch:css).
Production build:
npm run build:css && hugo --minifyOutput is written to public/.
content/ Page front matter (Markdown/HTML)
data/ YAML data (home categories, history, browse meta, FAQ, …)
layouts/ Hugo templates (home, browse, cfddc, hubs, modern shell)
layouts/partials/ Reusable partials (nav, tool cards, ladybug, …)
static/ CSS, JS, images (served as-is)
assets/css/ Tailwind source + modern-dark-theme source
| File | Purpose |
|---|---|
data/home.yaml |
Homepage tool categories and cards |
data/homepage.yaml |
Hero slides, nav mega menu, testimonials, FAQ copy |
data/history.yaml |
Timeline entries (also powers CFDDC year pages) |
data/cfddc.yaml |
Optional per-year CFDDC taglines/dates |
data/store.yaml |
Mobile store listings |
data/games.yaml, data/ai.yaml, etc. |
Hub page content |
Hub (e.g. a top-level section like /games/):
- Add
content/<section>/_index.mdwith title and description. - Add
data/<section>.yamlwith items (name,icon,url, …). - Add
layouts/<section>/template (see existinggames,ai,store). - Link from
data/homepage.yamlnav mega menu if needed.
Browse category (under /browse/<slug>/):
- Add tools to a category in
data/home.yaml. - Create
content/browse/<slug>/_index.mdwithcategory_slugmatching the YAML slug. - Ensure
layouts/browse/list.htmlroutes the category (usesbrowse-categorypartial).
When data/history.yaml includes dates for a new year:
- Create
content/cfddc/<year>/_index.mdwithyear: "<year>"in front matter. - Optionally add copy under
years.<year>indata/cfddc.yaml. - The hub at
/cfddc/lists years automatically from history dates.
- Partial:
layouts/partials/ladybug.html - Assets:
static/css/ladybug.css,static/js/ladybug.js - Included only on
layouts/index.html - Beta in the nav (
#ladybug-reveal-beta) reveals the easter egg on the homepage
- Edit Tailwind utilities and components in
assets/css/tailwind-input.css. - Edit dark-mode overrides in
assets/css/modern-dark-theme.css. - Always run
npm run build:cssbefore committing CSS-related changes (CI runs this on deploy).
Pushes to main trigger .github/workflows/hugo.yaml: install Hugo → npm run build:css → hugo --minify → deploy public/ to GitHub Pages.
Content and branding © CodeFryDev. See repository settings for contribution terms.