# We Are Not Afraid - Static Archive

[![Static Site](https://img.shields.io/badge/Static-Site-blue.svg)](http://wearenotafraid.fidh.org)
[![Archive](https://img.shields.io/badge/Status-Archive-orange.svg)](http://wearenotafraid.fidh.org)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](LICENSE)

**This is a static archive.** Content is no longer updated.

## Overview

We Are Not Afraid (Nous n'avons pas peur) is a static PHP/HTML archive of the FIDH (International Federation for Human Rights) campaign highlighting the repression of land rights defenders worldwide.

Land rights defenders face increasing repression globally. Despite their crucial role in protecting communities and the environment, they are often victims of intimidation, judicial persecution, assassination, and other forms of human rights violations.

The site "We Are Not Afraid" shines a light on these situations and calls to:
- **Protect land rights defenders**
- **End impunity for violations of their rights**
- **Recognize their essential role in society**

### Key Statistics (from the site)
- 43 assassinations of land rights defenders since 2011
- 123 defenders judicially harassed since 2011
- 95% of violations remain unpunished

> **📁 ARCHIVE NOTICE**: This is a static archive. The content is preserved for historical reference and is no longer actively maintained or updated.

## Languages

The site is available in the following languages:
- **Français** (French) - `fr.html`
- **Español** (Spanish) - `es.html`
- **English** - `en.html`

## Project Structure

```
wearenotafraid/
├── fr.html               # Main page (French)
├── es.html               # Main page (Spanish)
├── en.html               # Main page (English)
├── configGlobals.php     # Global variables
├── nginx.conf            # Nginx configuration (alternative)
├── .htaccess             # Apache configuration
├── robots.txt            # Crawler instructions
├── ai.txt                # AI/LLM crawler instructions
├── humans.txt            # Humans.txt file
├── bootstrap/            # Bootstrap 3 framework
│   ├── css/
│   ├── js/
│   └── fonts/
├── graphics/             # Images and logos
│   ├── FIDH_Logo.svg
│   ├── OBS_Logo.svg
│   ├── OMCT_Logo.svg
│   └── ...
├── scripts/              # Custom JavaScript
│   └── plugins/
├── styles/               # Custom CSS
│   └── frontMain.css
├── sitemap.xml           # Sitemap for search engines
├── security.txt          # Security policy (RFC 9116)
├── SECURITY.md           # Security vulnerability reporting
├── CONTRIBUTING.md       # Contribution guidelines
├── CODE_OF_CONDUCT.md    # Code of conduct
├── .gitignore            # Git ignore rules
├── .pre-commit-config.yaml # Pre-commit hooks configuration
├── README.md             # This file
└── LICENSE               # License information
```

## Security Features

This site implements comprehensive security best practices:

### HTTP Security Headers

- **Content Security Policy (CSP)**: Restricts sources for scripts, styles, and other resources
- **X-XSS-Protection**: Enables browser XSS filtering
- **X-Content-Type-Options**: Prevents MIME type sniffing
- **X-Frame-Options**: Prevents clickjacking attacks
- **Referrer-Policy**: Controls referrer information
- **Permissions-Policy**: Restricts browser features
- **Cross-Origin Policies**: COEP, COOP, CORP for security isolation

### Server Configuration

- Blocked access to sensitive files and directories
- Disabled directory listing
- Disabled server signature
- Protection against common web exploits
- Hotlinking protection
- Proper MIME types configuration

### Privacy

- **No tracking**: No analytics, tracking scripts, or cookies
- **GDPR compliant**: No personal data collection
- **Archive status**: Clearly marked as static archive with no active processing

## Development

### Prerequisites

- Apache 2.4+ (recommended for .htaccess support) or Nginx
- PHP 5.6+ (required for local development server)

### Installation

1. Clone the repository:
   ```bash
   git clone https://github.com/fidh/wearenotafraid.git
   cd wearenotafraid
   ```

2. Ensure your web server is configured with the following modules enabled (if using Apache):
   - `mod_headers`
   - `mod_expires`
   - `mod_deflate`
   - `mod_rewrite`

3. Point your web server document root to the repository root directory.

### Local Development

For local testing, you can use one of these methods:

```bash
# PHP built-in server
php -S 0.0.0.0:8000

# Python 3
python3 -m http.server 8000

# Node.js (with http-server)
npx http-server
```

Then open `http://localhost:8000` in your browser.

### Version Control

This project uses [pre-commit](https://pre-commit.com) for code quality checks:

1. Install pre-commit:
   ```bash
   pip install pre-commit
   ```

2. Install the hooks:
   ```bash
   pre-commit install
   ```

3. Run manually on all files:
   ```bash
   pre-commit run --all-files
   ```

The hooks include:
- JSON validation
- YAML validation
- Trailing whitespace removal
- End-of-file fixer
- Mixed line ending detection
- Large file detection
- Merge conflict detection
- Custom hooks (no console.log, no debugger, TODO checks, no IE compatibility)

### Commit Message Format

This project follows [Conventional Commits](https://www.conventionalcommits.org/) standard. Use one of these prefixes:
- `feat:` - New feature
- `fix:` - Bug fix
- `docs:` - Documentation changes
- `refactor:` - Code refactoring
- `chore:` - Maintenance tasks
- `style:` - Formatting changes
- `test:` - Adding tests

## Deployment

This is a static archive website. Deployment options include:

### Manual Deployment
1. Ensure all changes are committed to the repository
2. Pull changes on the production server
3. Point web server to the repository root

### Apache Server
1. Point document root to the repository root directory
2. Ensure PHP is installed
3. The `.htaccess` file is already configured for clean URLs

### Nginx Server
1. Copy `nginx.conf` to your Nginx configuration
2. Adjust paths and SSL certificates
3. Point document root to the repository root directory
4. Ensure PHP-FPM is installed and configured

### Recommended Hosting
- Apache server with PHP
- Infomaniak
- OVH
- Dedicated server
- Any shared hosting with PHP

## Features

- **Multilingual**: French, Spanish, English
- **Interactive Map**: Visualization of repression cases worldwide
- **Infographics**: Statistics on repression of defenders
- **Social Sharing**: Integration with Twitter, Facebook, etc.
- **Responsive Design**: Adapted for mobile and tablet devices

## SEO & Crawlers

### robots.txt

The `robots.txt` file includes:
- Standard crawler instructions
- Blocked sensitive paths (admin, private, backup files)
- Sitemap location
- Crawl delay configuration
- Clean tracking parameter handling

### sitemap.xml

The sitemap includes all public pages with their:
- Priorities
- Change frequencies
- Last modification dates

### AI Crawlers

AI bots (ChatGPT, Google-Extended, Claude, Claud Code, etc.) are instructed via:
- `robots.txt` User-agent rules
- `ai.txt` file with specific crawl instructions and guidelines

## Browser Support

The site is designed to work on modern browsers:
- Chrome (latest 2 versions)
- Firefox (latest 2 versions)
- Safari (latest 2 versions)
- Edge (latest 2 versions)
- Mobile browsers (iOS Safari, Chrome for Android)

## Accessibility

This site follows accessibility best practices:
- Semantic HTML structure
- ARIA landmarks where appropriate
- Keyboard navigation support
- Color contrast considerations (minimum 4.5:1)
- Alt text for all images
- Proper heading hierarchy

## Performance

The site is optimized for performance:
- Static HTML (no server-side processing)
- CSS and JavaScript minification (for production)
- Image optimization
- Browser caching configured via .htaccess
- Compression enabled (gzip/deflate)

## Contributing

As this is a static archive, contributions are limited to:
1. Security fixes
2. Accessibility improvements
3. Documentation updates
4. Bug fixes for display issues

For contribution guidelines, see [CONTRIBUTING.md](CONTRIBUTING.md).

## License

This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.

The MIT License applies to the code and structure of this repository. The content (text, images, campaign materials) remains the property of FIDH, OMCT, and OBS, with all rights reserved unless otherwise specified in the content itself.

## Acknowledgments

- **FIDH** (International Federation for Human Rights): [www.fidh.org](https://www.fidh.org)
- **OMCT** (World Organisation Against Torture): [www.omct.org](https://www.omct.org)
- **OBS** (Observatory for the Protection of Human Rights Defenders)
- **Conception and development**: Point-Barre (Julien Vivier, Ronan Quidu)

## Contact

For questions or concerns about this archive:
- **Security issues**: See [SECURITY.md](SECURITY.md) for vulnerability reporting
- **General inquiries**: it@fidh.org
- **FIDH Website**: [www.fidh.org](https://www.fidh.org)

---

**📁 ARCHIVE**: This is a static archive. Content is no longer updated.

*Last updated: 2026*
*Generated from FIDH template-web*
