367 lines
10 KiB
HTML
367 lines
10 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<title>SVS {{.Occupation}}</title>
|
|
<style>
|
|
:root {
|
|
--ink: #0f172a;
|
|
--muted: #5c677d;
|
|
--bg: #f5f7fb;
|
|
--panel: #ffffff;
|
|
--accent: #1d4ed8;
|
|
--accent-2: #9333ea;
|
|
--radius: 14px;
|
|
--shadow: 0 15px 50px rgba(15, 23, 42, 0.07);
|
|
--max-width: 1080px;
|
|
}
|
|
|
|
* {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
body {
|
|
margin: 0;
|
|
font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
|
|
background: var(--bg);
|
|
color: var(--ink);
|
|
line-height: 1.6;
|
|
}
|
|
|
|
a {
|
|
color: var(--accent);
|
|
text-decoration: none;
|
|
}
|
|
|
|
a:hover {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.container {
|
|
width: 100%;
|
|
max-width: var(--max-width);
|
|
margin: 0 auto;
|
|
padding: 0 20px;
|
|
}
|
|
|
|
header {
|
|
background: linear-gradient(135deg, var(--accent), var(--accent-2));
|
|
color: #fff;
|
|
padding: 90px 0 80px;
|
|
text-align: center;
|
|
}
|
|
|
|
header h1 {
|
|
margin: 0 0 10px;
|
|
font-size: clamp(2.2rem, 3vw, 3.4rem);
|
|
letter-spacing: 0.5px;
|
|
}
|
|
|
|
header h2 {
|
|
margin: 0 0 10px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
header p {
|
|
max-width: 680px;
|
|
margin: 0 auto;
|
|
color: rgba(255, 255, 255, 0.9);
|
|
}
|
|
|
|
.pill-button {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 8px;
|
|
padding: 14px 20px;
|
|
margin-top: 24px;
|
|
background: #fff;
|
|
color: var(--accent);
|
|
border-radius: 999px;
|
|
border: none;
|
|
font-weight: 600;
|
|
box-shadow: var(--shadow);
|
|
cursor: pointer;
|
|
transition: transform 150ms ease, box-shadow 150ms ease;
|
|
}
|
|
|
|
.pill-button:hover {
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 18px 55px rgba(15, 23, 42, 0.14);
|
|
text-decoration: none;
|
|
}
|
|
|
|
section {
|
|
padding: 70px 0;
|
|
}
|
|
|
|
section h2 {
|
|
text-align: center;
|
|
margin: 0 0 20px;
|
|
font-size: 1.9rem;
|
|
}
|
|
|
|
.muted {
|
|
color: var(--muted);
|
|
}
|
|
|
|
#what-we-do {
|
|
background: #eef2ff;
|
|
}
|
|
|
|
#what-we-do .content {
|
|
background: var(--panel);
|
|
padding: 28px;
|
|
border-radius: var(--radius);
|
|
box-shadow: var(--shadow);
|
|
}
|
|
|
|
.about-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
|
|
gap: 26px;
|
|
margin-top: 34px;
|
|
}
|
|
|
|
.profile-card {
|
|
background: var(--panel);
|
|
border-radius: var(--radius);
|
|
padding: 24px;
|
|
text-align: center;
|
|
box-shadow: var(--shadow);
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 14px;
|
|
}
|
|
|
|
.profile-card img {
|
|
border-radius: 50%;
|
|
width: 140px;
|
|
height: 140px;
|
|
object-fit: cover;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.profile-card h4 {
|
|
margin: 6px 0 0;
|
|
font-size: 1.1rem;
|
|
}
|
|
|
|
.profile-card .cta {
|
|
margin-top: auto;
|
|
display: inline-flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
padding: 12px 16px;
|
|
background: linear-gradient(135deg, var(--accent), var(--accent-2));
|
|
color: #fff;
|
|
border-radius: 10px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.profile-card .cta:hover {
|
|
text-decoration: none;
|
|
filter: brightness(1.03);
|
|
}
|
|
|
|
#testimonials {
|
|
background: var(--panel);
|
|
}
|
|
|
|
.testimonial-shell {
|
|
max-width: 760px;
|
|
margin: 0 auto;
|
|
position: relative;
|
|
}
|
|
|
|
.slides {
|
|
position: relative;
|
|
overflow: hidden;
|
|
min-height: 180px;
|
|
}
|
|
|
|
.slide {
|
|
position: absolute;
|
|
inset: 0;
|
|
opacity: 0;
|
|
transform: translateX(20px);
|
|
transition: opacity 250ms ease, transform 250ms ease;
|
|
text-align: center;
|
|
padding: 10px 16px;
|
|
}
|
|
|
|
.slide.active {
|
|
opacity: 1;
|
|
transform: translateX(0);
|
|
position: relative;
|
|
}
|
|
|
|
.slide p {
|
|
font-size: 1.05rem;
|
|
font-style: italic;
|
|
margin-bottom: 14px;
|
|
}
|
|
|
|
.controls {
|
|
display: flex;
|
|
justify-content: center;
|
|
gap: 12px;
|
|
margin-top: 20px;
|
|
}
|
|
|
|
.control-btn {
|
|
width: 42px;
|
|
height: 42px;
|
|
border-radius: 50%;
|
|
border: 1px solid #d5d9e2;
|
|
background: #fff;
|
|
color: var(--ink);
|
|
display: grid;
|
|
place-items: center;
|
|
cursor: pointer;
|
|
box-shadow: var(--shadow);
|
|
}
|
|
|
|
.control-btn:hover {
|
|
background: #eef2ff;
|
|
}
|
|
|
|
footer {
|
|
background: #0b1224;
|
|
color: #f1f5f9;
|
|
padding: 40px 0;
|
|
}
|
|
|
|
footer .footer-inner {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 18px;
|
|
}
|
|
|
|
@media (min-width: 768px) {
|
|
footer .footer-inner {
|
|
flex-direction: row;
|
|
align-items: flex-end;
|
|
justify-content: space-between;
|
|
}
|
|
}
|
|
</style>
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<!-- Header -->
|
|
<header>
|
|
<div class="container">
|
|
<h1>SVS Industries</h1>
|
|
<h2>{{.Occupation}}</h2>
|
|
<p>{{.Tagline}}</p>
|
|
<a href="#about" class="pill-button">Meet Our Team</a>
|
|
</div>
|
|
</header>
|
|
|
|
<section id="what-we-do">
|
|
<div class="container">
|
|
<h2>What We Do</h2>
|
|
<div class="content">
|
|
{{.WhatWeDo}}
|
|
</div>
|
|
</div>
|
|
</section>
|
|
|
|
<section id="about">
|
|
<div class="container">
|
|
<h2>About Us</h2>
|
|
<p class="muted" style="text-align:center; margin:0 auto; max-width:700px;">Three builders, one vision: ship reliable, human-centered software and services.</p>
|
|
<div class="about-grid">
|
|
<div class="profile-card">
|
|
<img src="headshots/chandlerswift.jpg"
|
|
alt="Chandler Swift">
|
|
<h4>Chandler <b>Swift</b></h4>
|
|
<div class="muted">{{.ChandlerBio}}</div>
|
|
<a class="cta" href="https://chandlerswift.com/">chandlerswift.com</a>
|
|
</div>
|
|
<div class="profile-card">
|
|
<img src="headshots/ericvillnow.jpg"
|
|
alt="Eric Villnow">
|
|
<h4>Eric <b>Villnow</b></h4>
|
|
<div class="muted">{{.EricBio}}</div>
|
|
<a class="cta" href="https://vill.now/">vill.now</a>
|
|
</div>
|
|
<div class="profile-card">
|
|
<img src="headshots/isaacswift.jpg" alt="Isaac Swift">
|
|
<h4>Isaac <b>Swift</b></h4>
|
|
<div class="muted">{{.IsaacBio}}</div>
|
|
<a class="cta" href="https://isaacswift.com/">isaacswift.com</a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
|
|
<section id="testimonials">
|
|
<div class="container">
|
|
<h2>What Our Clients Say</h2>
|
|
<div class="testimonial-shell" data-slider>
|
|
<div class="slides">
|
|
{{range $index, $testimonial := .Testimonials}}
|
|
<div class="slide {{if eq $index 0}}active{{end}}">
|
|
<p>"{{$testimonial.Quote}}"</p>
|
|
<strong>— {{$testimonial.Name}}, {{$testimonial.Position}}</strong>
|
|
</div>
|
|
{{end}}
|
|
</div>
|
|
<div class="controls">
|
|
<button class="control-btn" data-prev aria-label="Previous testimonial">←</button>
|
|
<button class="control-btn" data-next aria-label="Next testimonial">→</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
|
|
<footer>
|
|
<div class="container footer-inner">
|
|
<p>
|
|
<b>Swift, Villnow & Swift Industries</b><br>
|
|
{{.Occupation}} Division<br>
|
|
<a href="tel:2182105180" style="color:#cbd5e1;">(218) 210-5180</a><br>
|
|
<a href="mailto:sales@svsindustries.org" style="color:#cbd5e1;">sales@svsindustries.org</a>
|
|
</p>
|
|
<p>© {{.CurrentYear}} Swift, Villnow & Swift Industries. All rights reserved.</p>
|
|
</div>
|
|
</footer>
|
|
|
|
<script>
|
|
(function () {
|
|
const slider = document.querySelector('[data-slider]');
|
|
if (!slider) return;
|
|
const slides = Array.from(slider.querySelectorAll('.slide'));
|
|
const prev = slider.querySelector('[data-prev]');
|
|
const next = slider.querySelector('[data-next]');
|
|
let index = slides.findIndex(s => s.classList.contains('active'));
|
|
|
|
function show(i) {
|
|
slides.forEach((s, idx) => {
|
|
s.classList.toggle('active', idx === i);
|
|
});
|
|
}
|
|
|
|
function go(delta) {
|
|
index = (index + delta + slides.length) % slides.length;
|
|
show(index);
|
|
}
|
|
|
|
prev?.addEventListener('click', () => go(-1));
|
|
next?.addEventListener('click', () => go(1));
|
|
|
|
let timer = setInterval(() => go(1), 6500);
|
|
slider.addEventListener('mouseenter', () => clearInterval(timer));
|
|
slider.addEventListener('mouseleave', () => {
|
|
timer = setInterval(() => go(1), 6500);
|
|
});
|
|
})();
|
|
</script>
|
|
</body>
|
|
|
|
</html>
|