A static website for the Oakland Charter Reform Project to inform Oakland residents about charter reform initiatives.
- Responsive design for all device sizes
- Accessibility compliant with WCAG 2.1 AA standards
- Fast-loading static site
- Mobile-friendly navigation
- Clear sections explaining the charter reform initiative
To run this site locally:
- Clone this repository
- Open
index.htmlin your browser - Any changes to HTML, CSS, or JavaScript files will be reflected when you refresh the browser
- Go to your GitHub repository
- Click on "Settings"
- Scroll down to the "GitHub Pages" section
- Under "Source", select the branch you want to deploy (usually
mainormaster) - Click "Save"
- Your site will be published at
https://[your-username].github.io/[repository-name]/
- Create a
.github/workflowsdirectory in your repository - Add a file named
deploy.ymlwith the following content:
name: Deploy to GitHub Pages
on:
push:
branches:
- main # or master, depending on your default branch
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Deploy to GitHub Pages
uses: JamesIves/github-pages-deploy-action@4.1.4
with:
branch: gh-pages # The branch the action should deploy to
folder: . # The folder the action should deploy- Push this file to your repository
- GitHub Actions will automatically deploy your site whenever you push to the main branch
├── index.html # Main HTML file
├── css/
│ └── styles.css # Main stylesheet
├── js/
│ └── main.js # JavaScript functionality
├── images/
│ ├── Downtown/ # Downtown Oakland images
│ ├── Cranes/ # Oakland crane images
│ └── logo/ # Project logo
└── project_management/ # Project documentation
- Colors: Edit CSS variables in the
:rootsection ofcss/styles.css - Content: Update text in
index.html - Images: Replace images in the
imagesdirectory, then update references inindex.html
This site is compatible with:
- Chrome (latest)
- Firefox (latest)
- Safari (latest)
- Edge (latest)
- Mobile browsers (iOS Safari, Android Chrome)
Copyright © 2025 Oakland Charter Reform Project. All rights reserved.
For questions or suggestions, please contact: