# SRMC Guide Style & Contribution Guidelines

This document outlines the standard structure, style, and components for creating new guide pages for the SRMC website. **SEO and User Retention are our primary goals.** Follow these guidelines to ensure consistency, high search ranking, and a premium user experience that keeps visitors engaged.

## 1. File Structure & Naming
- **File Extension:** `.html`
- **Location:** `/guide/` directory.
- **Naming Convention:** `snake_case` (e.g., `buried_treasure.html`, `bastion_routing.html`).

## 2. HTML Boilerplate
Every page must include the standard head elements, including Google Analytics, Fonts, CSS, and Scripts.

```html
<!DOCTYPE html>
<html lang="en">
<head>
    <!-- Google tag (gtag.js) -->
    <script defer>
        window.dataLayer = window.dataLayer || [];
        function gtag() { dataLayer.push(arguments); }
        gtag('js', new Date());
        gtag('config', 'G-RJXTK44BR9'); 
        window.addEventListener('load', function () { setTimeout(function () { var script = document.createElement('script'); script.src = "https://www.googletagmanager.com/gtag/js?id=G-RJXTK44BR9"; script.async = true; document.head.appendChild(script); }, 1500); });
    </script>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Page Title - SRMC</title>
    <meta name="description" content="Concise, SEO-friendly description of the guide page (150-160 chars).">
    
    <!-- Fonts -->
    <link rel="preconnect" href="https://fonts.googleapis.com">
    <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
    <link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;800&display=swap" rel="stylesheet">
    <link href="https://fonts.googleapis.com/css2?family=VT323&display=swap" rel="stylesheet">
    
    <!-- Styles & Scripts -->
    <link rel="stylesheet" href="../css/style.css">
    <link rel="icon" type="image/svg+xml" href="../img/srmc.svg">
    <script defer src="../js/timer.js"></script>
</head>
<body>
    <header>
        <div class="container">
            <a href="../index.html" class="logo">SRMC</a>
        </div>
    </header>

    <main class="container content-page">
        <a href="../index.html" class="back-link">← Back to Home</a>
        <!-- Content Goes Here -->
    </main>

    <footer>
        <div class="container">
            <p>&copy; 2025 SRMC Guide. Built for speed.</p>
        </div>
    </footer>
    <script defer src="../js/script.js"></script>
</body>
</html>
```

## 3. Content Structure
Inside the `<main>` tag, follow this hierarchy:

1.  **Back Link:** `<a href="../index.html" class="back-link">← Back to Home</a>`
2.  **H1 Title:** Clear and descriptive.
3.  **Intro Text:** `<p class="intro-text">...</p>`
4.  **Media Placeholders:** Use comments for future media insertion.
5.  **Sections:** Wrap distinct topics in `<section id="topic-name">`.
6.  **Headings:** Use `<h2>` for main sections (often numbered) and `<h3>` for subsections.
7.  **Read Next:** `<a href="next_page.html" class="read-next">Read Next: Title</a>`

## 4. Component Library

### Tip Box
Use for "Pro Tips", warnings, or crucial context.
```html
<div class="tip-box">
    <strong>Pro Tip:</strong> Your tip text here.
</div>
```

### Lists
Use standard `<ul>` or `<ol>`.
- Use `<ul>` for feature lists or pros/cons.
- Use `<ol class="step-list">` for sequential instructions.

### Media Placeholders
Visuals are critical for retention. Always include placeholders for **Images, Diagrams, or Video Embeds** to be added later.
```html
<!-- IMAGE_PLACEHOLDER: Description of the image needed. -->
<!-- DIAGRAM_PLACEHOLDER: Description of the flow/diagram needed. -->
<!-- VIDEO_PLACEHOLDER: Description of the video clip/embed needed. -->
```

## 5. Tone & Voice
- **Audience:** Speedrunners (beginners and semi pro competitive, efficiency-focused).
- **Style:** Direct, imperative, and technical. Avoid fluff.
- **Keywords:** Use standard terminology (e.g., "One-Cycle", "Perch", "Chunk Coordinates").

## 6. Retention & Linking Strategy
To maximize retention and crawlability:
1.  **"Read Next" Links:** Every page MUST end with a clear link to a relevant next topic to keep users on the site.
2.  **New Guide Page Visibility:** Every newly created guide page MUST be linked from the Home Page (e.g., on other guide pages where this guide is related to, in a dedicated "Guides" section or index) to ensure discoverability.
3.  **Internal Cross-Linking:** Link to other relevant terms or guides within the content text where appropriate.

## 7. SEO Checklist
- [ ] Unique `<title>` tag ending with `- SRMC`.
- [ ] Unique `<meta name="description">` (approx 160 chars).
- [ ] Semantic `<h1>`, `<h2>`, `<h3>` hierarchy.
- [ ] Descriptive `alt` text for images (when added).
