From 62b44acbdfc297fcc6555bfe04cfa8685a3a805d Mon Sep 17 00:00:00 2001 From: kali Date: Sun, 2 Jun 2024 10:42:01 +0300 Subject: [PATCH] Made the background static and updated spacing --- app/about-us/page.tsx | 15 ++++++++------- app/learn/[category]/page.tsx | 17 +++++++++-------- app/page.tsx | 14 +++++++------- app/sessionconfig/page.tsx | 14 +++++++------- 4 files changed, 31 insertions(+), 29 deletions(-) diff --git a/app/about-us/page.tsx b/app/about-us/page.tsx index b7e6932..2149c9c 100644 --- a/app/about-us/page.tsx +++ b/app/about-us/page.tsx @@ -38,6 +38,13 @@ const people = [ 'polygon(74.1% 44.1%, 100% 61.6%, 97.5% 26.9%, 85.5% 0.1%, 80.7% 2%, 72.5% 32.5%, 60.2% 62.4%, 52.4% 68.1%, 47.5% 58.3%, 45.2% 34.5%, 27.5% 76.7%, 0.1% 64.9%, 17.9% 100%, 27.6% 76.8%, 76.1% 97.7%, 74.1% 44.1%)', }} /> +
@@ -87,13 +94,7 @@ const people = [ className="absolute inset-x-0 top-[calc(100%-13rem)] -z-10 transform-gpu overflow-hidden blur-3xl sm:top-[calc(100%-30rem)]" aria-hidden="true" > -
+
) diff --git a/app/learn/[category]/page.tsx b/app/learn/[category]/page.tsx index 665d43d..a66e7aa 100644 --- a/app/learn/[category]/page.tsx +++ b/app/learn/[category]/page.tsx @@ -92,8 +92,15 @@ const Page = ({ params }: { params: { category: string }}) => { 'polygon(74.1% 44.1%, 100% 61.6%, 97.5% 26.9%, 85.5% 0.1%, 80.7% 2%, 72.5% 32.5%, 60.2% 62.4%, 52.4% 68.1%, 47.5% 58.3%, 45.2% 34.5%, 27.5% 76.7%, 0.1% 64.9%, 17.9% 100%, 27.6% 76.8%, 76.1% 97.7%, 74.1% 44.1%)', }} /> +
-
+ {(()=>{ if ( !questions[ 0 ] ) @@ -107,13 +114,7 @@ const Page = ({ params }: { params: { category: string }}) => { className="absolute inset-x-0 top-[calc(100%-13rem)] -z-10 transform-gpu overflow-hidden blur-3xl sm:top-[calc(100%-30rem)]" aria-hidden="true" > -
+
diff --git a/app/page.tsx b/app/page.tsx index 7dff660..6b17fe1 100644 --- a/app/page.tsx +++ b/app/page.tsx @@ -20,6 +20,13 @@ export default function Example() { 'polygon(74.1% 44.1%, 100% 61.6%, 97.5% 26.9%, 85.5% 0.1%, 80.7% 2%, 72.5% 32.5%, 60.2% 62.4%, 52.4% 68.1%, 47.5% 58.3%, 45.2% 34.5%, 27.5% 76.7%, 0.1% 64.9%, 17.9% 100%, 27.6% 76.8%, 76.1% 97.7%, 74.1% 44.1%)', }} /> +
@@ -64,13 +71,6 @@ export default function Example() { className="absolute inset-x-0 top-[calc(100%-13rem)] -z-10 transform-gpu overflow-hidden blur-3xl sm:top-[calc(100%-30rem)]" aria-hidden="true" > -
) diff --git a/app/sessionconfig/page.tsx b/app/sessionconfig/page.tsx index 5000351..886c496 100644 --- a/app/sessionconfig/page.tsx +++ b/app/sessionconfig/page.tsx @@ -30,6 +30,13 @@ export default function Example() { 'polygon(74.1% 44.1%, 100% 61.6%, 97.5% 26.9%, 85.5% 0.1%, 80.7% 2%, 72.5% 32.5%, 60.2% 62.4%, 52.4% 68.1%, 47.5% 58.3%, 45.2% 34.5%, 27.5% 76.7%, 0.1% 64.9%, 17.9% 100%, 27.6% 76.8%, 76.1% 97.7%, 74.1% 44.1%)', }} /> +
@@ -59,13 +66,6 @@ export default function Example() { className="absolute inset-x-0 top-[calc(100%-13rem)] -z-10 transform-gpu overflow-hidden blur-3xl sm:top-[calc(100%-30rem)]" aria-hidden="true" > -
)