diff --git a/bun.lockb b/bun.lockb index 9982c45..c10d524 100755 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/package.json b/package.json index b6db6cf..c99ef90 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,7 @@ "packages/*" ], "scripts": { - "next:dev": "cd packages/akeru-frontend && bun run dev", + "next:dev": "cd packages/akeru-landing && bun run dev", "api:dev": "cd packages/akeru-server && bun run dev" }, "dependencies": { diff --git a/packages/akeru-frontend/.gitignore b/packages/akeru-frontend/.gitignore deleted file mode 100644 index 07b177f..0000000 --- a/packages/akeru-frontend/.gitignore +++ /dev/null @@ -1,40 +0,0 @@ -# See https://help.github.com/articles/ignoring-files/ for more about ignoring files. - -# dependencies -/node_modules -/.pnp -.pnp.js -.yarn/install-state.gz - -# testing -/coverage - -# next.js -/.next/ -/out/ - -# production -/build - -# misc -.DS_Store -*.pem - -# debug -npm-debug.log* -yarn-debug.log* -yarn-error.log* - -# local env files -.env*.local -.env - -# vercel -.vercel - -# typescript -*.tsbuildinfo -next-env.d.ts - -#lock files -package-lock.json diff --git a/packages/akeru-frontend/README.md b/packages/akeru-frontend/README.md deleted file mode 100644 index a95df2e..0000000 --- a/packages/akeru-frontend/README.md +++ /dev/null @@ -1,40 +0,0 @@ -This is a [Next.js](https://nextjs.org/) project bootstrapped with [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app). - -## Important Note - -This codebase at the moment is being deprecated due to certain reasons; we have decided to adopt a different setup which is named `studios-ts` for now; that matches the goals of this project. - -## Getting Started - -First, run the development server: - -```bash -npm run dev -# or -yarn dev -# or -pnpm dev -# or -bun dev -``` - -Open [http://localhost:3000](http://localhost:3000) with your browser to see the result. - -You can start editing the page by modifying `app/page.tsx`. The page auto-updates as you edit the file. - -This project uses [`next/font`](https://nextjs.org/docs/basic-features/font-optimization) to automatically optimize and load Inter, a custom Google Font. - -## Learn More - -To learn more about Next.js, take a look at the following resources: - -- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API. -- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial. - -You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js/) - your feedback and contributions are welcome! - -## Deploy on Vercel - -The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js. - -Check out our [Next.js deployment documentation](https://nextjs.org/docs/deployment) for more details. diff --git a/packages/akeru-frontend/app/components/layout/footer/footer.tsx b/packages/akeru-frontend/app/components/layout/footer/footer.tsx deleted file mode 100644 index 0ada50f..0000000 --- a/packages/akeru-frontend/app/components/layout/footer/footer.tsx +++ /dev/null @@ -1,14 +0,0 @@ -import React from "react"; - -function Footer() { - const currentYear = new Date().getFullYear(); - return ( - - ); -} - -export default Footer; diff --git a/packages/akeru-frontend/app/components/layout/header/header.tsx b/packages/akeru-frontend/app/components/layout/header/header.tsx deleted file mode 100644 index 444b8e5..0000000 --- a/packages/akeru-frontend/app/components/layout/header/header.tsx +++ /dev/null @@ -1,44 +0,0 @@ -import { headerRoutes } from "@/app/utils/header-routes"; -import Link from "next/link"; -import { FaGithub } from "react-icons/fa"; -import { GiHamburgerMenu } from "react-icons/gi"; - -function Header() { - return ( -
- -
- ); -} - -export default Header; diff --git a/packages/akeru-frontend/app/components/sections/form-section.tsx b/packages/akeru-frontend/app/components/sections/form-section.tsx deleted file mode 100644 index 60ad1fb..0000000 --- a/packages/akeru-frontend/app/components/sections/form-section.tsx +++ /dev/null @@ -1,20 +0,0 @@ -"use client"; - -import { useFormState } from "react-dom"; -import { handleSubmit } from "@/app/server"; -import Form from "../ui/form/Form"; - -const initialState = { - email: "", -}; - -function FormSection() { - const [state, formAction] = useFormState(handleSubmit, initialState); - return ( -
-
-
- ); -} - -export default FormSection; diff --git a/packages/akeru-frontend/app/components/sections/hero-section.tsx b/packages/akeru-frontend/app/components/sections/hero-section.tsx deleted file mode 100644 index 3663e5b..0000000 --- a/packages/akeru-frontend/app/components/sections/hero-section.tsx +++ /dev/null @@ -1,15 +0,0 @@ -function HeroSection() { - return ( -
-

- The best API to setup your AI Project{" "} -

-

- Open-source AI platform built on the cutting edge of decentralization. - Akeru.ai offers transparent, safe, and highly available AI capabilities. -

-
- ); -} - -export default HeroSection; diff --git a/packages/akeru-frontend/app/components/ui/drawer/Drawer.tsx b/packages/akeru-frontend/app/components/ui/drawer/Drawer.tsx deleted file mode 100644 index 980c003..0000000 --- a/packages/akeru-frontend/app/components/ui/drawer/Drawer.tsx +++ /dev/null @@ -1,41 +0,0 @@ -import { FaGithub } from "react-icons/fa"; -import { headerRoutes } from "../../../utils/header-routes"; -import Link from "next/link"; - -type DrawerProps = { - children: React.ReactNode; -}; - -function Drawer({ children }: DrawerProps) { - return ( -
- -
{children}
-
- - -
-
- ); -} - -export default Drawer; diff --git a/packages/akeru-frontend/app/components/ui/form/Form.tsx b/packages/akeru-frontend/app/components/ui/form/Form.tsx deleted file mode 100644 index 76042e0..0000000 --- a/packages/akeru-frontend/app/components/ui/form/Form.tsx +++ /dev/null @@ -1,32 +0,0 @@ -import FormInput from "./FormInput"; - -type FormProps = { - formAction: (payload: FormData) => void; -}; - -function Form({ formAction }: FormProps) { - return ( - - - Stay in the loop! Enter your email address to receive an exclusive - notification when Akeru goes live. - - -
- -
- - ); -} - -export default Form; diff --git a/packages/akeru-frontend/app/components/ui/form/FormInput.tsx b/packages/akeru-frontend/app/components/ui/form/FormInput.tsx deleted file mode 100644 index 2ee22eb..0000000 --- a/packages/akeru-frontend/app/components/ui/form/FormInput.tsx +++ /dev/null @@ -1,29 +0,0 @@ -import { InputHTMLAttributes } from "react"; - -type FormInputProps = InputHTMLAttributes & { - type?: string; - name: string; - value?: string; -}; - -function FormInput({ - type, - name, - value, - - ...rest -}: FormInputProps) { - return ( -
- -
- ); -} - -export default FormInput; diff --git a/packages/akeru-frontend/app/components/ui/home-card/home-card.tsx b/packages/akeru-frontend/app/components/ui/home-card/home-card.tsx deleted file mode 100644 index e1ad56c..0000000 --- a/packages/akeru-frontend/app/components/ui/home-card/home-card.tsx +++ /dev/null @@ -1,25 +0,0 @@ -import FastIcon from "../icons/fast-icon"; - -type HomeCardProps = { - title?: string; - description?: string; - icon?: React.ReactNode; -}; - -function HomeCard({ title, description, icon }: HomeCardProps) { - return ( -
-
-
-

{title}

-
-
- -
-
-

{description}

-
- ); -} - -export default HomeCard; diff --git a/packages/akeru-frontend/app/components/ui/icons/bg-square.tsx b/packages/akeru-frontend/app/components/ui/icons/bg-square.tsx deleted file mode 100644 index 1a128a7..0000000 --- a/packages/akeru-frontend/app/components/ui/icons/bg-square.tsx +++ /dev/null @@ -1,23 +0,0 @@ -import * as React from "react"; -import { SVGProps } from "react"; - -const bgSquare = (props: SVGProps) => ( - - - - - - - - - - -); - -export default bgSquare; diff --git a/packages/akeru-frontend/app/components/ui/icons/fast-icon.tsx b/packages/akeru-frontend/app/components/ui/icons/fast-icon.tsx deleted file mode 100644 index fa14763..0000000 --- a/packages/akeru-frontend/app/components/ui/icons/fast-icon.tsx +++ /dev/null @@ -1,17 +0,0 @@ -function FastIcon() { - return ( - - - - ); -} -export default FastIcon; diff --git a/packages/akeru-frontend/app/favicon.ico b/packages/akeru-frontend/app/favicon.ico deleted file mode 100644 index 718d6fe..0000000 Binary files a/packages/akeru-frontend/app/favicon.ico and /dev/null differ diff --git a/packages/akeru-frontend/app/globals.css b/packages/akeru-frontend/app/globals.css deleted file mode 100644 index 9d06896..0000000 --- a/packages/akeru-frontend/app/globals.css +++ /dev/null @@ -1,11 +0,0 @@ -@tailwind base; -@tailwind components; -@tailwind utilities; - -body { - color: white; - background-position: center; - background-size: cover; - background-repeat: no-repeat; -} - diff --git a/packages/akeru-frontend/app/layout.tsx b/packages/akeru-frontend/app/layout.tsx deleted file mode 100644 index b234cba..0000000 --- a/packages/akeru-frontend/app/layout.tsx +++ /dev/null @@ -1,88 +0,0 @@ -import type { Metadata } from "next"; -import { Inter, Montserrat } from "next/font/google"; -import "./globals.css"; -import Header from "./components/layout/header/header"; -import Footer from "./components/layout/footer/footer"; -import Drawer from "./components/ui/drawer/Drawer"; -import BgSquare from "./components/ui/icons/bg-square"; - -const montserrat = Montserrat({ - subsets: ["latin"], - display: "swap", - variable: "--font-montserrat", -}); - -export const metadata: Metadata = { - metadataBase: new URL("https://akeru.ai"), - title: { - default: "AkeruAI", - template: "%s | Akeru AI", - }, - description: "The best API to setup your AI Project", - openGraph: { - title: "AKeru AI", - description: "The best API to setup your AI Project", - url: "https://akeru.ai", - siteName: "Akeru AI", - locale: "en_US", - type: "website", - }, - robots: { - index: true, - follow: true, - googleBot: { - index: true, - follow: true, - "max-video-preview": -1, - "max-image-preview": "large", - "max-snippet": -1, - }, - }, - twitter: { - title: "Akeru AI", - card: "summary_large_image", - }, - verification: { - google: "google", - yandex: "yandex", - yahoo: "yahoo", - }, -}; - -export default function RootLayout({ - children, -}: Readonly<{ - children: React.ReactNode; -}>) { - return ( - - - - - - - Akeru - - - -
- {Array.from({ length: 1000 }).map((_, i) => ( - - ))} -
-
- {Array.from({ length: 250 }).map((_, i) => ( - - ))} -
- -
- {children} -