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,122 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<link rel="stylesheet" href="https://allucanget.biz/css/styles.css" />
|
||||
<title>Email Signature - AllYouCanGET</title>
|
||||
<style>
|
||||
body {
|
||||
margin: 0;
|
||||
padding: 20px;
|
||||
font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
|
||||
line-height: 1.4;
|
||||
color: #333333;
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
.signature-container {
|
||||
max-width: 600px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 20px;
|
||||
padding: 20px;
|
||||
background: #ffffff;
|
||||
border-radius: 8px;
|
||||
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
|
||||
.logo-section {
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.logo {
|
||||
height: 60px;
|
||||
width: auto;
|
||||
object-fit: contain;
|
||||
}
|
||||
|
||||
.contact-info {
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.name {
|
||||
font-size: 18px;
|
||||
font-weight: bold;
|
||||
color: #101828;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.position {
|
||||
font-size: 14px;
|
||||
color: #6b7280;
|
||||
margin-bottom: 12px;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.contact-details {
|
||||
font-size: 14px;
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
.contact-item {
|
||||
margin-bottom: 4px;
|
||||
}
|
||||
|
||||
.contact-link {
|
||||
color: #0a0a0a;
|
||||
text-decoration: none;
|
||||
transition: color 0.2s ease;
|
||||
}
|
||||
|
||||
.contact-link:hover {
|
||||
color: #2563eb;
|
||||
}
|
||||
|
||||
.address {
|
||||
margin-top: 12px;
|
||||
padding-top: 12px;
|
||||
border-top: 1px solid #e5e7eb;
|
||||
font-size: 13px;
|
||||
color: #6b7280;
|
||||
line-height: 1.4;
|
||||
}
|
||||
|
||||
.address-line {
|
||||
margin-bottom: 2px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div class="signature-container">
|
||||
<div class="logo-section">
|
||||
<img src="https://allucanget.biz/img/Logo-AllYouCanGet-204x100.png" alt="AllYouCanGET" class="logo" />
|
||||
</div>
|
||||
<div class="contact-info">
|
||||
<div class="name">Georg Sinn</div>
|
||||
<div class="position">IT & Management Consulting</div>
|
||||
<div class="contact-details">
|
||||
<div class="contact-item">
|
||||
<a href="tel:+41799236402" class="contact-link">+41-79-9236402</a>
|
||||
</div>
|
||||
<div class="contact-item">
|
||||
<a href="mailto:georg@allucanget.biz" class="contact-link">georg@allucanget.biz</a>
|
||||
</div>
|
||||
<div class="contact-item">
|
||||
<a href="https://allucanget.biz" class="contact-link">allucanget.biz</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="address">
|
||||
<div class="address-line">All You Can GET</div>
|
||||
<div class="address-line">c/o Sinn Consulting</div>
|
||||
<div class="address-line">Im Dornäcker 16</div>
|
||||
<div class="address-line">8967 Widen</div>
|
||||
<div class="address-line">Switzerland</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
Reference in New Issue
Block a user