+
Hi There!
-
+
Before You continue your experience with{" "}
Ownboon , we would like you
to follow some categories{" "}
@@ -119,7 +118,7 @@ const Home = ({ users }: Props) => {
placeholder="Search categories..."
value={searchInput}
onChange={handleSearchInputChange}
- className="px-2 py-1 border border-gray-300 rounded"
+ className="px-2 py-1 border rounded active:border-gray-400 text-md text-white bg-transparent backdrop-blur-3xl font-poppins pageentry border-b border-t-0 border-r-0 border-l-0 border-gray-400"
/>
@@ -139,28 +138,30 @@ const Home = ({ users }: Props) => {
)}
-
+
Some of our popular categories
-
+ {/*flex w-full space-x-5*/ }
+
{fiveCate.map((cateogry) => (
addCategory(cateogry.name, cateogry.value!)}
- className="bg-blue-200/20 cursor-pointer px-1 rounded-lg "
+
+ className="first w-full flex-col bg-[#191919] inline-block md:inline-flex items-center justify-between p-4 rounded-md"
>
{cateogry.name}
+
some description if needed
))}
router.push("/dashboard")}
- className="bg-cyan-500 p-3 text-white font-semibold rounded-lg mt-20 cursor-pointer"
+ onClick={() => {router.push("/workspace"); setNext(!next)}}
+ className="p-3 text-white font-medium rounded-lg mt-20 cursor-pointer"
>
-
Return To User Dashboard
+
Lets GO!
-
>
);
diff --git a/pages/workspace.tsx b/pages/workspace.tsx
index 8241740..48c24a2 100644
--- a/pages/workspace.tsx
+++ b/pages/workspace.tsx
@@ -14,6 +14,7 @@ import { fetchNotes } from "../utils/fetchNotes";
import toast from "react-hot-toast";
import { UserButton, useUser } from "@clerk/nextjs";
import Head from "next/head";
+import { Modal } from "@nextui-org/react";
import {
Button,
@@ -39,6 +40,9 @@ import CustomLoader from "../components/CustomLoader";
import Notes from "../components/Notes/Notes";
import { DeleteIcon, XIcon } from "lucide-react";
+import Category from "../pages/select-categories";
+import { nextSong } from "../redux/features/playerSlice";
+
const ReactQuill = dynamic(import("react-quill"), { ssr: false });
interface Props {
users: User[];
@@ -416,445 +420,493 @@ const Home = ({ users, goals, notes, setLoading }: Props) => {
// const notes = [1,2,2,3,3,3,3,3,3,3,3,3]
+ const [onboard, setOnboard] = useState(false);
+ const [next, setNext] = useState(true);
+ //absolute flex justify-center gap-10 p-10 top-20 mt-2 w-[90%] h-[50%] rounded-md shadow-lg bg-[#303030]/10 backdrop-blur-md text-white ring-1 ring-black ring-opacity-5
return (
<>
-
-
-
-
+
+ Welcome to OwnBoon
+
+
+
+
+
+
+
+
+ ) : (
+
+
+
+
+ )
+ ) : (
+
+
+
-
-
-
-
- Ai Schedule Generator
-
-
-
- The AI schedule generator analyzes preferences, constraints,
- and resources to create optimized schedules, maximizing
- efficiency and productivity.
-
-
-
+
+
+
+
+
+ Ai Schedule Generator
+
+
+
+ The AI schedule generator analyzes preferences, constraints,
+ and resources to create optimized schedules, maximizing
+ efficiency and productivity.
+
+
+
+
-
-
-
- Boon Island
-
-
load()}>
- {/* display the image of the current level of boon island, static image to avoid long loading */}
-
- {level < 5 ? (
-

- ) : level < 10 ? (
-
+
+
+ Boon Island
+
+
load()}>
+ {/* display the image of the current level of boon island, static image to avoid long loading */}
+
+ {level < 5 ? (

-
- ) : level < 21 ? (
-

- ) : level < 31 ? (
-

- ) : level < 41 ? (
-

- ) : level > 51 ? (
-

- ) : null}
-
-
-
-
-
-
-
-
-
+ ) : level < 10 ? (
+
+

+
+ ) : level < 21 ? (
+

+ ) : level < 31 ? (
+

+ ) : level < 41 ? (
+

+ ) : level > 51 ? (
+

+ ) : null}
-
-

-
+
+
+
+
+
+
+
+
+
+
+

+
+
-
- {/*
*/}
-
- {filteredNotes.map((note) => (
- <>
-