diff --git a/app/register/owner/page.js b/app/register/owner/page.js
index 4c69acf..ef02130 100644
--- a/app/register/owner/page.js
+++ b/app/register/owner/page.js
@@ -1,6 +1,6 @@
'use client';
-import { useState, useRef } from 'react';
+import { useState, useRef, useMemo } from 'react';
import { motion, AnimatePresence } from 'framer-motion';
import { useRouter } from 'next/navigation';
import Link from 'next/link';
@@ -238,18 +238,64 @@ export default function OwnerRegisterPage() {
animate: { transition: { staggerChildren: 0.1 } }
};
+
+const backgroundElements = useMemo(() => {
+ const circles = [
+ { style: { top: '20%', right: '20%', width: '256px', height: '256px' }, className: 'bg-amber-500/5' },
+ { style: { bottom: '20%', left: '20%', width: '320px', height: '320px' }, className: 'bg-blue-500/5' },
+ { style: { top: '50%', left: '50%', width: '384px', height: '384px', transform: 'translate(-50%, -50%)' }, className: 'bg-purple-500/5' },
+ ];
+
+ const dots = [
+ { left: '5%', top: '10%', size: '120px' },
+ { left: '15%', top: '70%', size: '80px' },
+ { left: '25%', top: '30%', size: '150px' },
+ { left: '35%', top: '85%', size: '100px' },
+ { left: '45%', top: '15%', size: '90px' },
+ { left: '55%', top: '60%', size: '130px' },
+ { left: '65%', top: '40%', size: '70px' },
+ { left: '75%', top: '80%', size: '110px' },
+ { left: '85%', top: '20%', size: '140px' },
+ { left: '95%', top: '50%', size: '85px' },
+ ];
+
+ return (
+ <>
+ {circles.map((circle, i) => (
+
+ ))}
+ {dots.map((dot, i) => (
+
+ ))}
+ >
+ );
+}, []);
+
+
return (
-
+ {/*
{[...Array(20)].map((_, i) => (
))}
-
+
*/}
+
+
+ {backgroundElements}
+
diff --git a/app/register/tenant/page.js b/app/register/tenant/page.js
index cb7629c..a136068 100644
--- a/app/register/tenant/page.js
+++ b/app/register/tenant/page.js
@@ -1,6 +1,6 @@
'use client';
-import { useState, useRef } from 'react';
+import { useState, useRef, useMemo } from 'react';
import { motion, AnimatePresence } from 'framer-motion';
import { useRouter } from 'next/navigation';
import Link from 'next/link';
@@ -239,19 +239,61 @@ export default function TenantRegisterPage() {
animate: { transition: { staggerChildren: 0.1 } }
};
+
+ const backgroundElements = useMemo(() => {
+ const circles = [
+ { style: { top: '20%', right: '20%', width: '256px', height: '256px' }, className: 'bg-blue-500/10' },
+ { style: { bottom: '20%', left: '20%', width: '320px', height: '320px' }, className: 'bg-blue-500/10' },
+ { style: { top: '50%', left: '50%', width: '384px', height: '384px', transform: 'translate(-50%, -50%)' }, className: 'bg-blue-500/10' },
+ ];
+
+ const dots = [
+ { left: '5%', top: '10%', size: '120px' },
+ { left: '15%', top: '70%', size: '80px' },
+ { left: '25%', top: '30%', size: '150px' },
+ { left: '35%', top: '85%', size: '100px' },
+ { left: '45%', top: '15%', size: '90px' },
+ { left: '55%', top: '60%', size: '130px' },
+ { left: '65%', top: '40%', size: '70px' },
+ { left: '75%', top: '80%', size: '110px' },
+ { left: '85%', top: '20%', size: '140px' },
+ { left: '95%', top: '50%', size: '85px' },
+ ];
+
+ return (
+ <>
+ {circles.map((circle, i) => (
+
+ ))}
+ {dots.map((dot, i) => (
+
+ ))}
+ >
+ );
+}, []);
return (
-
+ {/*
{[...Array(20)].map((_, i) => (
))}
-
-
+
*/}
+
+ {backgroundElements}
+
{/* Back */}