537 lines
18 KiB
HTML
537 lines
18 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="Shipping Information - Sky Art Shop" />
|
|
<title>Shipping Information - Sky Art Shop</title>
|
|
<link rel="icon" type="image/png" href="/favicon.png" />
|
|
|
|
<!-- 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=fix33" />
|
|
<link rel="stylesheet" href="/assets/css/mobile-fixes.css?v=fix32" />
|
|
|
|
<style>
|
|
.policy-container {
|
|
max-width: 800px;
|
|
margin: 0 auto;
|
|
background: var(--bg-white);
|
|
padding: 50px 60px 50px 100px !important;
|
|
border-radius: var(--radius-lg);
|
|
box-shadow: var(--shadow-md);
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.policy-container {
|
|
padding: 24px 24px !important;
|
|
margin: 0 16px;
|
|
}
|
|
}
|
|
|
|
.policy-container h2 {
|
|
font-family: var(--font-heading);
|
|
font-size: 1.75rem;
|
|
margin-top: var(--spacing-xl);
|
|
margin-bottom: var(--spacing-md);
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.policy-container h2:first-of-type {
|
|
margin-top: 0;
|
|
}
|
|
|
|
.policy-container p {
|
|
color: var(--text-secondary);
|
|
line-height: 1.8;
|
|
margin-bottom: var(--spacing-lg);
|
|
}
|
|
|
|
.policy-container ul {
|
|
color: var(--text-secondary);
|
|
line-height: 2;
|
|
margin-left: var(--spacing-xl);
|
|
margin-bottom: var(--spacing-lg);
|
|
}
|
|
|
|
.policy-container ul li {
|
|
margin-bottom: var(--spacing-sm);
|
|
}
|
|
|
|
.shipping-options {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
|
|
gap: var(--spacing-lg);
|
|
margin: var(--spacing-xl) 0;
|
|
}
|
|
|
|
.shipping-card {
|
|
background: var(--bg-light);
|
|
padding: var(--spacing-xl);
|
|
border-radius: var(--radius-lg);
|
|
text-align: center;
|
|
border: 2px solid var(--border-light);
|
|
transition: var(--transition-smooth);
|
|
}
|
|
|
|
.shipping-card:hover {
|
|
border-color: var(--primary-pink-dark);
|
|
box-shadow: var(--shadow-md);
|
|
}
|
|
|
|
.shipping-icon {
|
|
font-size: 3rem;
|
|
color: var(--primary-pink-dark);
|
|
margin-bottom: var(--spacing-md);
|
|
}
|
|
|
|
.shipping-card h3 {
|
|
font-size: 1.25rem;
|
|
margin-bottom: var(--spacing-sm);
|
|
}
|
|
|
|
.shipping-card .price {
|
|
font-size: 1.5rem;
|
|
font-weight: 700;
|
|
color: var(--text-primary);
|
|
margin: var(--spacing-md) 0;
|
|
}
|
|
|
|
.highlight-box {
|
|
background: var(--primary-pink-light);
|
|
padding: var(--spacing-lg);
|
|
border-radius: var(--radius-md);
|
|
margin: var(--spacing-lg) 0;
|
|
border-left: 4px solid var(--primary-pink-dark);
|
|
}
|
|
|
|
.info-table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
margin: var(--spacing-lg) 0;
|
|
}
|
|
|
|
.info-table th,
|
|
.info-table td {
|
|
padding: var(--spacing-md);
|
|
text-align: left;
|
|
border-bottom: 1px solid var(--border-light);
|
|
}
|
|
|
|
.info-table th {
|
|
background: var(--bg-light);
|
|
font-weight: 600;
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.info-table td {
|
|
color: var(--text-secondary);
|
|
}
|
|
</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">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">
|
|
<!-- Page Header -->
|
|
<div class="page-header">
|
|
<div class="container">
|
|
<h1 id="shippingHeaderTitle">
|
|
<i class="bi bi-truck"></i> Shipping Information
|
|
</h1>
|
|
<p id="shippingHeaderSubtitle">Fast and reliable shipping options</p>
|
|
<div class="breadcrumb">
|
|
<a href="/home">Home</a>
|
|
<span>/</span>
|
|
<span>Shipping Information</span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- Shipping Content -->
|
|
<section class="section">
|
|
<div class="container">
|
|
<div class="policy-container" id="shippingContainer">
|
|
<!-- Content will be loaded dynamically from the database -->
|
|
<div
|
|
class="loading-placeholder"
|
|
style="text-align: center; padding: 2rem"
|
|
>
|
|
<i
|
|
class="bi bi-hourglass-split"
|
|
style="font-size: 2rem; animation: spin 1s linear infinite"
|
|
></i>
|
|
<p>Loading shipping information...</p>
|
|
</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" id="footerSocialLinks">
|
|
<a
|
|
href="#"
|
|
class="social-link"
|
|
id="footerFacebook"
|
|
style="display: none"
|
|
><i class="bi bi-facebook"></i
|
|
></a>
|
|
<a
|
|
href="#"
|
|
class="social-link"
|
|
id="footerInstagram"
|
|
style="display: none"
|
|
><i class="bi bi-instagram"></i
|
|
></a>
|
|
<a
|
|
href="#"
|
|
class="social-link"
|
|
id="footerTwitter"
|
|
style="display: none"
|
|
><i class="bi bi-twitter-x"></i
|
|
></a>
|
|
<a
|
|
href="#"
|
|
class="social-link"
|
|
id="footerYoutube"
|
|
style="display: none"
|
|
><i class="bi bi-youtube"></i
|
|
></a>
|
|
<a
|
|
href="#"
|
|
class="social-link"
|
|
id="footerPinterest"
|
|
style="display: none"
|
|
><i class="bi bi-pinterest"></i
|
|
></a>
|
|
<a
|
|
href="#"
|
|
class="social-link"
|
|
id="footerTiktok"
|
|
style="display: none"
|
|
><i class="bi bi-tiktok"></i
|
|
></a>
|
|
<a
|
|
href="#"
|
|
class="social-link"
|
|
id="footerWhatsapp"
|
|
style="display: none"
|
|
><i class="bi bi-whatsapp"></i
|
|
></a>
|
|
<a
|
|
href="#"
|
|
class="social-link"
|
|
id="footerLinkedin"
|
|
style="display: none"
|
|
><i class="bi bi-linkedin"></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> skyartshop12.11@gmail.com</li>
|
|
<li><i class="bi bi-telephone"></i> (501) 608-0409</li>
|
|
<li><i class="bi bi-geo-alt"></i> Belmopan, Cayo District</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">
|
|
<!-- Cart items rendered via JavaScript -->
|
|
</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=20260118g"></script>
|
|
<script src="/assets/js/customer-auth.js"></script>
|
|
<script src="/assets/js/accessibility.js"></script>
|
|
<script>
|
|
// Load shipping page data from API
|
|
async function loadShippingPageData() {
|
|
try {
|
|
const response = await fetch("/api/pages/shipping-info");
|
|
if (!response.ok) {
|
|
console.log("Shipping page not found in database, using defaults");
|
|
renderDefaultShippingContent();
|
|
return;
|
|
}
|
|
|
|
const data = await response.json();
|
|
const pageData = data.page?.pagedata || data.pagedata || {};
|
|
|
|
// Update header if data exists
|
|
if (pageData.header) {
|
|
if (pageData.header.title) {
|
|
document.getElementById("shippingHeaderTitle").innerHTML =
|
|
'<i class="bi bi-truck"></i> ' + pageData.header.title;
|
|
}
|
|
if (pageData.header.subtitle) {
|
|
document.getElementById("shippingHeaderSubtitle").textContent =
|
|
pageData.header.subtitle;
|
|
}
|
|
}
|
|
|
|
// Render sections
|
|
const container = document.getElementById("shippingContainer");
|
|
if (pageData.sections && pageData.sections.length > 0) {
|
|
container.innerHTML = pageData.sections
|
|
.map((section) => {
|
|
let sectionHtml = "";
|
|
if (section.title) {
|
|
sectionHtml += `<h2>${escapeHtml(section.title)}</h2>`;
|
|
}
|
|
if (section.content) {
|
|
// Check if content already has HTML tags
|
|
if (
|
|
section.content.includes("<p>") ||
|
|
section.content.includes("<br") ||
|
|
section.content.includes("<ul>")
|
|
) {
|
|
// Content already has HTML, use it directly
|
|
sectionHtml += section.content;
|
|
} else {
|
|
// Split content by newlines and render as paragraphs
|
|
const paragraphs = section.content
|
|
.split("\n")
|
|
.filter((p) => p.trim());
|
|
paragraphs.forEach((p) => {
|
|
sectionHtml += `<p>${escapeHtml(p)}</p>`;
|
|
});
|
|
}
|
|
}
|
|
if (section.listItems && section.listItems.length > 0) {
|
|
sectionHtml +=
|
|
"<ul>" +
|
|
section.listItems
|
|
.map((item) => `<li>${escapeHtml(item)}</li>`)
|
|
.join("") +
|
|
"</ul>";
|
|
}
|
|
return sectionHtml;
|
|
})
|
|
.join("");
|
|
|
|
// Add contact box at the end
|
|
container.innerHTML += `
|
|
<div class="highlight-box">
|
|
<h3 style="margin-top: 0">Shipping Questions?</h3>
|
|
<p style="margin-bottom: var(--spacing-md)">
|
|
Our team is here to help with any shipping inquiries.
|
|
</p>
|
|
<div style="display: flex; gap: var(--spacing-md); flex-wrap: wrap">
|
|
<a href="/contact" class="btn btn-primary">Contact Us</a>
|
|
<a href="mailto:support@skyartshop.com" class="btn btn-outline">Email Support</a>
|
|
</div>
|
|
</div>
|
|
`;
|
|
} else {
|
|
renderDefaultShippingContent();
|
|
}
|
|
} catch (error) {
|
|
console.error("Error loading shipping page:", error);
|
|
renderDefaultShippingContent();
|
|
}
|
|
}
|
|
|
|
function renderDefaultShippingContent() {
|
|
const container = document.getElementById("shippingContainer");
|
|
container.innerHTML = `
|
|
<div class="highlight-box">
|
|
<p style="margin: 0; font-weight: 600; font-size: 1.1rem">
|
|
<i class="bi bi-gift"></i> Free standard shipping on orders over $50!
|
|
</p>
|
|
</div>
|
|
|
|
<h2>Domestic Shipping Options</h2>
|
|
<div class="shipping-options">
|
|
<div class="shipping-card">
|
|
<div class="shipping-icon"><i class="bi bi-truck"></i></div>
|
|
<h3>Standard Shipping</h3>
|
|
<p class="price">$5.99</p>
|
|
<p style="font-size: 0.9rem; color: var(--text-secondary)">5-7 business days</p>
|
|
<p style="font-size: 0.85rem; color: var(--text-light); margin-top: var(--spacing-sm);">FREE on orders $50+</p>
|
|
</div>
|
|
<div class="shipping-card">
|
|
<div class="shipping-icon"><i class="bi bi-lightning-charge"></i></div>
|
|
<h3>Express Shipping</h3>
|
|
<p class="price">$12.99</p>
|
|
<p style="font-size: 0.9rem; color: var(--text-secondary)">2-3 business days</p>
|
|
<p style="font-size: 0.85rem; color: var(--text-light); margin-top: var(--spacing-sm);">Guaranteed delivery</p>
|
|
</div>
|
|
<div class="shipping-card">
|
|
<div class="shipping-icon"><i class="bi bi-airplane"></i></div>
|
|
<h3>Overnight Shipping</h3>
|
|
<p class="price">$24.99</p>
|
|
<p style="font-size: 0.9rem; color: var(--text-secondary)">Next business day</p>
|
|
<p style="font-size: 0.85rem; color: var(--text-light); margin-top: var(--spacing-sm);">Order before 2 PM EST</p>
|
|
</div>
|
|
</div>
|
|
|
|
<h2>Processing Time</h2>
|
|
<p>All orders are processed within 1-2 business days (excluding weekends and holidays). You will receive a shipping confirmation email with tracking information once your order ships.</p>
|
|
<ul>
|
|
<li><strong>In-Stock Items:</strong> Ship within 24 hours</li>
|
|
<li><strong>Custom Orders:</strong> 3-5 business days processing time</li>
|
|
<li><strong>Pre-Orders:</strong> Ship on or before the release date</li>
|
|
</ul>
|
|
|
|
<h2>International Shipping</h2>
|
|
<p>We ship to over 50 countries worldwide! International shipping rates and delivery times vary by destination.</p>
|
|
|
|
<div class="highlight-box">
|
|
<h3 style="margin-top: 0">Shipping Questions?</h3>
|
|
<p style="margin-bottom: var(--spacing-md)">Our team is here to help with any shipping inquiries.</p>
|
|
<div style="display: flex; gap: var(--spacing-md); flex-wrap: wrap">
|
|
<a href="/contact" class="btn btn-primary">Contact Us</a>
|
|
<a href="mailto:support@skyartshop.com" class="btn btn-outline">Email Support</a>
|
|
</div>
|
|
</div>
|
|
`;
|
|
}
|
|
|
|
function escapeHtml(text) {
|
|
const div = document.createElement("div");
|
|
div.textContent = text;
|
|
return div.innerHTML;
|
|
}
|
|
|
|
// Load on page ready
|
|
document.addEventListener("DOMContentLoaded", loadShippingPageData);
|
|
</script>
|
|
</body>
|
|
</html>
|