Skip to content

disclose/website

Repository files navigation

disclose.io Website

The official disclose.io website, built with Hugo and Tailwind CSS.

Development

Prerequisites

Setup

# Install dependencies
npm install

# Start development server
npm run dev

This starts:

Build

# Production build
npm run build

# Preview production build
npm run preview

Project Structure

disclose-io-hugo/
├── assets/css/         # Tailwind CSS source
├── config/_default/    # Hugo configuration
│   ├── hugo.toml       # Main config
│   ├── menus.toml      # Navigation menus
│   └── params.toml     # Site parameters
├── content/
│   ├── docs/           # Documentation pages
│   ├── faqs/           # FAQ entries (headless bundle)
│   ├── _index.md       # Homepage
│   ├── contact.md      # Contact page
│   ├── history.md      # History timeline
│   └── programs.md     # VDP programs page
├── data/
│   ├── changelog.yaml  # History timeline data
│   ├── navigation/     # Navigation data
│   └── videos.yaml     # Video embeds
├── layouts/
│   ├── _default/       # Base templates
│   ├── docs/           # Documentation layouts
│   ├── partials/       # Reusable components
│   └── shortcodes/     # Content shortcodes
└── static/
    ├── css/            # Compiled CSS
    ├── standalone/     # Iframe content
    └── uploads/        # Images and assets

Deployment

The site deploys to GitHub Pages via GitHub Actions. Push to main to trigger deployment.

Design

The site uses the policymaker.disclose.io design system:

  • Primary color: Purple #673ab6
  • Typography: Noto Sans
  • Framework: Tailwind CSS

Contributing

See the main disclose.io contribution guide.

License

MIT License - See LICENSE file

About

The current website at https://disclose.io.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors