From d68a26c2e6e8cb34edd8b5665416a334cb28b1ac Mon Sep 17 00:00:00 2001 From: Abdulkaiz Khatri <24286590+ful1e5@users.noreply.github.com> Date: Wed, 17 Jan 2024 17:32:24 +0530 Subject: [PATCH] chore: Replaced Upgrade warning inside navigation bar --- src/app/(home)/page.tsx | 17 +++++------ src/app/(home)/studio/page.tsx | 6 ---- src/components/Marquee.tsx | 4 +-- src/components/NavBar/index.tsx | 54 ++++++++++++++++++++------------- 4 files changed, 42 insertions(+), 39 deletions(-) diff --git a/src/app/(home)/page.tsx b/src/app/(home)/page.tsx index 8ca0527..60c6a0a 100644 --- a/src/app/(home)/page.tsx +++ b/src/app/(home)/page.tsx @@ -4,7 +4,6 @@ import '@app/(home)/styles.css'; import Link from 'next/link'; -import { Message } from '@components/Message'; import { AnimatedCounter as Counter } from '@components/AnimatedCount'; import { Marquee } from '@components/Marquee'; import { HeroesElements } from '@components/HeroesElements'; @@ -23,11 +22,6 @@ export default function HomePage() {
-

@@ -184,7 +178,7 @@ export default function HomePage() {

-
+
BEEEEEE @@ -251,9 +245,12 @@ export default function HomePage() { The proficient team spearheading the Bibata.

- - - +
+ + + +
+

Bibata stands as a fully open-source platform, boasting actively diff --git a/src/app/(home)/studio/page.tsx b/src/app/(home)/studio/page.tsx index 5447f56..83c8a0a 100644 --- a/src/app/(home)/studio/page.tsx +++ b/src/app/(home)/studio/page.tsx @@ -7,7 +7,6 @@ import tinycolor from 'tinycolor2'; import { TYPES, COLORS, SIZES } from '@root/configs'; import { LIB_VERSION } from '@root/version'; -import { Message } from '@components/Message'; import { TypePicker } from '@components/TypePicker'; import { SizePicker } from '@components/SizePicker'; import { ColorPicker } from '@components/ColorPicker'; @@ -65,11 +64,6 @@ export default function StudioPage() { background: `radial-gradient(circle at center, ${tint1} 0%, ${tint2} 50%, ${tint1} 75%, ${bg} 100%)` }}>

-
!a.match('Right'))} diff --git a/src/components/Marquee.tsx b/src/components/Marquee.tsx index 218cb6a..3c299ae 100644 --- a/src/components/Marquee.tsx +++ b/src/components/Marquee.tsx @@ -21,11 +21,11 @@ export const Marquee: React.FC = (props) => { return (
-
+
-
+
diff --git a/src/components/NavBar/index.tsx b/src/components/NavBar/index.tsx index 6b7a604..12658cb 100644 --- a/src/components/NavBar/index.tsx +++ b/src/components/NavBar/index.tsx @@ -8,6 +8,7 @@ import { useSession } from 'next-auth/react'; import { Profile } from './profile'; import { BibataTypoLogo } from '@components/svgs'; +import { Marquee } from '@components/Marquee'; type Props = {}; @@ -23,28 +24,39 @@ export const NavBar: React.FC = (_props) => { ? 'bg-[--bg-dark]' : 'bg-[#151515] backdrop-filter backdrop-blur-xl border-b border-white/[.1] firefox:bg-opacity-95 bg-opacity-95' } `}> -