A dynamic GitHub Pages project with multilanguage support and integrated Policy Vault API for terms of use.
- 🌐 Multilanguage Support (EN/DE)
- 📜 Dynamic Terms of Use via Policy Vault API
- 📱 Responsive Design
The application supports multiple languages through the lang
parameter. Currently supported languages:
- English (EN)
- German (DE)
Add the lang
parameter to the URL to switch languages:
https://your-github-pages-url/?lang=en // English version https://your-github-pages-url/?lang=de // German version
If no language parameter is provided, the application defaults to English.
The terms of use are dynamically fetched from the Policy Vault API, ensuring that users always see the most up-to-date version of the policies. The content updates automatically when changes are made in the Policy Vault system.
- Clone the repository:
git clone https://github.com/username/project-name.git```
## Configuration
Create a `.env` file in the root directory with the following variables:
```env
POLICY_VAULT_ENDPOINT=https://consent-development.farmunited.com/api
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature
) - Commit your changes (
git commit -m 'Add some amazing feature'
) - Push to the branch (
git push origin feature/amazing-feature
) - Open a Pull Request