From d810dfc1f4aae7212b94732b2ec87c9108079a6b Mon Sep 17 00:00:00 2001 From: saani Date: Sun, 27 Apr 2025 14:41:58 +0000 Subject: [PATCH] Merge branch 'staging' of http://35.207.46.142/Wodey/wodey-prototype into feature/home_page --- app/components/cards/TrashCards.tsx | 28 ------------------- app/components/common/EmptyRecords.tsx | 20 ------------- app/creator/page.tsx | 4 +-- .../components => components}/Home_Banner.tsx | 0 .../components => components}/Recent_Card.tsx | 0 .../Recent_Creation.tsx | 0 6 files changed, 2 insertions(+), 50 deletions(-) delete mode 100644 app/components/cards/TrashCards.tsx delete mode 100644 app/components/common/EmptyRecords.tsx rename {app/components => components}/Home_Banner.tsx (100%) rename {app/components => components}/Recent_Card.tsx (100%) rename {app/components => components}/Recent_Creation.tsx (100%) diff --git a/app/components/cards/TrashCards.tsx b/app/components/cards/TrashCards.tsx deleted file mode 100644 index 1a205cf..0000000 --- a/app/components/cards/TrashCards.tsx +++ /dev/null @@ -1,28 +0,0 @@ -import Image from "next/image"; - - -export interface Trash { - file: string, - description: string, - filetype: string, - filesize: string, -} - -const TrashCards = ({ file, description, filetype, filesize }: Trash) => { - return ( -
- {description} -
-

{description}

-
-

{filetype}

{" "} - .{" "} -

{filesize}

-
-
-
- - ); -} - -export default TrashCards; \ No newline at end of file diff --git a/app/components/common/EmptyRecords.tsx b/app/components/common/EmptyRecords.tsx deleted file mode 100644 index 59ae883..0000000 --- a/app/components/common/EmptyRecords.tsx +++ /dev/null @@ -1,20 +0,0 @@ -import Image from 'next/image' -import React from 'react' - -export interface EmptyRecordsProps { - image: string, - shortDescription: string, - longDescription: string, -} - -export default function EmptyRecords({ image, shortDescription, longDescription }: EmptyRecordsProps) { - return ( -
- {shortDescription} -
{shortDescription}
-

- {longDescription} -

-
- ) -} diff --git a/app/creator/page.tsx b/app/creator/page.tsx index 85c0a07..cfc51d7 100644 --- a/app/creator/page.tsx +++ b/app/creator/page.tsx @@ -1,5 +1,5 @@ -import { Home_Banner } from "../components/Home_Banner"; -import Recent_Creation from "../components/Recent_Creation"; +import { Home_Banner } from "../../components/Home_Banner"; +import Recent_Creation from "../../components/Recent_Creation"; const CreatorPage: React.FC = () => { return ( diff --git a/app/components/Home_Banner.tsx b/components/Home_Banner.tsx similarity index 100% rename from app/components/Home_Banner.tsx rename to components/Home_Banner.tsx diff --git a/app/components/Recent_Card.tsx b/components/Recent_Card.tsx similarity index 100% rename from app/components/Recent_Card.tsx rename to components/Recent_Card.tsx diff --git a/app/components/Recent_Creation.tsx b/components/Recent_Creation.tsx similarity index 100% rename from app/components/Recent_Creation.tsx rename to components/Recent_Creation.tsx