Files
SkyArtShop/website/public/about.html

605 lines
19 KiB
HTML
Raw Normal View History

<!DOCTYPE html>
<html lang="en">
2025-12-19 20:44:46 -06:00
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>About - Sky Art Shop</title>
2025-12-19 20:44:46 -06:00
<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/theme-colors.css" />
2026-01-01 22:24:30 -06:00
<link rel="stylesheet" href="/assets/css/main.css?v=1735692100" />
<link rel="stylesheet" href="/assets/css/navbar.css?v=1767233028" />
<link rel="stylesheet" href="/assets/css/page-overrides.css?v=1736790001" />
2026-01-04 17:52:37 -06:00
<link rel="stylesheet" href="/assets/css/cart-wishlist.css" />
<link rel="stylesheet" href="/assets/css/shopping.css" />
2026-01-01 22:24:30 -06:00
<link rel="stylesheet" href="/assets/css/responsive.css" />
<link
rel="stylesheet"
href="/assets/css/navbar-mobile-fix.css?v=1736790000"
/>
2025-12-19 20:44:46 -06:00
</head>
<body>
<script>
window.__bodyReady = true;
</script>
<!-- Modern Navigation -->
<div class="sticky-banner-wrapper">
<nav class="modern-navbar">
<div class="navbar-wrapper">
<div class="navbar-brand">
<a href="/home" class="brand-link">
<img
src="/uploads/cat-png-1767324141436-368259437.png"
alt="Sky Art Shop Logo"
class="brand-logo"
/>
<span class="brand-name">Sky' Art Shop</span>
</a>
</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" class="nav-link">Home</a>
</li>
<li class="nav-item">
<a href="/shop" class="nav-link">Shop</a>
</li>
<li class="nav-item">
<a href="/portfolio" class="nav-link">Portfolio</a>
</li>
<li class="nav-item">
<a href="/about" class="nav-link active">About</a>
</li>
<li class="nav-item">
<a href="/blog" class="nav-link">Blog</a>
</li>
<li class="nav-item">
<a href="/contact" class="nav-link">Contact</a>
</li>
</ul>
</div>
2025-12-19 20:44:46 -06:00
<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" class="btn-outline">Continue Shopping</a>
</div>
</div>
</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">
<a href="/shop" class="btn-outline">Continue Shopping</a>
</div>
</div>
</div>
2025-12-19 20:44:46 -06:00
<button
class="mobile-toggle"
id="mobileMenuToggle"
aria-label="Menu"
2025-12-19 20:44:46 -06:00
>
<span class="toggle-line"></span>
<span class="toggle-line"></span>
<span class="toggle-line"></span>
</button>
</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" class="mobile-link">Home</a></li>
<li><a href="/shop" class="mobile-link">Shop</a></li>
<li><a href="/portfolio" class="mobile-link">Portfolio</a></li>
<li><a href="/about" class="mobile-link">About</a></li>
<li><a href="/blog" class="mobile-link">Blog</a></li>
<li><a href="/contact" class="mobile-link">Contact</a></li>
</ul>
</div>
</nav>
</div>
<section class="about-hero">
2025-12-19 20:44:46 -06:00
<div class="container">
<h1>About Sky Art Shop</h1>
<p class="hero-subtitle">Your creative journey starts here</p>
</div>
</section>
<section class="about-content">
2025-12-19 20:44:46 -06:00
<div class="container">
<div class="about-layout">
<div class="about-main-content">
2025-12-24 00:13:23 -06:00
<div class="about-text" id="aboutContent">
<div style="text-align: center; padding: 40px">
<div
class="loading-spinner"
style="
border: 4px solid #f3f3f3;
border-top: 4px solid #667eea;
border-radius: 50%;
width: 50px;
height: 50px;
animation: spin 1s linear infinite;
margin: 0 auto 20px;
"
></div>
<p>Loading content...</p>
</div>
</div>
2025-12-19 20:44:46 -06:00
</div>
</div>
2025-12-19 20:44:46 -06:00
</div>
</section>
2025-12-24 00:13:23 -06:00
<!-- Team Members Section -->
<section class="team-section" id="teamSection" style="display: none">
<div class="container">
<div class="team-header">
<h2 class="section-title">Meet Our Team</h2>
<p class="section-subtitle">
The talented people behind Sky Art Shop
</p>
</div>
<div class="team-grid" id="teamMembersGrid">
<div style="text-align: center; padding: 40px">
<div
class="loading-spinner"
style="
border: 4px solid #f3f3f3;
border-top: 4px solid #667eea;
border-radius: 50%;
width: 50px;
height: 50px;
animation: spin 1s linear infinite;
margin: 0 auto 20px;
"
></div>
<p>Loading team...</p>
</div>
</div>
</div>
</section>
<style>
@keyframes spin {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}
/* Team Section Styles */
.team-section {
padding: 80px 0;
2026-01-01 22:24:30 -06:00
background: #fcb1d8;
2025-12-24 00:13:23 -06:00
}
.team-header {
text-align: center;
margin-bottom: 60px;
}
.section-title {
font-size: 2.5rem;
font-weight: 700;
2026-01-01 22:24:30 -06:00
color: #202023;
2025-12-24 00:13:23 -06:00
margin-bottom: 15px;
}
.section-subtitle {
font-size: 1.125rem;
2026-01-01 22:24:30 -06:00
color: #202023;
opacity: 0.8;
2025-12-24 00:13:23 -06:00
max-width: 600px;
margin: 0 auto;
}
.team-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 40px;
max-width: 1200px;
margin: 0 auto;
}
.team-card {
background: white;
border-radius: 20px;
padding: 40px 30px;
text-align: center;
2026-01-01 22:24:30 -06:00
box-shadow: 0 4px 15px rgba(252, 177, 216, 0.3);
2025-12-24 00:13:23 -06:00
transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
position: relative;
overflow: hidden;
2026-01-01 22:24:30 -06:00
border: 2px solid #ffd0d0;
2025-12-24 00:13:23 -06:00
}
.team-card::before {
content: "";
position: absolute;
top: 0;
left: 0;
right: 0;
height: 5px;
2026-01-01 22:24:30 -06:00
background: #fcb1d8;
2025-12-24 00:13:23 -06:00
transform: scaleX(0);
transition: transform 0.4s ease;
}
.team-card:hover {
transform: translateY(-10px);
2026-01-01 22:24:30 -06:00
box-shadow: 0 20px 40px rgba(252, 177, 216, 0.4);
border-color: #fcb1d8;
2025-12-24 00:13:23 -06:00
}
.team-card:hover::before {
transform: scaleX(1);
}
.team-image-wrapper {
width: 150px;
height: 150px;
margin: 0 auto 25px;
position: relative;
}
.team-image {
width: 100%;
height: 100%;
border-radius: 50%;
object-fit: cover;
2026-01-01 22:24:30 -06:00
border: 5px solid #fcb1d8;
2025-12-24 00:13:23 -06:00
transition: all 0.4s ease;
2026-01-01 22:24:30 -06:00
background: #fcb1d8;
2025-12-24 00:13:23 -06:00
display: flex;
align-items: center;
justify-content: center;
2026-01-01 22:24:30 -06:00
box-shadow: 0 8px 20px rgba(252, 177, 216, 0.4);
2025-12-24 00:13:23 -06:00
}
.team-card:hover .team-image {
transform: scale(1.1) rotate(5deg);
2026-01-01 22:24:30 -06:00
border-color: #f6ccde;
2025-12-24 00:13:23 -06:00
}
.team-image img {
width: 100%;
height: 100%;
border-radius: 50%;
object-fit: cover;
}
.team-image i {
font-size: 4rem;
color: white;
}
.team-name {
font-size: 1.5rem;
font-weight: 700;
2026-01-01 22:24:30 -06:00
color: #202023;
2025-12-24 00:13:23 -06:00
margin-bottom: 8px;
transition: color 0.3s ease;
}
.team-card:hover .team-name {
2026-01-01 22:24:30 -06:00
color: #fcb1d8;
2025-12-24 00:13:23 -06:00
}
.team-position {
font-size: 1.125rem;
2026-01-01 22:24:30 -06:00
color: #fcb1d8;
2025-12-24 00:13:23 -06:00
font-weight: 600;
margin-bottom: 15px;
text-transform: uppercase;
letter-spacing: 0.5px;
font-size: 0.875rem;
}
.team-bio {
font-size: 1rem;
2026-01-01 22:24:30 -06:00
color: #202023;
opacity: 0.8;
2025-12-24 00:13:23 -06:00
line-height: 1.7;
margin-bottom: 0;
}
/* Responsive Design */
@media (max-width: 768px) {
.team-section {
padding: 60px 0;
}
.section-title {
font-size: 2rem;
}
.team-grid {
grid-template-columns: 1fr;
gap: 30px;
}
.team-card {
padding: 30px 20px;
}
.team-image-wrapper {
width: 120px;
height: 120px;
}
}
</style>
<footer class="footer">
2025-12-19 20:44:46 -06:00
<div class="container">
<div class="footer-grid">
<div class="footer-col">
<h3 class="footer-title">Sky Art Shop</h3>
<p class="footer-text">
Your destination for unique art pieces and creative supplies.
</p>
<div class="social-links">
<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>
</div>
2025-12-19 20:44:46 -06:00
</div>
<div class="footer-col">
<h4 class="footer-heading">Shop</h4>
<ul class="footer-links">
2026-01-01 22:24:30 -06:00
<li><a href="/shop">All Products</a></li>
<li><a href="/shop?category=paintings">Paintings</a></li>
<li><a href="/shop?category=prints">Prints</a></li>
<li><a href="/shop?category=supplies">Art Supplies</a></li>
2025-12-19 20:44:46 -06:00
</ul>
</div>
<div class="footer-col">
<h4 class="footer-heading">About</h4>
<ul class="footer-links">
2026-01-01 22:24:30 -06:00
<li><a href="/about">Our Story</a></li>
<li><a href="/portfolio">Portfolio</a></li>
<li><a href="/blog">Blog</a></li>
<li><a href="/contact">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">
2026-01-01 22:24:30 -06:00
<li><a href="/shipping-info">Shipping Info</a></li>
<li><a href="/returns">Returns</a></li>
<li><a href="/faq">FAQ</a></li>
<li><a href="/privacy">Privacy Policy</a></li>
2025-12-19 20:44:46 -06:00
</ul>
</div>
</div>
2025-12-19 20:44:46 -06:00
<div class="footer-bottom">
<p>&copy; 2025 Sky Art Shop. All rights reserved.</p>
</div>
</div>
</footer>
2026-01-01 22:24:30 -06:00
<script src="/assets/js/page-transitions.js?v=1766709739"></script>
<script src="/assets/js/back-button-control.js?v=1766723554"></script>
<script src="/assets/js/main.js"></script>
2025-12-24 00:13:23 -06:00
<script src="/assets/js/navigation.js"></script>
<script src="/assets/js/cart.js"></script>
2025-12-19 20:44:46 -06:00
<script src="/assets/js/shopping.js"></script>
2025-12-24 00:13:23 -06:00
<script>
// Load about page content from API
async function loadAboutContent() {
try {
const response = await fetch("/api/pages/about");
const data = await response.json();
if (data.success && data.page) {
const contentDiv = document.getElementById("aboutContent");
// Check if content is Quill Delta format (JSON)
if (data.page.content) {
try {
const delta = JSON.parse(data.page.content);
// Convert Delta to HTML
contentDiv.innerHTML = convertDeltaToHTML(delta);
} catch {
// If not JSON, treat as plain HTML
contentDiv.innerHTML = data.page.content;
}
} else {
contentDiv.innerHTML = "<p>Content not available.</p>";
}
// Update meta tags if available
if (data.page.metatitle) {
document.title = data.page.metatitle;
}
if (data.page.metadescription) {
const metaDesc = document.querySelector(
'meta[name="description"]'
);
if (metaDesc) {
metaDesc.content = data.page.metadescription;
}
}
} else {
document.getElementById("aboutContent").innerHTML =
"<p>Unable to load content.</p>";
}
} catch (error) {
console.error("Error loading about content:", error);
document.getElementById("aboutContent").innerHTML =
"<p>Error loading content.</p>";
}
}
// Convert Quill Delta to HTML
function convertDeltaToHTML(delta) {
if (!delta || !delta.ops) return "";
let html = "";
let currentBlock = "";
delta.ops.forEach((op) => {
if (typeof op.insert === "string") {
let text = op.insert;
// Apply text formatting
if (op.attributes) {
if (op.attributes.bold) text = `<strong>${text}</strong>`;
if (op.attributes.italic) text = `<em>${text}</em>`;
if (op.attributes.underline) text = `<u>${text}</u>`;
if (op.attributes.strike) text = `<s>${text}</s>`;
if (op.attributes.code) text = `<code>${text}</code>`;
if (op.attributes.link)
text = `<a href="${op.attributes.link}" target="_blank">${text}</a>`;
if (op.attributes.color)
text = `<span style="color: ${op.attributes.color}">${text}</span>`;
if (op.attributes.background)
text = `<span style="background-color: ${op.attributes.background}">${text}</span>`;
}
// Handle line breaks
const lines = text.split("\n");
lines.forEach((line, index) => {
currentBlock += line;
if (index < lines.length - 1) {
// New paragraph
if (currentBlock.trim()) {
html += `<p>${currentBlock}</p>`;
}
currentBlock = "";
}
});
}
});
// Add remaining content
if (currentBlock.trim()) {
html += `<p>${currentBlock}</p>`;
}
return html || "<p>Content not available.</p>";
}
// Load team members
async function loadTeamMembers() {
try {
const response = await fetch("/api/team-members");
const data = await response.json();
if (data.success && data.teamMembers && data.teamMembers.length > 0) {
displayTeamMembers(data.teamMembers);
document.getElementById("teamSection").style.display = "block";
}
} catch (error) {
console.error("Error loading team members:", error);
}
}
// Display team members
function displayTeamMembers(members) {
const grid = document.getElementById("teamMembersGrid");
grid.innerHTML = members
.map(
(member) => `
<div class="team-card">
<div class="team-image-wrapper">
<div class="team-image">
${
member.image_url
? `<img src="${member.image_url}" alt="${escapeHtml(
member.name
)}" />`
: `<i class="bi bi-person-circle"></i>`
}
</div>
</div>
<h3 class="team-name">${escapeHtml(member.name)}</h3>
<div class="team-position">${escapeHtml(member.position)}</div>
${
member.bio
? `<p class="team-bio">${escapeHtml(member.bio)}</p>`
: ""
}
</div>
`
)
.join("");
}
// Escape HTML to prevent XSS
function escapeHtml(text) {
if (!text) return "";
const div = document.createElement("div");
div.textContent = text;
return div.innerHTML;
}
// Load content when page loads
document.addEventListener("DOMContentLoaded", function () {
loadAboutContent();
loadTeamMembers();
});
</script>
<script src="/assets/js/cart.js"></script>
<script src="/assets/js/shop-system.js"></script>
2025-12-19 20:44:46 -06:00
</body>
</html>