9f0a216c5e
- Created index.html template for the homepage with service cards and partner logos. - Added page_from_md.html template for rendering pages from markdown. - Developed services.html template detailing various services offered. - Implemented tests for link handling in markdown, ensuring external links open in new tabs and internal links function correctly. - Enhanced markdown parser tests to validate heading extraction, content rendering, and link safety. - Introduced utility tests for template rendering, HTML minification, and JavaScript minification. Co-authored-by: Copilot <copilot@github.com>
57 lines
1.8 KiB
HTML
57 lines
1.8 KiB
HTML
<div id="header">
|
|
<nav id="site-navigation">
|
|
<div id="site-navigation-container">
|
|
<div id="site-navigation-content">
|
|
<div id="site-navigation-bar">
|
|
<div id="site-navigation-brand">
|
|
<a href="index.html" class="site-home-link">
|
|
<img src="img/Logo-AllYouCanGet-204x100.png" alt="AllYouCanGET" class="nav-logo" />
|
|
<span class="nav-text">AllYouCanGET</span>
|
|
</a>
|
|
</div>
|
|
<button class="hamburger-menu" aria-label="Toggle navigation">
|
|
<span class="hamburger-line"></span>
|
|
<span class="hamburger-line"></span>
|
|
<span class="hamburger-line"></span>
|
|
</button>
|
|
<div class="nav-menu">
|
|
<div id="site-nav-links">
|
|
{% for key, page in nav_pages.items() %} {% if page.active %}
|
|
<a href="{{ page.url }}" class="site-nav-link active"
|
|
>{{ page.name }}</a
|
|
>
|
|
{% else %}
|
|
<a href="{{ page.url }}" class="site-nav-link">{{ page.name }}</a>
|
|
{% endif %} {% endfor %}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</nav>
|
|
<div id="page-title">
|
|
<h2 class="page-title-header">{{ page_title }}</h2>
|
|
<h3 class="page-subtitle">{{ page_subtitle }}</h3>
|
|
</div>
|
|
{% if page_cta_url %}
|
|
<div class="header-cta">
|
|
<div class="header-cta-buttons">
|
|
<button class="bigbutton">
|
|
<a href="{{ page_cta_url }}">
|
|
<span>{{ page_cta }}</span>
|
|
<span>→</span>
|
|
</a>
|
|
</button>
|
|
{% if page_cta_url == 'services.html' %}
|
|
<button class="bigbutton">
|
|
<a href="#contact-form">
|
|
<span>Contact Us</span>
|
|
<span>→</span>
|
|
</a>
|
|
</button>
|
|
{% endif %}
|
|
</div>
|
|
</div>
|
|
{% endif %}
|
|
</div>
|