From 61b46bf7562a9cb1e613791ba7df0dfeff15e389 Mon Sep 17 00:00:00 2001 From: Irere123 Date: Sat, 26 Oct 2024 19:26:50 +0200 Subject: [PATCH] refactor: remove old nextjs folder --- src/app/(marketing)/innovation/page.tsx | 7 - src/app/(marketing)/layout.tsx | 13 -- src/app/(marketing)/page.tsx | 155 --------------------- src/app/favicon.ico | Bin 15406 -> 0 bytes src/app/globals.css | 3 - src/app/layout.tsx | 25 ---- src/app/loading.tsx | 7 - src/app/providers.tsx | 7 - src/components/footer.tsx | 42 ------ src/components/header.tsx | 54 ------- src/components/layout/index.ts | 1 - src/components/layout/marketing-layout.tsx | 18 --- src/components/marketing/hero-section.tsx | 49 ------- src/components/navigation/solution-nav.tsx | 37 ----- src/components/svgs/animated-circles.tsx | 103 -------------- src/components/svgs/discord-icon.tsx | 9 -- src/components/svgs/github-icon.tsx | 9 -- src/components/svgs/health-svg.tsx | 104 -------------- src/components/svgs/index.ts | 7 - src/components/svgs/layered-circles.tsx | 64 --------- src/components/svgs/swap-svg.tsx | 79 ----------- src/components/svgs/x-icon.tsx | 9 -- src/components/ui/accordion.tsx | 57 -------- src/components/ui/input.tsx | 25 ---- src/components/ui/navigation-menu.tsx | 128 ----------------- src/components/x-icon.tsx | 17 --- src/hooks/use-media-query.tsx | 54 ------- src/hooks/use-scroll.tsx | 21 --- src/lib/utils.ts | 6 - 29 files changed, 1110 deletions(-) delete mode 100644 src/app/(marketing)/innovation/page.tsx delete mode 100644 src/app/(marketing)/layout.tsx delete mode 100644 src/app/(marketing)/page.tsx delete mode 100644 src/app/favicon.ico delete mode 100644 src/app/globals.css delete mode 100644 src/app/layout.tsx delete mode 100644 src/app/loading.tsx delete mode 100644 src/app/providers.tsx delete mode 100644 src/components/footer.tsx delete mode 100644 src/components/header.tsx delete mode 100644 src/components/layout/index.ts delete mode 100644 src/components/layout/marketing-layout.tsx delete mode 100644 src/components/marketing/hero-section.tsx delete mode 100644 src/components/navigation/solution-nav.tsx delete mode 100644 src/components/svgs/animated-circles.tsx delete mode 100644 src/components/svgs/discord-icon.tsx delete mode 100644 src/components/svgs/github-icon.tsx delete mode 100644 src/components/svgs/health-svg.tsx delete mode 100644 src/components/svgs/index.ts delete mode 100644 src/components/svgs/layered-circles.tsx delete mode 100644 src/components/svgs/swap-svg.tsx delete mode 100644 src/components/svgs/x-icon.tsx delete mode 100644 src/components/ui/accordion.tsx delete mode 100644 src/components/ui/input.tsx delete mode 100644 src/components/ui/navigation-menu.tsx delete mode 100644 src/components/x-icon.tsx delete mode 100644 src/hooks/use-media-query.tsx delete mode 100644 src/hooks/use-scroll.tsx delete mode 100644 src/lib/utils.ts diff --git a/src/app/(marketing)/innovation/page.tsx b/src/app/(marketing)/innovation/page.tsx deleted file mode 100644 index e5c4203..0000000 --- a/src/app/(marketing)/innovation/page.tsx +++ /dev/null @@ -1,7 +0,0 @@ -export default function InnovationPage() { - return ( -
-

The best blatform out there

-
- ); -} diff --git a/src/app/(marketing)/layout.tsx b/src/app/(marketing)/layout.tsx deleted file mode 100644 index 1144fd2..0000000 --- a/src/app/(marketing)/layout.tsx +++ /dev/null @@ -1,13 +0,0 @@ -import { MarketingLayout } from "@/components/layout"; - -export default function MarketingRootLayout({ - children, -}: { - children: React.ReactNode; -}) { - return ( - -
{children}
-
- ); -} diff --git a/src/app/(marketing)/page.tsx b/src/app/(marketing)/page.tsx deleted file mode 100644 index 1f12de4..0000000 --- a/src/app/(marketing)/page.tsx +++ /dev/null @@ -1,155 +0,0 @@ -"use client"; - -import { - AnimatedCircles, - HealthSvg, - LayeredCircles, - SwapSvgIcon, -} from "@/components/svgs"; -import { - Accordion, - AccordionContent, - AccordionItem, - AccordionTrigger, -} from "@/components/ui/accordion"; -import Image from "next/image"; - -export default function Page() { - return ( -
- {/* Intro Section */} -
-
-

Meet Stoneproof

-

Supply chain management for minerals.

-
-
-
-
- Minerals in vehicle -
-
-

- Extensive Audits -

-

- Peace of mind supported by multiple audits by the world‘s - leading security firms. -

-
-
-
-
-

- Shortfall Secured -

-

- The Stoneproof secured with a backstop against protocol - insolvency. -

-
-
- People in mining site -
-
-
-
- {/* Features section */} -
-
-

Trust, Unlocked.

-

- Stoneproof can be trusted with these powerful features. -

-
-
-
- -

Swap

-

- Swap any ERC-20, even those borrowed or supplied. -

-
-
- -

Stake

-

- Earn rewards for securing the protocol -

-
-
- -

- Health factor -

-

- Easily track the risk level of your borrow positions. -

-
-
-
- -
-

- Multi-Network -

-

- Deployable on any EVM compatible network. -

-
-
-
- {/* FAQ Section */} -
-
-

FAQs

-
-
- - - What is Stoneproof? - - Yes. It adheres to the WAI-ARIA design pattern. - - - - - Where are supplied tokens stored? - - - Yes. It comes with default styles that matches the other - components' aesthetic. - - - - Does Stoneproof have risks? - - Yes. It's animated by default, but you can disable it if - you prefer. - - - - - Why should I trust Stoneproof? - - - Yes. It's animated by default, but you can disable it if - you prefer. - - - -
-
-
- ); -} diff --git a/src/app/favicon.ico b/src/app/favicon.ico deleted file mode 100644 index 3da1fa0ce8149103ad5ee86a69c45246bd6b086c..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 15406 zcmeHOd3+RAwrAlmPUeZZ--}jxWuB6i>CM-JtOn$#F z_ttXjeD~C?s(a6OS|%GMyHXY&E<-7om0l&2EtJV*a=ExYGeRc&BlaaF1&&Xb$-Wvd zlg-3AXo42veiRq=H@lX_B-gU1l53a)<(r8Quvs!08#Ua;>ayy_+)~w5hBiuo1;Lbb zfc;x?H3Q4@{|+6JU8#5`dXXk2?*IOgz1DE=jxRgs)p&hD?HRcEvE4lP0GlCQfic-A z)ydeY$`kSbt$rn5XCzH=-q^U`vU)G?2(;_tGPjoPp!R%obR^pDSDcXR zlnrvf=CvD*=CmZQIc*-Zq}|NS=}Q=wb&u)CE?~9)+oC+`G4>eg7Z zQXBO%YD<3_Biif6v0bhOx3gp-g<&4Q2P}QQ1#a-^R{T z9GCxEc}(7-I}q1sOpW&#Ql>IP$~536hHsg-E#o%ppElQN(ksuHZm#L|C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,3 +0,0 @@ -@tailwind base; -@tailwind components; -@tailwind utilities; diff --git a/src/app/layout.tsx b/src/app/layout.tsx deleted file mode 100644 index b6f69d7..0000000 --- a/src/app/layout.tsx +++ /dev/null @@ -1,25 +0,0 @@ -import { Metadata } from "next"; -import { Inter } from "next/font/google"; - -import "./globals.css"; -import { Providers } from "./providers"; - -export const metadata: Metadata = { - title: "Stoneproof", -}; - -const inter = Inter({ subsets: ["latin"] }); - -export default function RootLayout({ - children, -}: { - children: React.ReactNode; -}) { - return ( - - - {children} - - - ); -} diff --git a/src/app/loading.tsx b/src/app/loading.tsx deleted file mode 100644 index cb50c83..0000000 --- a/src/app/loading.tsx +++ /dev/null @@ -1,7 +0,0 @@ -export default function LoadingUI() { - return ( -
-

Loading....

-
- ); -} diff --git a/src/app/providers.tsx b/src/app/providers.tsx deleted file mode 100644 index 0723be1..0000000 --- a/src/app/providers.tsx +++ /dev/null @@ -1,7 +0,0 @@ -"use client"; - -export const Providers: React.FC<{ children: React.ReactNode }> = ({ - children, -}) => { - return <>{children}; -}; diff --git a/src/components/footer.tsx b/src/components/footer.tsx deleted file mode 100644 index 92bd50c..0000000 --- a/src/components/footer.tsx +++ /dev/null @@ -1,42 +0,0 @@ -import Image from "next/image"; -import { Input } from "./ui/input"; -import { DiscordIcon, GithubIcon, XIcon } from "./svgs"; - -export const Footer: React.FC = () => { - return ( -
-
- Stoneproof -

- stone.proof.com provides information and resources about the - fundamentals of the decentralised non-custodial liquidity protocol - called the Stoneproof Protocol, comprised of open-source - self-executing smart contracts that are deployed on various - permissionless public blockchains. -

- -
- - - -
-
-
-

- Stay up to date with Stone.proof -

-

- Subscribe to the newsletter for updates -

-
- -
-
-
- ); -}; diff --git a/src/components/header.tsx b/src/components/header.tsx deleted file mode 100644 index cd629ee..0000000 --- a/src/components/header.tsx +++ /dev/null @@ -1,54 +0,0 @@ -"use client"; - -import Image from "next/image"; -import Link from "next/link"; -import { useEffect } from "react"; -import { ArrowRight } from "lucide-react"; -import { useInView } from "react-intersection-observer"; - -import { - NavigationMenu, - NavigationMenuContent, - NavigationMenuItem, - NavigationMenuLink, - NavigationMenuList, - NavigationMenuTrigger, -} from "./ui/navigation-menu"; -import { SolutionsNav } from "./navigation/solution-nav"; - -export const Header: React.FC = () => { - const { ref, inView } = useInView({ - threshold: 0, - }); - - useEffect(() => { - if (!inView) { - window.scroll({ behavior: "smooth", top: 0 }); - } - }, []); - - return ( -
- - Stoneproof - -
- Solutions - Protocols - Token -
-
- -
-
- ); -}; diff --git a/src/components/layout/index.ts b/src/components/layout/index.ts deleted file mode 100644 index d2f90c1..0000000 --- a/src/components/layout/index.ts +++ /dev/null @@ -1 +0,0 @@ -export * from "./marketing-layout"; diff --git a/src/components/layout/marketing-layout.tsx b/src/components/layout/marketing-layout.tsx deleted file mode 100644 index a156577..0000000 --- a/src/components/layout/marketing-layout.tsx +++ /dev/null @@ -1,18 +0,0 @@ -import { Footer } from "../footer"; -import { Header } from "../header"; -import { HeroSection } from "../marketing/hero-section"; - -export const MarketingLayout: React.FC<{ children: React.ReactNode }> = ({ - children, -}) => { - return ( - <> -
-
- -
- {children} -