webupdate

This commit is contained in:
Local Server
2026-01-19 01:17:43 -06:00
parent 5b86f796d6
commit f8068ba54c
65 changed files with 2165 additions and 520 deletions

View File

@@ -5,6 +5,7 @@
<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" />
@@ -21,25 +22,26 @@
/>
<!-- Modern Theme CSS -->
<link
rel="stylesheet"
href="/assets/css/modern-theme.css?v=20260118drawer"
/>
<link
rel="stylesheet"
href="/assets/css/mobile-fixes.css?v=20260118editor"
/>
<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: 900px;
max-width: 800px;
margin: 0 auto;
background: var(--bg-white);
padding: var(--spacing-2xl);
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;
@@ -236,15 +238,63 @@
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"
<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"
<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"><i class="bi bi-youtube"></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>
@@ -273,9 +323,9 @@
<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>
<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>
@@ -326,7 +376,7 @@
</div>
<!-- Scripts -->
<script src="/assets/js/modern-theme.js?v=20260118c"></script>
<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>
@@ -341,7 +391,7 @@
}
const data = await response.json();
const pageData = data.pagedata || {};
const pageData = data.page?.pagedata || data.pagedata || {};
// Update header if data exists
if (pageData.header) {
@@ -365,13 +415,23 @@
sectionHtml += `<h2>${escapeHtml(section.title)}</h2>`;
}
if (section.content) {
// 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>`;
});
// 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 +=