The official website for the W3C Credentials Community Group, built with Eleventy (11ty) and deployed automatically via GitHub Actions.
- Node.js (version 22 or higher)
- npm or yarn
-
Clone the repository:
git clone https://github.com/w3c-ccg/w3c-ccg.org cd w3c-ccg.org
-
Install dependencies:
npm install
-
Start development server:
npm start
-
Build for production:
npm run build
The site will be available at http://localhost:8080
during development.
npm start
- Start development server with live reloadnpm run build
- Build the site for productionnpm run clean
- Clean the build directory
- Create a new Markdown file in the
src/
directory - Add front matter with layout and metadata:
--- layout: base.njk title: "Your Page Title" description: "Page description for SEO" ---
- Write your content in Markdown, HTML, or Nunjucks
Edit src/css/style.css
to customize the appearance. The CSS includes:
- Responsive design for all screen sizes
- Accessibility features (focus states, ARIA support)
- Modern design with W3C-appropriate styling
- Mobile-first approach
The site includes interactive features in src/js/main.js
:
- Mobile navigation toggle
- Dropdown menu support
- Smooth scrolling
- Keyboard navigation
- Accessibility enhancements
The site automatically deploys to GitHub Pages when you push to the main
branch. The GitHub Actions workflow:
- Checks out the code
- Sets up Node.js
- Installs dependencies
- Builds the site
- Deploys to GitHub Pages
To deploy manually:
- Build the site:
npm run build
- The built site will be in the
_site/
directory - Deploy the contents of
_site/
to your hosting provider
We welcome contributions from the community! Here's how to get involved:
- Fork the repository
- Create a feature branch:
git checkout -b feature/your-feature
- Make your changes
- Test thoroughly
- Commit with clear messages
- Push to your fork
- Create a Pull Request
- W3C Community Page: https://www.w3.org/community/credentials/
- Mailing List: [email protected]
- GitHub: https://github.com/w3c-ccg
- Meeting Info: Every Tuesday at 12:00 PM ET
This project is licensed under the W3C Software and Document License.
- The W3C Credentials Community Group members
- Contributors to the Eleventy framework
- The broader digital identity community
- All community members who provide feedback and contributions
Built with ❤️ by the W3C Credentials Community Group