Add new templates and tests for improved functionality
- 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>
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
{% extends "_base.html" %} {% block content %}
|
||||
<!-- Hero Section with Page Title -->
|
||||
{% include 'components/hero.html' %}
|
||||
|
||||
<!-- Sections with Cards -->
|
||||
{% for section in page.sections %} {% include 'components/section.html' %} {%
|
||||
endfor %}
|
||||
|
||||
<!-- Call to Action -->
|
||||
<div id="call-to-action" class="bg-blue-600 text-white py-12">
|
||||
<div id="cta-container" class="container">
|
||||
<h2>Ready to Get Started?</h2>
|
||||
<p>
|
||||
Contact us today to learn more about how we can help you.
|
||||
</p>
|
||||
<iframe id="contact-form" src="http://contact.allucanget.biz/embed/contact" width="600" height="600" frameborder="0" allowfullscreen></iframe>
|
||||
</div>
|
||||
</div>
|
||||
<script src="js/contact.js"></script>
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user