20 Commits

Author SHA1 Message Date
7c7d540c09 Update src/app/page.tsx 2026-02-17 16:35:26 +00:00
63a50c726f Update src/app/page.tsx 2026-02-17 16:32:56 +00:00
9923a8549e Update src/app/page.tsx 2026-02-17 16:30:37 +00:00
366bd012ad Update src/app/shop/page.tsx 2026-02-17 16:28:17 +00:00
c4cbe5e66d Update src/app/shop/[id]/page.tsx 2026-02-17 16:28:16 +00:00
0cdb25fc36 Update src/app/page.tsx 2026-02-17 16:28:15 +00:00
9420c06195 Merge version_3 into main
Merge version_3 into main
2026-02-17 15:22:00 +00:00
c48b16bab8 Update src/app/page.tsx 2026-02-17 15:21:55 +00:00
2edb5cc7cb Merge version_3 into main
Merge version_3 into main
2026-02-17 15:19:31 +00:00
23f4b72e47 Update src/app/shop/page.tsx 2026-02-17 15:19:27 +00:00
118e4e284e Update src/app/shop/[id]/page.tsx 2026-02-17 15:19:26 +00:00
fd45714d78 Update src/app/page.tsx 2026-02-17 15:19:25 +00:00
9bbab0e3f0 Update src/app/blog/page.tsx 2026-02-17 15:19:24 +00:00
cbf4c29e49 Merge version_2 into main
Merge version_2 into main
2026-02-17 15:11:30 +00:00
26106da4ac Update src/app/shop/page.tsx 2026-02-17 15:11:26 +00:00
bea97a008b Update src/app/shop/[id]/page.tsx 2026-02-17 15:11:25 +00:00
d3bef756fb Update src/app/page.tsx 2026-02-17 15:11:24 +00:00
61abdfb14e Update src/app/layout.tsx 2026-02-17 15:11:23 +00:00
3a7a9f4bee Update src/app/blog/page.tsx 2026-02-17 15:11:22 +00:00
7c55a7e268 Merge version_1 into main
Merge version_1 into main
2026-02-16 15:10:40 +00:00
4 changed files with 49 additions and 20 deletions

View File

@@ -431,6 +431,20 @@ export default function RootLayout({
originalContent = element.textContent; originalContent = element.textContent;
element.contentEditable = 'true'; element.contentEditable = 'true';
if (!element.dataset.webildOriginalWhiteSpace) {
const computedStyle = window.getComputedStyle(element);
element.dataset.webildOriginalWhiteSpace = computedStyle.whiteSpace;
element.dataset.webildOriginalWordWrap = computedStyle.wordWrap;
element.dataset.webildOriginalOverflowWrap = computedStyle.overflowWrap;
element.dataset.webildOriginalOverflow = computedStyle.overflow;
}
element.style.whiteSpace = 'pre-wrap';
element.style.wordWrap = 'break-word';
element.style.overflowWrap = 'break-word';
element.style.overflow = 'visible';
element.focus(); element.focus();
isEditing = true; isEditing = true;
@@ -540,6 +554,23 @@ export default function RootLayout({
element.contentEditable = 'false'; element.contentEditable = 'false';
isEditing = false; isEditing = false;
if (element.dataset.webildOriginalWhiteSpace) {
element.style.whiteSpace = element.dataset.webildOriginalWhiteSpace === 'normal' ? '' : element.dataset.webildOriginalWhiteSpace;
delete element.dataset.webildOriginalWhiteSpace;
}
if (element.dataset.webildOriginalWordWrap) {
element.style.wordWrap = element.dataset.webildOriginalWordWrap === 'normal' ? '' : element.dataset.webildOriginalWordWrap;
delete element.dataset.webildOriginalWordWrap;
}
if (element.dataset.webildOriginalOverflowWrap) {
element.style.overflowWrap = element.dataset.webildOriginalOverflowWrap === 'normal' ? '' : element.dataset.webildOriginalOverflowWrap;
delete element.dataset.webildOriginalOverflowWrap;
}
if (element.dataset.webildOriginalOverflow) {
element.style.overflow = element.dataset.webildOriginalOverflow === 'visible' ? '' : element.dataset.webildOriginalOverflow;
delete element.dataset.webildOriginalOverflow;
}
if (element.dataset.beforeInputHandler === 'true') { if (element.dataset.beforeInputHandler === 'true') {
element.removeEventListener('beforeinput', () => {}); element.removeEventListener('beforeinput', () => {});
delete element.dataset.beforeInputHandler; delete element.dataset.beforeInputHandler;
@@ -845,6 +876,9 @@ export default function RootLayout({
const handleScroll = () => { const handleScroll = () => {
if (!isActive) return; if (!isActive) return;
if (isEditing) return;
if (selectedElement) { if (selectedElement) {
makeUneditable(selectedElement, false); makeUneditable(selectedElement, false);
selectedElement.classList.remove(selectedClass); selectedElement.classList.remove(selectedClass);
@@ -1259,4 +1293,4 @@ export default function RootLayout({
</ServiceWrapper> </ServiceWrapper>
</html> </html>
); );
} }

View File

@@ -1,8 +1,8 @@
"use client" "use client";
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider"; import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarLayoutFloatingInline from '@/components/navbar/NavbarLayoutFloatingInline'; import NavbarLayoutFloatingInline from '@/components/navbar/NavbarLayoutFloatingInline';
import HeroBillboard from '@/components/sections/hero/HeroBillboard'; import HeroLogoBillboard from '@/components/sections/hero/HeroLogoBillboard';
import TextAbout from '@/components/sections/about/TextAbout'; import TextAbout from '@/components/sections/about/TextAbout';
import FeatureCardMedia from '@/components/sections/feature/FeatureCardMedia'; import FeatureCardMedia from '@/components/sections/feature/FeatureCardMedia';
import TestimonialCardTwo from '@/components/sections/testimonial/TestimonialCardTwo'; import TestimonialCardTwo from '@/components/sections/testimonial/TestimonialCardTwo';
@@ -42,18 +42,18 @@ export default function LandingPage() {
</div> </div>
<div id="hero" data-section="hero"> <div id="hero" data-section="hero">
<HeroBillboard <HeroLogoBillboard
title="Welcome to Old Boy Domino Club" logoText="Old Boy Domino Club"
description="Join a thriving community of domino enthusiasts where tradition meets fellowship. Experience the timeless joy of classic domino gaming with friends who share your passion." description="Join a thriving community of domino enthusiasts where tradition meets fellowship. Experience the timeless joy of classic domino gaming with friends who share your passion."
background={{ variant: "plain" }}
tag="Est. 1985"
tagIcon={Dice6}
imageSrc="https://img.b2bpic.net/free-photo/side-view-glass-tea-with-backgammon-jam-carpet-table_176474-3102.jpg"
imageAlt="Classic domino table game in session"
buttons={[ buttons={[
{ text: "Join Our Club", href: "contact" }, { text: "Join Our Club", href: "contact" },
{ text: "Learn More", href: "about" } { text: "Learn More", href: "about" }
]} ]}
background={{ variant: "sparkles-gradient" }}
imageSrc="https://img.b2bpic.net/free-photo/side-view-glass-tea-with-backgammon-jam-carpet-table_176474-3102.jpg"
imageAlt="Classic domino table game in session"
mediaAnimation="slide-up"
frameStyle="card"
/> />
</div> </div>

View File

@@ -90,8 +90,7 @@ export default function ProductPage({ params }: ProductPageProps) {
{"name":"About","id":"about"}, {"name":"About","id":"about"},
{"name":"Features","id":"features"}, {"name":"Features","id":"features"},
{"name":"Team","id":"team"}, {"name":"Team","id":"team"},
{"name":"Contact","id":"contact"}, {"name":"Contact","id":"contact"}
{"name":"Shop","id":"/shop"}
]} ]}
button={{ text: "Cart", onClick: () => setCartOpen(true) }} button={{ text: "Cart", onClick: () => setCartOpen(true) }}
/> />
@@ -138,8 +137,7 @@ export default function ProductPage({ params }: ProductPageProps) {
{"name":"About","id":"about"}, {"name":"About","id":"about"},
{"name":"Features","id":"features"}, {"name":"Features","id":"features"},
{"name":"Team","id":"team"}, {"name":"Team","id":"team"},
{"name":"Contact","id":"contact"}, {"name":"Contact","id":"contact"}
{"name":"Shop","id":"/shop"}
]} ]}
button={{ text: "Cart", onClick: () => setCartOpen(true) }} button={{ text: "Cart", onClick: () => setCartOpen(true) }}
/> />
@@ -193,8 +191,7 @@ export default function ProductPage({ params }: ProductPageProps) {
{"name":"About","id":"about"}, {"name":"About","id":"about"},
{"name":"Features","id":"features"}, {"name":"Features","id":"features"},
{"name":"Team","id":"team"}, {"name":"Team","id":"team"},
{"name":"Contact","id":"contact"}, {"name":"Contact","id":"contact"}
{"name":"Shop","id":"/shop"}
]} ]}
button={{ text: "Cart", onClick: () => setCartOpen(true) }} button={{ text: "Cart", onClick: () => setCartOpen(true) }}
/> />

View File

@@ -40,8 +40,7 @@ export default function ShopPage() {
{"name":"About","id":"about"}, {"name":"About","id":"about"},
{"name":"Features","id":"features"}, {"name":"Features","id":"features"},
{"name":"Team","id":"team"}, {"name":"Team","id":"team"},
{"name":"Contact","id":"contact"}, {"name":"Contact","id":"contact"}
{"name":"Shop","id":"/shop"}
]} ]}
button={{ text: "Cart", onClick: () => console.log("cart") }} button={{ text: "Cart", onClick: () => console.log("cart") }}
/> />
@@ -87,8 +86,7 @@ export default function ShopPage() {
{"name":"About","id":"about"}, {"name":"About","id":"about"},
{"name":"Features","id":"features"}, {"name":"Features","id":"features"},
{"name":"Team","id":"team"}, {"name":"Team","id":"team"},
{"name":"Contact","id":"contact"}, {"name":"Contact","id":"contact"}
{"name":"Shop","id":"/shop"}
]} ]}
button={{ text: "Cart", onClick: () => console.log("cart") }} button={{ text: "Cart", onClick: () => console.log("cart") }}
/> />