This repository hosts the official marketing website for Fireact.dev, built with Hugo and the Universal theme.
The marketing website showcases Fireact.dev features, provides information for potential users, and serves as the main entry point for the project.
Visit the live website at: fireact.dev
- Hugo: Static site generator
- Hugo Universal Theme: Responsive business theme
- Markdown: Content format
- Bootstrap: CSS framework (via theme)
- JavaScript: Interactive features
- Hugo (v0.110.0 or higher) - Installation Guide
- Git: For version control
macOS:
brew install hugoWindows:
choco install hugo
# or
scoop install hugoLinux:
snap install hugoVerify installation:
hugo version# Navigate to website directory
cd website
# Initialize theme submodule
git submodule update --init --recursive# Start Hugo development server
hugo server
# With drafts
hugo server -DThe site will be available at: http://localhost:1313
# Build static site
hugo
# Output will be in public/ directorywebsite/
├── content/ # Website content (Markdown)
│ ├── _index.md # Homepage
│ ├── about.md # About page
│ ├── features.md # Features page
│ ├── pricing.md # Pricing page
│ └── blog/ # Blog posts
├── themes/ # Hugo themes
│ └── hugo-universal-theme/ # Universal theme (submodule)
├── static/ # Static assets
│ ├── css/ # Custom styles
│ ├── js/ # Custom scripts
│ └── img/ # Images
├── layouts/ # Custom layout overrides
├── config.toml # Hugo configuration
└── README.md # This file
- Homepage: Edit
content/_index.md - About: Edit
content/about.md - Features: Edit
content/features.md - Pricing: Edit
content/pricing.md
# Create new blog post
hugo new blog/my-post.mdFront matter template:
---
title: "Post Title"
date: 2024-01-01
author: "Author Name"
description: "Brief description"
featured_image: "/img/post-image.jpg"
tags: ["firebase", "react", "saas"]
---
Post content here...Place images in static/img/ and reference:
Main configuration in config.toml:
baseURL = "https://fireact.dev/"
languageCode = "en-us"
title = "Fireact.dev"
theme = "hugo-universal-theme"
[params]
description = "Open-source SaaS framework"
author = "Fireact.dev Team"
# Contact info
email = "contact@fireact.dev"
# Social media
github = "https://github.com/fireact-dev"
# Features
[params.features]
enable = true
# Testimonials
[params.testimonials]
enable = trueAdd custom CSS in static/css/custom.css:
/* Custom styles */
.custom-section {
/* Your styles */
}Link in config.toml:
[params]
custom_css = ["css/custom.css"]Override theme layouts by creating files in layouts/ matching the theme structure:
layouts/
├── index.html # Homepage override
├── _default/
│ └── baseof.html # Base template override
└── partials/
└── nav.html # Navigation override
Modify theme colors in static/css/custom.css:
:root {
--primary-color: #your-color;
--secondary-color: #your-color;
}Configure sections in config.toml:
[[params.features.items]]
title = "Feature Title"
description = "Feature description"
icon = "fa fa-icon"
[[params.testimonials.items]]
text = "Testimonial text"
name = "Customer Name"
position = "Title"
company = "Company"Configure menu in config.toml:
[[menu.main]]
name = "Home"
url = "/"
weight = 1
[[menu.main]]
name = "Features"
url = "/features/"
weight = 2
[[menu.main]]
name = "Docs"
url = "https://docs.fireact.dev"
weight = 3Configure footer in config.toml:
[params.footer]
enable = true
copyright = "© 2024 Fireact.dev"
[[params.footer.links]]
title = "Resources"
[[params.footer.links.items]]
name = "Documentation"
url = "https://docs.fireact.dev"# Build
hugo
# Deploy
firebase deploy --only hosting- Connect repository to Netlify
- Build command:
hugo - Publish directory:
public - Deploy
# Build
hugo
# Push to gh-pages
git subtree push --prefix public origin gh-pages- Import repository to Vercel
- Framework: Hugo
- Build command:
hugo - Output directory:
public
Hugo automatically reloads when files change:
hugo server
# Make changes and see them instantlyPreview draft content:
hugo server -DMark content as draft in front matter:
---
draft: true
---Schedule future posts:
---
date: 2024-12-31
---Build with future content:
hugo --buildFuturecd themes/hugo-universal-theme
git checkout main
git pull origin main
cd ../..
git add themes/hugo-universal-theme
git commit -m "website: update theme"Before adding images, optimize them:
# Install imagemin-cli
npm install -g imagemin-cli
# Optimize
imagemin static/img/*.{jpg,png} --out-dir=static/img/# Check for broken links
hugo server &
wget --spider -r -nd -nv -o wget.log http://localhost:1313
grep -B 2 '404' wget.logInitialize submodules:
git submodule update --init --recursiveClean and rebuild:
rm -rf public/
hugo --cleanDestinationDirUse different port:
hugo server -p 1314Clear browser cache or use incognito mode.
- Clear and concise
- Professional tone
- Action-oriented
- Benefits-focused
- Use descriptive titles
- Add meta descriptions
- Include alt text for images
- Use proper heading hierarchy
- Internal and external links
- Use high-quality images
- Optimize for web (< 200KB)
- Use WebP format when possible
- Include descriptive filenames
- Add alt text
- Hugo Documentation: https://gohugo.io/documentation/
- Universal Theme: https://github.com/devcows/hugo-universal-theme
- Hugo Forum: https://discourse.gohugo.io/
- Main Project: https://github.com/fireact-dev/fireact.dev
To contribute to the website:
- Fork the repository
- Create a feature branch
- Make changes
- Test locally with
hugo server - Submit pull request
See CONTRIBUTING.md for detailed guidelines.
This website is open source and available under the MIT License.