607 lines
19 KiB
HTML
607 lines
19 KiB
HTML
<!doctype html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
<meta
|
|
name="description"
|
|
content="Contact Sky Art Shop - We'd love to hear from you"
|
|
/>
|
|
<title>Contact Us - Sky Art Shop</title>
|
|
|
|
<!-- 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;500;600;700&family=Poppins:wght@600;700;800&display=swap"
|
|
rel="stylesheet"
|
|
/>
|
|
|
|
<!-- Icons -->
|
|
<link
|
|
rel="stylesheet"
|
|
href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css"
|
|
/>
|
|
|
|
<!-- Modern Theme CSS -->
|
|
<link rel="stylesheet" href="/assets/css/modern-theme.css?v=20260118drawer" />
|
|
<link rel="stylesheet" href="/assets/css/mobile-fixes.css?v=20260118c" />
|
|
|
|
<style>
|
|
.contact-hero {
|
|
background: linear-gradient(
|
|
135deg,
|
|
var(--primary-pink-light) 0%,
|
|
var(--primary-pink) 100%
|
|
);
|
|
padding: 0;
|
|
}
|
|
|
|
.contact-hero-content {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: var(--spacing-2xl);
|
|
align-items: center;
|
|
}
|
|
|
|
.contact-hero-text h1 {
|
|
font-family: var(--font-heading);
|
|
font-size: 3rem;
|
|
margin-bottom: var(--spacing-md);
|
|
}
|
|
|
|
.contact-hero-text p {
|
|
font-size: 1.2rem;
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
.contact-hero-image {
|
|
text-align: center;
|
|
}
|
|
|
|
.contact-hero-image img {
|
|
max-width: 100%;
|
|
border-radius: 0;
|
|
box-shadow: none;
|
|
}
|
|
|
|
.contact-methods {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, 1fr);
|
|
gap: var(--spacing-lg);
|
|
margin-bottom: var(--spacing-2xl);
|
|
}
|
|
|
|
.contact-method {
|
|
background: var(--bg-white);
|
|
padding: var(--spacing-xl);
|
|
border-radius: var(--radius-lg);
|
|
text-align: center;
|
|
box-shadow: var(--shadow-sm);
|
|
transition: var(--transition-smooth);
|
|
}
|
|
|
|
.contact-method:hover {
|
|
transform: translateY(-8px);
|
|
box-shadow: var(--shadow-lg);
|
|
}
|
|
|
|
.contact-method-icon {
|
|
width: 70px;
|
|
height: 70px;
|
|
margin: 0 auto var(--spacing-md);
|
|
background: var(--primary-pink-light);
|
|
border-radius: var(--radius-full);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 1.75rem;
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.contact-method h3 {
|
|
font-size: 1.1rem;
|
|
margin-bottom: var(--spacing-sm);
|
|
}
|
|
|
|
.contact-method p {
|
|
color: var(--text-secondary);
|
|
font-size: 0.95rem;
|
|
}
|
|
|
|
.contact-method a {
|
|
color: var(--text-primary);
|
|
text-decoration: none;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.contact-method a:hover {
|
|
color: var(--primary-pink-dark);
|
|
}
|
|
|
|
.map-section {
|
|
height: 400px;
|
|
background: var(--bg-light);
|
|
border-radius: var(--radius-lg);
|
|
overflow: hidden;
|
|
margin-top: var(--spacing-2xl);
|
|
}
|
|
|
|
.map-section iframe {
|
|
width: 100%;
|
|
height: 100%;
|
|
border: none;
|
|
}
|
|
|
|
@media (max-width: 992px) {
|
|
.contact-hero-content {
|
|
grid-template-columns: 1fr;
|
|
text-align: center;
|
|
}
|
|
|
|
.contact-methods {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<!-- Navigation -->
|
|
<header class="nav-wrapper">
|
|
<nav class="navbar">
|
|
<a href="/home" class="nav-brand">
|
|
<img
|
|
src="/uploads/cat-png-1767324141436-368259437.png"
|
|
alt="Sky Art Shop Logo"
|
|
/>
|
|
<span>Sky Art Shop</span>
|
|
</a>
|
|
|
|
<ul class="nav-menu">
|
|
<li><a href="/home" class="nav-link">Home</a></li>
|
|
<li><a href="/shop" class="nav-link">Shop</a></li>
|
|
<li><a href="/portfolio" class="nav-link">Portfolio</a></li>
|
|
<li><a href="/blog" class="nav-link">Blog</a></li>
|
|
<li><a href="/about" class="nav-link">About</a></li>
|
|
<li><a href="/contact" class="nav-link active">Contact</a></li>
|
|
</ul>
|
|
|
|
<div class="nav-actions">
|
|
<a href="/signin" class="nav-icon-btn" title="Sign In">
|
|
<i class="bi bi-person"></i>
|
|
</a>
|
|
<button class="nav-icon-btn wishlist-btn-nav" title="Wishlist">
|
|
<i class="bi bi-heart"></i>
|
|
<span class="badge wishlist-count" style="display: none">0</span>
|
|
</button>
|
|
<button class="nav-icon-btn cart-btn" title="Cart">
|
|
<i class="bi bi-bag"></i>
|
|
<span class="badge cart-count" style="display: none">0</span>
|
|
</button>
|
|
<button class="nav-mobile-toggle" aria-label="Toggle menu">
|
|
<span></span>
|
|
<span></span>
|
|
<span></span>
|
|
</button>
|
|
</div>
|
|
</nav>
|
|
</header>
|
|
|
|
<!-- Page Content -->
|
|
<main class="page-content">
|
|
<!-- Contact Hero -->
|
|
<section class="contact-hero">
|
|
<div class="container">
|
|
<div class="contact-hero-content">
|
|
<div class="contact-hero-text">
|
|
<h1 id="contactHeaderTitle">Get in Touch</h1>
|
|
<p id="contactHeaderSubtitle">
|
|
Have a question, suggestion, or just want to say hello? We'd
|
|
love to hear from you! Our team is here to help.
|
|
</p>
|
|
</div>
|
|
<div
|
|
class="contact-hero-image"
|
|
style="box-shadow: none; border-radius: 0; overflow: visible"
|
|
>
|
|
<img
|
|
src="/uploads/get-in-touch-1768630843511-885498786.png"
|
|
alt="Contact Us"
|
|
style="width: 50%; height: auto; max-width: 300px"
|
|
/>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
|
|
<!-- Contact Methods -->
|
|
<section class="section">
|
|
<div class="container">
|
|
<div class="contact-methods">
|
|
<div class="contact-method">
|
|
<div class="contact-method-icon">
|
|
<i class="bi bi-envelope"></i>
|
|
</div>
|
|
<h3>Email Us</h3>
|
|
<p>Send us a message anytime</p>
|
|
<a href="mailto:hello@skyartshop.com" id="contactEmailLink"
|
|
>hello@skyartshop.com</a
|
|
>
|
|
</div>
|
|
<div class="contact-method">
|
|
<div class="contact-method-icon">
|
|
<i class="bi bi-telephone"></i>
|
|
</div>
|
|
<h3>Call Us</h3>
|
|
<p id="contactBusinessHoursShort">Mon-Fri, 9am-5pm EST</p>
|
|
<a href="tel:+15551234567" id="contactPhoneLink"
|
|
>(555) 123-4567</a
|
|
>
|
|
</div>
|
|
<div class="contact-method">
|
|
<div class="contact-method-icon">
|
|
<i class="bi bi-geo-alt"></i>
|
|
</div>
|
|
<h3>Visit Us</h3>
|
|
<p id="contactAddressDisplay">
|
|
123 Creative Lane<br />Artville, CA 90210
|
|
</p>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- Contact Form -->
|
|
<div class="contact-section">
|
|
<div class="contact-info">
|
|
<h2>Send Us a Message</h2>
|
|
<p
|
|
style="
|
|
color: var(--text-secondary);
|
|
margin-bottom: var(--spacing-lg);
|
|
"
|
|
>
|
|
Fill out the form and we'll get back to you within 24 hours.
|
|
</p>
|
|
|
|
<div class="contact-item">
|
|
<div class="contact-icon">
|
|
<i class="bi bi-clock"></i>
|
|
</div>
|
|
<div>
|
|
<h4>Business Hours</h4>
|
|
<p id="contactBusinessHoursFull">
|
|
Monday - Friday: 9:00 AM - 5:00 PM EST<br />Saturday -
|
|
Sunday: Closed
|
|
</p>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="contact-item">
|
|
<div class="contact-icon">
|
|
<i class="bi bi-chat-dots"></i>
|
|
</div>
|
|
<div>
|
|
<h4>Response Time</h4>
|
|
<p>
|
|
We typically respond within 24 hours during business days.
|
|
</p>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="contact-item">
|
|
<div class="contact-icon">
|
|
<i class="bi bi-globe"></i>
|
|
</div>
|
|
<div>
|
|
<h4>Follow Us</h4>
|
|
<div
|
|
class="footer-social"
|
|
style="margin-top: var(--spacing-sm)"
|
|
>
|
|
<a
|
|
href="#"
|
|
class="social-link"
|
|
style="background: var(--primary-pink-light)"
|
|
><i class="bi bi-facebook"></i
|
|
></a>
|
|
<a
|
|
href="#"
|
|
class="social-link"
|
|
style="background: var(--primary-pink-light)"
|
|
><i class="bi bi-instagram"></i
|
|
></a>
|
|
<a
|
|
href="#"
|
|
class="social-link"
|
|
style="background: var(--primary-pink-light)"
|
|
><i class="bi bi-pinterest"></i
|
|
></a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="contact-form">
|
|
<h2>Contact Form</h2>
|
|
<form id="contactForm">
|
|
<div class="form-group">
|
|
<label for="name">Your Name *</label>
|
|
<input
|
|
type="text"
|
|
id="name"
|
|
name="name"
|
|
required
|
|
placeholder="Enter your name"
|
|
/>
|
|
</div>
|
|
<div class="form-group">
|
|
<label for="email">Email Address *</label>
|
|
<input
|
|
type="email"
|
|
id="email"
|
|
name="email"
|
|
required
|
|
placeholder="Enter your email"
|
|
/>
|
|
</div>
|
|
<div class="form-group">
|
|
<label for="subject">Subject *</label>
|
|
<input
|
|
type="text"
|
|
id="subject"
|
|
name="subject"
|
|
required
|
|
placeholder="What is this about?"
|
|
/>
|
|
</div>
|
|
<div class="form-group">
|
|
<label for="message">Your Message *</label>
|
|
<textarea
|
|
id="message"
|
|
name="message"
|
|
required
|
|
placeholder="Type your message here..."
|
|
></textarea>
|
|
</div>
|
|
<button
|
|
type="submit"
|
|
class="btn btn-primary btn-lg"
|
|
style="width: 100%"
|
|
>
|
|
<i class="bi bi-send"></i> Send Message
|
|
</button>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- Map -->
|
|
<div class="map-section">
|
|
<div class="map-placeholder">
|
|
<div class="map-image">
|
|
<img
|
|
src="https://images.unsplash.com/photo-1477959858617-67f85cf4f1df?w=1200&q=80"
|
|
alt="Los Angeles City View"
|
|
/>
|
|
<div class="map-overlay">
|
|
<div class="map-pin">
|
|
<i class="bi bi-geo-alt-fill"></i>
|
|
</div>
|
|
<div class="map-info">
|
|
<h4>Sky Art Shop</h4>
|
|
<p>123 Creative Lane</p>
|
|
<p>Los Angeles, CA 90012</p>
|
|
<a
|
|
href="https://maps.google.com/?q=Los+Angeles+CA"
|
|
target="_blank"
|
|
rel="noopener"
|
|
class="btn btn-sm btn-primary"
|
|
>
|
|
<i class="bi bi-map"></i> Open in Google Maps
|
|
</a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
</main>
|
|
|
|
<!-- Footer -->
|
|
<footer class="footer">
|
|
<div class="container">
|
|
<div class="footer-grid">
|
|
<div class="footer-about">
|
|
<div class="footer-brand">
|
|
<img
|
|
src="/uploads/cat-png-1767324141436-368259437.png"
|
|
alt="Sky Art Shop"
|
|
/>
|
|
<span>Sky Art Shop</span>
|
|
</div>
|
|
<p>
|
|
Your one-stop shop for scrapbooking, journaling, cardmaking, and
|
|
collaging stationery. Quality products for all your creative
|
|
needs.
|
|
</p>
|
|
<div class="footer-social">
|
|
<a href="#" class="social-link"><i class="bi bi-facebook"></i></a>
|
|
<a href="#" class="social-link"
|
|
><i class="bi bi-instagram"></i
|
|
></a>
|
|
<a href="#" class="social-link"
|
|
><i class="bi bi-pinterest"></i
|
|
></a>
|
|
<a href="#" class="social-link"><i class="bi bi-youtube"></i></a>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="footer-column">
|
|
<h4>Quick Links</h4>
|
|
<ul class="footer-links">
|
|
<li><a href="/home">Home</a></li>
|
|
<li><a href="/shop">Shop</a></li>
|
|
<li><a href="/portfolio">Portfolio</a></li>
|
|
<li><a href="/blog">Blog</a></li>
|
|
<li><a href="/about">About Us</a></li>
|
|
<li><a href="/contact">Contact</a></li>
|
|
</ul>
|
|
</div>
|
|
|
|
<div class="footer-column">
|
|
<h4>Customer Service</h4>
|
|
<ul class="footer-links">
|
|
<li><a href="/faq">FAQ</a></li>
|
|
<li><a href="/shipping-info">Shipping Info</a></li>
|
|
<li><a href="/returns">Returns & Refunds</a></li>
|
|
<li><a href="/privacy">Privacy Policy</a></li>
|
|
</ul>
|
|
</div>
|
|
|
|
<div class="footer-column">
|
|
<h4>Contact Us</h4>
|
|
<ul class="footer-links">
|
|
<li><i class="bi bi-envelope"></i> hello@skyartshop.com</li>
|
|
<li><i class="bi bi-telephone"></i> (555) 123-4567</li>
|
|
<li><i class="bi bi-geo-alt"></i> 123 Creative Lane</li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="footer-bottom">
|
|
<p>© 2026 Sky Art Shop. All rights reserved.</p>
|
|
<p>
|
|
Made with
|
|
<i class="bi bi-heart-fill" style="color: var(--primary-pink)"></i>
|
|
for creative souls
|
|
</p>
|
|
</div>
|
|
</div>
|
|
</footer>
|
|
|
|
<!-- Cart Drawer -->
|
|
<div class="cart-overlay"></div>
|
|
<div class="cart-drawer">
|
|
<div class="cart-header">
|
|
<h3>Shopping Cart</h3>
|
|
<button class="cart-close"><i class="bi bi-x"></i></button>
|
|
</div>
|
|
<div class="cart-items"></div>
|
|
<div class="cart-footer">
|
|
<div class="cart-total">
|
|
<span>Total:</span>
|
|
<span class="cart-total-amount">$0.00</span>
|
|
</div>
|
|
<a href="/checkout" class="btn btn-primary cart-checkout-btn"
|
|
>Checkout</a
|
|
>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- Wishlist Drawer -->
|
|
<div class="wishlist-overlay"></div>
|
|
<div class="wishlist-drawer">
|
|
<div class="wishlist-header">
|
|
<h3><i class="bi bi-heart"></i> My Wishlist</h3>
|
|
<button class="wishlist-close"><i class="bi bi-x"></i></button>
|
|
</div>
|
|
<div class="wishlist-items"></div>
|
|
<div class="wishlist-footer">
|
|
<a href="/shop" class="btn btn-outline">Continue Shopping</a>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- Scripts -->
|
|
<script src="/assets/js/modern-theme.js?v=20260118c"></script>
|
|
<script src="/assets/js/customer-auth.js"></script>
|
|
<script>
|
|
// Load contact page data from API
|
|
async function loadContactPageData() {
|
|
try {
|
|
const response = await fetch("/api/pages/contact");
|
|
const data = await response.json();
|
|
|
|
if (data.success && data.page && data.page.pagedata) {
|
|
const pagedata =
|
|
typeof data.page.pagedata === "string"
|
|
? JSON.parse(data.page.pagedata)
|
|
: data.page.pagedata;
|
|
|
|
// Update header
|
|
if (pagedata.header) {
|
|
if (pagedata.header.title) {
|
|
document.getElementById("contactHeaderTitle").textContent =
|
|
pagedata.header.title;
|
|
}
|
|
if (pagedata.header.subtitle) {
|
|
document.getElementById("contactHeaderSubtitle").textContent =
|
|
pagedata.header.subtitle;
|
|
}
|
|
}
|
|
|
|
// Update email
|
|
if (pagedata.email) {
|
|
const emailLink = document.getElementById("contactEmailLink");
|
|
emailLink.href = "mailto:" + pagedata.email;
|
|
emailLink.textContent = pagedata.email;
|
|
}
|
|
|
|
// Update phone
|
|
if (pagedata.phone) {
|
|
const phoneLink = document.getElementById("contactPhoneLink");
|
|
const phoneClean = pagedata.phone.replace(/[^0-9+]/g, "");
|
|
phoneLink.href = "tel:" + phoneClean;
|
|
phoneLink.textContent = pagedata.phone;
|
|
}
|
|
|
|
// Update address
|
|
if (pagedata.address) {
|
|
document.getElementById("contactAddressDisplay").innerHTML =
|
|
pagedata.address.replace(/\n/g, "<br>");
|
|
}
|
|
|
|
// Update business hours
|
|
if (pagedata.businessHours && pagedata.businessHours.length > 0) {
|
|
// Short format for card
|
|
const firstHour = pagedata.businessHours[0];
|
|
if (firstHour) {
|
|
document.getElementById(
|
|
"contactBusinessHoursShort",
|
|
).textContent = firstHour.day + ", " + firstHour.hours;
|
|
}
|
|
|
|
// Full format for sidebar
|
|
const hoursHtml = pagedata.businessHours
|
|
.map((h) => h.day + ": " + h.hours)
|
|
.join("<br>");
|
|
document.getElementById("contactBusinessHoursFull").innerHTML =
|
|
hoursHtml;
|
|
}
|
|
}
|
|
} catch (error) {
|
|
console.log("Using default contact info:", error);
|
|
}
|
|
}
|
|
|
|
// Load page data on DOMContentLoaded
|
|
document.addEventListener("DOMContentLoaded", () => {
|
|
loadContactPageData();
|
|
});
|
|
|
|
document
|
|
.getElementById("contactForm")
|
|
.addEventListener("submit", function (e) {
|
|
e.preventDefault();
|
|
|
|
// Show success notification
|
|
SkyArtShop.showNotification(
|
|
"Message sent successfully! We'll get back to you soon.",
|
|
);
|
|
|
|
// Reset form
|
|
this.reset();
|
|
});
|
|
</script>
|
|
<script src="/assets/js/accessibility.js"></script>
|
|
</body>
|
|
</html>
|