2025-12-13 22:59:42 -06:00
|
|
|
<!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="Sky Art Shop - Scrapbooking, journaling, cardmaking, and collaging stationery."
|
|
|
|
|
/>
|
|
|
|
|
<title>Home - Sky Art Shop</title>
|
|
|
|
|
<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=Roboto:wght@300;400;500;600;700&display=swap"
|
|
|
|
|
rel="stylesheet"
|
|
|
|
|
/>
|
|
|
|
|
<link
|
|
|
|
|
rel="stylesheet"
|
|
|
|
|
href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css"
|
|
|
|
|
/>
|
|
|
|
|
<link rel="stylesheet" href="/assets/css/main.css" />
|
|
|
|
|
<link rel="stylesheet" href="/assets/css/navbar.css" />
|
|
|
|
|
<link rel="stylesheet" href="/assets/css/shopping.css" />
|
|
|
|
|
</head>
|
2025-12-19 20:44:46 -06:00
|
|
|
<body>
|
|
|
|
|
<!-- Modern Navigation -->
|
|
|
|
|
<nav class="modern-navbar">
|
|
|
|
|
<div class="navbar-wrapper">
|
|
|
|
|
<div class="navbar-brand">
|
|
|
|
|
<a href="/home.html" class="brand-link">
|
|
|
|
|
<img
|
|
|
|
|
src="/uploads/images/8ba675b9-c4e6-41e6-8f14-382b9ee1d019.jpg"
|
|
|
|
|
alt="Sky Art Shop Logo"
|
|
|
|
|
class="brand-logo"
|
|
|
|
|
/>
|
|
|
|
|
<span class="brand-name">Sky Art Shop</span>
|
|
|
|
|
</a>
|
2025-12-13 22:59:42 -06:00
|
|
|
</div>
|
2025-12-19 20:44:46 -06:00
|
|
|
|
|
|
|
|
<div class="navbar-menu">
|
|
|
|
|
<ul class="nav-menu-list">
|
|
|
|
|
<li class="nav-item">
|
|
|
|
|
<a href="/home.html" class="nav-link">Home</a>
|
|
|
|
|
</li>
|
|
|
|
|
<li class="nav-item">
|
|
|
|
|
<a href="/shop.html" class="nav-link">Shop</a>
|
|
|
|
|
</li>
|
|
|
|
|
<li class="nav-item">
|
|
|
|
|
<a href="/portfolio.html" class="nav-link">Portfolio</a>
|
|
|
|
|
</li>
|
|
|
|
|
<li class="nav-item">
|
|
|
|
|
<a href="/about.html" class="nav-link">About</a>
|
|
|
|
|
</li>
|
|
|
|
|
<li class="nav-item">
|
|
|
|
|
<a href="/blog.html" class="nav-link">Blog</a>
|
|
|
|
|
</li>
|
|
|
|
|
<li class="nav-item">
|
|
|
|
|
<a href="/contact.html" class="nav-link">Contact</a>
|
|
|
|
|
</li>
|
|
|
|
|
</ul>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="navbar-actions">
|
|
|
|
|
<div class="action-item wishlist-dropdown-wrapper">
|
|
|
|
|
<button
|
|
|
|
|
class="action-btn"
|
|
|
|
|
id="wishlistToggle"
|
|
|
|
|
aria-label="Wishlist"
|
|
|
|
|
>
|
|
|
|
|
<i class="bi bi-heart"></i>
|
|
|
|
|
<span class="action-badge" id="wishlistCount">0</span>
|
|
|
|
|
</button>
|
|
|
|
|
<div class="action-dropdown wishlist-dropdown" id="wishlistPanel">
|
|
|
|
|
<div class="dropdown-head">
|
|
|
|
|
<h3>My Wishlist</h3>
|
|
|
|
|
<button class="dropdown-close" id="wishlistClose">
|
|
|
|
|
<i class="bi bi-x-lg"></i>
|
|
|
|
|
</button>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="dropdown-body" id="wishlistContent">
|
|
|
|
|
<p class="empty-state">Your wishlist is empty</p>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="dropdown-foot">
|
|
|
|
|
<a href="/shop.html" class="btn-outline">Continue Shopping</a>
|
|
|
|
|
</div>
|
2025-12-13 22:59:42 -06:00
|
|
|
</div>
|
2025-12-19 20:44:46 -06:00
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="action-item cart-dropdown-wrapper">
|
|
|
|
|
<button
|
|
|
|
|
class="action-btn"
|
|
|
|
|
id="cartToggle"
|
|
|
|
|
aria-label="Shopping Cart"
|
|
|
|
|
>
|
|
|
|
|
<i class="bi bi-cart3"></i>
|
|
|
|
|
<span class="action-badge" id="cartCount">0</span>
|
|
|
|
|
</button>
|
|
|
|
|
<div class="action-dropdown cart-dropdown" id="cartPanel">
|
|
|
|
|
<div class="dropdown-head">
|
|
|
|
|
<h3>Shopping Cart</h3>
|
|
|
|
|
<button class="dropdown-close" id="cartClose">
|
|
|
|
|
<i class="bi bi-x-lg"></i>
|
|
|
|
|
</button>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="dropdown-body" id="cartContent">
|
|
|
|
|
<p class="empty-state">Your cart is empty</p>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="dropdown-foot">
|
|
|
|
|
<div class="cart-summary">
|
|
|
|
|
<span class="summary-label">Subtotal:</span>
|
|
|
|
|
<span class="summary-value" id="cartSubtotal">$0.00</span>
|
|
|
|
|
</div>
|
|
|
|
|
<a href="/checkout.html" class="btn-primary-full"
|
|
|
|
|
>Proceed to Checkout</a
|
|
|
|
|
>
|
|
|
|
|
<a href="/shop.html" class="btn-text">Continue Shopping</a>
|
2025-12-13 22:59:42 -06:00
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
2025-12-19 20:44:46 -06:00
|
|
|
|
|
|
|
|
<button class="mobile-toggle" id="mobileMenuToggle" aria-label="Menu">
|
|
|
|
|
<span class="toggle-line"></span>
|
|
|
|
|
<span class="toggle-line"></span>
|
|
|
|
|
<span class="toggle-line"></span>
|
|
|
|
|
</button>
|
2025-12-13 22:59:42 -06:00
|
|
|
</div>
|
|
|
|
|
</div>
|
2025-12-19 20:44:46 -06:00
|
|
|
|
|
|
|
|
<div class="mobile-menu" id="mobileMenu">
|
|
|
|
|
<div class="mobile-menu-header">
|
|
|
|
|
<span class="mobile-brand">Sky Art Shop</span>
|
|
|
|
|
<button class="mobile-close" id="mobileMenuClose">
|
|
|
|
|
<i class="bi bi-x-lg"></i>
|
|
|
|
|
</button>
|
|
|
|
|
</div>
|
|
|
|
|
<ul class="mobile-menu-list">
|
|
|
|
|
<li><a href="/home.html" class="mobile-link">Home</a></li>
|
|
|
|
|
<li><a href="/shop.html" class="mobile-link">Shop</a></li>
|
|
|
|
|
<li><a href="/portfolio.html" class="mobile-link">Portfolio</a></li>
|
|
|
|
|
<li><a href="/about.html" class="mobile-link">About</a></li>
|
|
|
|
|
<li><a href="/blog.html" class="mobile-link">Blog</a></li>
|
|
|
|
|
<li><a href="/contact.html" class="mobile-link">Contact</a></li>
|
|
|
|
|
</ul>
|
2025-12-13 22:59:42 -06:00
|
|
|
</div>
|
2025-12-19 20:44:46 -06:00
|
|
|
</nav>
|
2025-12-13 22:59:42 -06:00
|
|
|
|
|
|
|
|
<!-- Hero Section -->
|
|
|
|
|
<section class="hero">
|
|
|
|
|
<div class="hero-content">
|
|
|
|
|
<h2>Welcome to Sky Art Shop</h2>
|
|
|
|
|
<p>Your destination for creative stationery and supplies</p>
|
|
|
|
|
<div class="hero-description">
|
|
|
|
|
<p>
|
|
|
|
|
Discover our curated collection of scrapbooking, journaling,
|
|
|
|
|
cardmaking, and collaging supplies. Express your creativity and
|
|
|
|
|
bring your artistic vision to life.
|
|
|
|
|
</p>
|
|
|
|
|
</div>
|
|
|
|
|
<a href="/shop.html" class="btn btn-primary">Shop Now</a>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="hero-image">
|
|
|
|
|
<img
|
|
|
|
|
src="/assets/images/hero-image.jpg"
|
|
|
|
|
alt="Sky Art Shop"
|
|
|
|
|
loading="lazy"
|
|
|
|
|
onerror="this.style.display='none'"
|
|
|
|
|
/>
|
|
|
|
|
</div>
|
|
|
|
|
</section>
|
|
|
|
|
|
|
|
|
|
<!-- Inspiration Section -->
|
|
|
|
|
<section class="inspiration">
|
|
|
|
|
<div class="container">
|
|
|
|
|
<h2>Get Inspired</h2>
|
|
|
|
|
<div class="inspiration-content">
|
|
|
|
|
<div class="inspiration-text">
|
|
|
|
|
<p>
|
|
|
|
|
At Sky Art Shop, we believe in the power of creativity to
|
|
|
|
|
transform and inspire. Whether you're an experienced crafter or
|
|
|
|
|
just beginning your creative journey, we have everything you need
|
|
|
|
|
to bring your ideas to life.
|
|
|
|
|
</p>
|
|
|
|
|
<p>
|
|
|
|
|
Explore our collection of washi tapes, stickers, stamps, and more.
|
|
|
|
|
Each item is carefully selected to help you create something
|
|
|
|
|
beautiful and meaningful.
|
|
|
|
|
</p>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="inspiration-image">
|
|
|
|
|
<img
|
|
|
|
|
src="/assets/images/inspiration.jpg"
|
|
|
|
|
alt="Creative Inspiration"
|
|
|
|
|
loading="lazy"
|
|
|
|
|
onerror="this.style.display='none'"
|
|
|
|
|
/>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<a href="/portfolio.html" class="btn btn-secondary">View Portfolio</a>
|
|
|
|
|
</div>
|
|
|
|
|
</section>
|
|
|
|
|
|
|
|
|
|
<!-- Featured Products Section -->
|
|
|
|
|
<section class="collection">
|
|
|
|
|
<div class="container">
|
|
|
|
|
<h2>Featured Products</h2>
|
|
|
|
|
<p class="section-subtitle">Discover our most popular items</p>
|
|
|
|
|
<div class="products-grid" id="featuredProducts">
|
|
|
|
|
<div class="product-card">
|
|
|
|
|
<div class="product-image">
|
|
|
|
|
<img
|
|
|
|
|
src="/assets/images/placeholder.jpg"
|
|
|
|
|
alt="Product"
|
|
|
|
|
loading="lazy"
|
|
|
|
|
/>
|
|
|
|
|
</div>
|
|
|
|
|
<h3>Loading products...</h3>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<a href="/shop.html" class="btn btn-secondary">View All Products</a>
|
|
|
|
|
</div>
|
|
|
|
|
</section>
|
|
|
|
|
|
|
|
|
|
<!-- Footer -->
|
|
|
|
|
<footer class="footer">
|
|
|
|
|
<div class="container">
|
2025-12-19 20:44:46 -06:00
|
|
|
<div class="footer-grid">
|
|
|
|
|
<div class="footer-col">
|
|
|
|
|
<h3 class="footer-title" id="footerSiteName">Sky Art Shop</h3>
|
|
|
|
|
<p class="footer-text">
|
|
|
|
|
Your destination for unique art pieces and creative supplies.
|
|
|
|
|
</p>
|
2025-12-13 22:59:42 -06:00
|
|
|
<div class="social-links">
|
2025-12-19 20:44:46 -06:00
|
|
|
<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-twitter"></i></a>
|
|
|
|
|
<a href="#" class="social-link"
|
|
|
|
|
><i class="bi bi-pinterest"></i
|
|
|
|
|
></a>
|
2025-12-13 22:59:42 -06:00
|
|
|
</div>
|
|
|
|
|
</div>
|
2025-12-19 20:44:46 -06:00
|
|
|
<div class="footer-col">
|
|
|
|
|
<h4 class="footer-heading">Shop</h4>
|
|
|
|
|
<ul class="footer-links">
|
|
|
|
|
<li><a href="/shop.html">All Products</a></li>
|
|
|
|
|
<li><a href="/shop.html?category=paintings">Paintings</a></li>
|
|
|
|
|
<li><a href="/shop.html?category=prints">Prints</a></li>
|
|
|
|
|
<li><a href="/shop.html?category=supplies">Art Supplies</a></li>
|
|
|
|
|
</ul>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="footer-col">
|
|
|
|
|
<h4 class="footer-heading">About</h4>
|
|
|
|
|
<ul class="footer-links">
|
|
|
|
|
<li><a href="/about.html">Our Story</a></li>
|
|
|
|
|
<li><a href="/portfolio.html">Portfolio</a></li>
|
|
|
|
|
<li><a href="/blog.html">Blog</a></li>
|
2025-12-13 22:59:42 -06:00
|
|
|
<li><a href="/contact.html">Contact</a></li>
|
2025-12-19 20:44:46 -06:00
|
|
|
</ul>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="footer-col">
|
|
|
|
|
<h4 class="footer-heading">Customer Service</h4>
|
|
|
|
|
<ul class="footer-links">
|
|
|
|
|
<li><a href="#">Shipping Info</a></li>
|
|
|
|
|
<li><a href="#">Returns</a></li>
|
|
|
|
|
<li><a href="#">FAQ</a></li>
|
|
|
|
|
<li><a href="#">Privacy Policy</a></li>
|
2025-12-13 22:59:42 -06:00
|
|
|
</ul>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="footer-bottom">
|
2025-12-19 20:44:46 -06:00
|
|
|
<p id="footerText">© 2025 Sky Art Shop. All rights reserved.</p>
|
2025-12-13 22:59:42 -06:00
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</footer>
|
|
|
|
|
|
|
|
|
|
<script src="/assets/js/main.js"></script>
|
|
|
|
|
<script src="/assets/js/cart.js"></script>
|
|
|
|
|
<script>
|
|
|
|
|
// Load site settings
|
|
|
|
|
async function loadSiteSettings() {
|
|
|
|
|
try {
|
|
|
|
|
const response = await fetch("/api/settings");
|
|
|
|
|
if (response.ok) {
|
|
|
|
|
const data = await response.json();
|
|
|
|
|
if (data.settings) {
|
|
|
|
|
document.getElementById("siteName").textContent =
|
|
|
|
|
data.settings.sitename || "Sky Art Shop";
|
|
|
|
|
document.getElementById("footerSiteName").textContent =
|
|
|
|
|
data.settings.sitename || "Sky Art Shop";
|
|
|
|
|
document.getElementById("footerText").textContent =
|
|
|
|
|
data.settings.footertext ||
|
|
|
|
|
"© 2025 by Sky Art Shop. All rights reserved.";
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
} catch (error) {
|
|
|
|
|
console.log("Using default site settings");
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Load featured products
|
|
|
|
|
async function loadFeaturedProducts() {
|
|
|
|
|
try {
|
|
|
|
|
const response = await fetch("/api/products/featured?limit=4");
|
|
|
|
|
if (response.ok) {
|
|
|
|
|
const data = await response.json();
|
|
|
|
|
if (data.products && data.products.length > 0) {
|
|
|
|
|
const container = document.getElementById("featuredProducts");
|
|
|
|
|
container.innerHTML = data.products
|
|
|
|
|
.map(
|
|
|
|
|
(product) => `
|
|
|
|
|
<div class="product-card">
|
|
|
|
|
<a href="/product.html?id=${
|
|
|
|
|
product.id
|
|
|
|
|
}" class="product-link">
|
|
|
|
|
<div class="product-image">
|
|
|
|
|
<img src="${
|
|
|
|
|
product.imageurl ||
|
|
|
|
|
"/assets/images/placeholder.jpg"
|
|
|
|
|
}" alt="${
|
|
|
|
|
product.name
|
|
|
|
|
}" loading="lazy" />
|
|
|
|
|
</div>
|
|
|
|
|
<h3>${product.name}</h3>
|
|
|
|
|
<p class="price">$${parseFloat(
|
|
|
|
|
product.price
|
|
|
|
|
).toFixed(2)}</p>
|
|
|
|
|
</a>
|
|
|
|
|
<div style="display: flex; gap: 0.5rem; margin-top: 0.5rem;">
|
|
|
|
|
<button class="btn btn-small btn-icon" onclick="addToWishlist('${
|
|
|
|
|
product.id
|
|
|
|
|
}', '${product.name}', ${product.price}, '${
|
|
|
|
|
product.imageurl || ""
|
|
|
|
|
}')" aria-label="Add to wishlist">
|
|
|
|
|
<i class="bi bi-heart"></i>
|
|
|
|
|
</button>
|
|
|
|
|
<button class="btn btn-small btn-icon" onclick="addToCart('${
|
|
|
|
|
product.id
|
|
|
|
|
}', '${product.name}', ${product.price}, '${
|
|
|
|
|
product.imageurl || ""
|
|
|
|
|
}')" aria-label="Add to cart">
|
|
|
|
|
<i class="bi bi-cart-plus"></i>
|
|
|
|
|
</button>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
`
|
|
|
|
|
)
|
|
|
|
|
.join("");
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
} catch (error) {
|
|
|
|
|
console.log("Could not load featured products");
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Initialize
|
|
|
|
|
loadSiteSettings();
|
|
|
|
|
loadFeaturedProducts();
|
|
|
|
|
</script>
|
|
|
|
|
<script src="/assets/js/shopping.js"></script>
|
2025-12-19 20:44:46 -06:00
|
|
|
</body>
|
2025-12-13 22:59:42 -06:00
|
|
|
</html>
|