diff --git a/apps/docs/.gitignore b/apps/docs/.gitignore
deleted file mode 100644
index 1437c53..0000000
--- a/apps/docs/.gitignore
+++ /dev/null
@@ -1,34 +0,0 @@
-# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
-
-# dependencies
-/node_modules
-/.pnp
-.pnp.js
-
-# 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.development.local
-.env.test.local
-.env.production.local
-
-# vercel
-.vercel
diff --git a/apps/docs/README.md b/apps/docs/README.md
deleted file mode 100644
index 58dc350..0000000
--- a/apps/docs/README.md
+++ /dev/null
@@ -1,28 +0,0 @@
-## Getting Started
-
-First, run the development server:
-
-```bash
-yarn dev
-```
-
-Open [http://localhost:3001](http://localhost:3001) with your browser to see the result.
-
-You can start editing the page by modifying `src/app/page.tsx`. The page auto-updates as you edit the file.
-
-To create [API routes](https://nextjs.org/docs/app/building-your-application/routing/router-handlers) add an `api/` directory to the `app/` directory with a `route.ts` file. For individual endpoints, create a subfolder in the `api` directory, like `api/hello/route.ts` would map to [http://localhost:3001/api/hello](http://localhost:3001/api/hello).
-
-## 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/foundations/about-nextjs) - 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_source=github.com&utm_medium=referral&utm_campaign=turborepo-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/apps/docs/next-env.d.ts b/apps/docs/next-env.d.ts
deleted file mode 100644
index 4f11a03..0000000
--- a/apps/docs/next-env.d.ts
+++ /dev/null
@@ -1,5 +0,0 @@
-///
-///
-
-// NOTE: This file should not be edited
-// see https://nextjs.org/docs/basic-features/typescript for more information.
diff --git a/apps/docs/next.config.js b/apps/docs/next.config.js
deleted file mode 100644
index da1bb77..0000000
--- a/apps/docs/next.config.js
+++ /dev/null
@@ -1,3 +0,0 @@
-module.exports = {
- reactStrictMode: true,
-};
diff --git a/apps/docs/package.json b/apps/docs/package.json
deleted file mode 100644
index 20eebb2..0000000
--- a/apps/docs/package.json
+++ /dev/null
@@ -1,29 +0,0 @@
-{
- "name": "docs",
- "version": "1.0.0",
- "private": true,
- "scripts": {
- "dev": "next dev --port 3001",
- "build": "next build",
- "start": "next start",
- "lint": "next lint"
- },
- "dependencies": {
- "next": "^13.4.1",
- "react": "^18.2.0",
- "react-dom": "^18.2.0",
- "ui": "workspace:*"
- },
- "devDependencies": {
- "@types/node": "^18.11.17",
- "@types/react": "^18.2.5",
- "@types/react-dom": "^18.2.4",
- "autoprefixer": "^10.4.13",
- "eslint-config-custom": "workspace:*",
- "postcss": "^8.4.20",
- "tailwind-config": "workspace:*",
- "tailwindcss": "^3.2.4",
- "tsconfig": "workspace:*",
- "typescript": "^5.0.4"
- }
-}
diff --git a/apps/docs/postcss.config.js b/apps/docs/postcss.config.js
deleted file mode 100644
index 07aa434..0000000
--- a/apps/docs/postcss.config.js
+++ /dev/null
@@ -1,9 +0,0 @@
-// If you want to use other PostCSS plugins, see the following:
-// https://tailwindcss.com/docs/using-with-preprocessors
-
-module.exports = {
- plugins: {
- tailwindcss: {},
- autoprefixer: {},
- },
-};
diff --git a/apps/docs/src/app/layout.tsx b/apps/docs/src/app/layout.tsx
deleted file mode 100644
index 2a2e652..0000000
--- a/apps/docs/src/app/layout.tsx
+++ /dev/null
@@ -1,15 +0,0 @@
-import "../styles/globals.css";
-// include styles from the ui package
-import "ui/styles.css";
-
-export default function RootLayout({
- children,
-}: {
- children: React.ReactNode;
-}) {
- return (
-
-
{children}
-
- );
-}
diff --git a/apps/docs/src/app/page.tsx b/apps/docs/src/app/page.tsx
deleted file mode 100644
index 73d9db3..0000000
--- a/apps/docs/src/app/page.tsx
+++ /dev/null
@@ -1,25 +0,0 @@
-import { Metadata } from "next";
-import Head from "next/head";
-import { Button } from "ui";
-
-export const metadata: Metadata = {
- title: "Docs - Turborepo Example",
-};
-
-export default function Home() {
- return (
-
-
-
- Docs
-
- Turborepo Example
-
-
-
-
-
-
-
- );
-}
diff --git a/apps/docs/src/styles/globals.css b/apps/docs/src/styles/globals.css
deleted file mode 100644
index b5c61c9..0000000
--- a/apps/docs/src/styles/globals.css
+++ /dev/null
@@ -1,3 +0,0 @@
-@tailwind base;
-@tailwind components;
-@tailwind utilities;
diff --git a/apps/docs/tailwind.config.js b/apps/docs/tailwind.config.js
deleted file mode 100644
index cc78ae3..0000000
--- a/apps/docs/tailwind.config.js
+++ /dev/null
@@ -1,7 +0,0 @@
-// tailwind config is required for editor support
-
-const sharedConfig = require("tailwind-config/tailwind.config.js");
-
-module.exports = {
- presets: [sharedConfig],
-};
diff --git a/apps/docs/tsconfig.json b/apps/docs/tsconfig.json
deleted file mode 100644
index 644ee04..0000000
--- a/apps/docs/tsconfig.json
+++ /dev/null
@@ -1,8 +0,0 @@
-{
- "extends": "tsconfig/nextjs.json",
- "compilerOptions": {
- "plugins": [{ "name": "next" }]
- },
- "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
- "exclude": ["node_modules"]
-}
diff --git a/apps/web/.eslintrc.js b/apps/web/.eslintrc.js
deleted file mode 100644
index c8df607..0000000
--- a/apps/web/.eslintrc.js
+++ /dev/null
@@ -1,4 +0,0 @@
-module.exports = {
- root: true,
- extends: ["custom"],
-};
diff --git a/apps/docs/.eslintrc.js b/apps/web/eslint.config.js
similarity index 100%
rename from apps/docs/.eslintrc.js
rename to apps/web/eslint.config.js
diff --git a/apps/web/next.config.js b/apps/web/next.config.js
index 133a2ce..1005c66 100644
--- a/apps/web/next.config.js
+++ b/apps/web/next.config.js
@@ -6,7 +6,7 @@ module.exports = {
unoptimized: true
},
basePath: '/tobi',
- assetPrefix: './',
+ assetPrefix: '/tobi',
webpack: config => {
config.resolve.fallback = { fs: false, net: false, tls: false };
return config;
diff --git a/apps/web/package.json b/apps/web/package.json
index 7185a47..730feab 100644
--- a/apps/web/package.json
+++ b/apps/web/package.json
@@ -40,6 +40,6 @@
"tailwind-config": "workspace:*",
"tailwindcss": "^3.2.4",
"tsconfig": "workspace:*",
- "typescript": "^5.0.4"
+ "typescript": "^5.2.2"
}
}
diff --git a/apps/web/src/app/home/page.tsx b/apps/web/src/app/home/page.tsx
index 1b84922..0bf3cdf 100644
--- a/apps/web/src/app/home/page.tsx
+++ b/apps/web/src/app/home/page.tsx
@@ -1,23 +1,14 @@
-import { Metadata } from "next";
-import { Button, Card } from "ui";
+'use client'
+
+import { useRouter } from 'next/navigation';
+import { useEffect } from 'react';
export default function Home() {
- return (
-
-
-
- TOBI
-
- All-Chain KYC Platform
-
-
- Token
- Optimizing
- Bridge
- Intelligence
-
-
-
-
- );
+ const router = useRouter();
+
+ useEffect(() => {
+ router.push('/');
+ }, []);
+
+ return null
}
diff --git a/apps/web/src/app/layout.tsx b/apps/web/src/app/layout.tsx
index 30d3f8d..2e4a626 100644
--- a/apps/web/src/app/layout.tsx
+++ b/apps/web/src/app/layout.tsx
@@ -28,7 +28,7 @@ export default function RootLayout({
- {children}
+ {children}