This is the official website for FRC Team 4774, The Drop Bears, from Sydney, Australia. The site is built using 11ty (Eleventy) as a static site generator and Decap CMS (formerly Netlify CMS) for content management.
- Responsive Design: Mobile-friendly layouts built with Tailwind CSS
- Content Management: Edit content through a user-friendly CMS
- Fast Performance: Static site generation for optimal load times
- SEO Optimized: Built-in meta tags and semantic HTML
- Accessible: WCAG-compliant with proper semantic markup
This project uses Phosphor Icons for consistent, scalable vector icons throughout the interface.
To use an icon in your templates, add an <i>
element with the appropriate Phosphor class:
<!-- Regular weight icons (default) -->
<i class="ph ph-house"></i>
<!-- Fill style icons -->
<i class="ph-fill ph-heart"></i>
<!-- With additional styling -->
<i class="ph ph-arrow-left w-4 h-4 mr-2 text-primary"></i>
Phosphor Icons comes with multiple weights. The project currently includes:
- Regular (default):
ph ph-icon-name
- Fill:
ph-fill ph-icon-name
To add other weights (Thin, Light, Bold, Duotone), update the imports in src/_includes/partials/head.njk
.
For a complete list of available icons and more documentation:
The site includes the following content collections:
- Pages (
src/_pages/
) - Robots (
src/_robots/
) - Sponsors (
src/_sponsors/
) - Notices (
src/_notices/
) - Settings (
src/_data/
)
Blog posts have been removed from this site.
- Node.js (v14 or newer)
- npm or yarn
-
Clone the repository:
git clone https://github.com/thedropbears/team-website.git cd team-website
-
Install dependencies:
npm install
-
Start the development server:
npm start
-
Open your browser and visit:
http://localhost:8080
-
For local CMS testing, run the Netlify CMS proxy server in a separate terminal:
npx netlify-cms-proxy-server
To build the site for production:
npm run build
The built site will be in the _site
directory.
The site is configured for deployment on either Cloudflare Pages or Netlify:
- Connect your GitHub repository to Cloudflare Pages or Netlify
- Set the build command to
npm run build
- Set the publish directory to
_site
You can edit content through the CMS at /admin/
on your deployed site or local development environment.
This project is licensed under the MIT License - see the LICENSE file for details.