diff --git a/apps/website/src/app/(local-pages)/example-playground/code.tsx b/apps/website/src/app/(local-pages)/example-playground/code.tsx
index 158560c..97fe4c4 100644
--- a/apps/website/src/app/(local-pages)/example-playground/code.tsx
+++ b/apps/website/src/app/(local-pages)/example-playground/code.tsx
@@ -98,16 +98,16 @@ ${tsx}
export function ExampleCode() {
return (
-
+
)
}
diff --git a/apps/website/src/app/(pages)/(home)/_components/confetti.tsx b/apps/website/src/app/(pages)/(home)/_components/confetti.tsx
index e2173c6..f84b93c 100644
--- a/apps/website/src/app/(pages)/(home)/_components/confetti.tsx
+++ b/apps/website/src/app/(pages)/(home)/_components/confetti.tsx
@@ -1,10 +1,27 @@
import VFX from 'react-canvas-confetti/dist/presets/explosion'
-export function Confetti() {
+export function Confetti({
+ pageCoords = { x: window.innerWidth / 2, y: window.innerHeight / 2 },
+}: {
+ pageCoords?: {
+ x: number
+ y: number
+ }
+}) {
return (
)
}
diff --git a/apps/website/src/app/(pages)/(home)/_components/showcase.tsx b/apps/website/src/app/(pages)/(home)/_components/showcase.tsx
index ac3ba79..c31c096 100644
--- a/apps/website/src/app/(pages)/(home)/_components/showcase.tsx
+++ b/apps/website/src/app/(pages)/(home)/_components/showcase.tsx
@@ -64,7 +64,7 @@ export function Showcase({ className, ...props }: { className?: string }) {
}
const anchor = document.querySelector
(
- '.code-example-anchor',
+ '#code-example-anchor',
)
window.scrollTo({
@@ -87,7 +87,10 @@ export function Showcase({ className, ...props }: { className?: string }) {
)}
{hasGuessed && (
-
+
)}
@@ -152,7 +155,7 @@ function Slot(props: {