Merge branch 'staging' of http://35.207.46.142/Wodey/wodey-prototype into feature/home_page

This commit is contained in:
saani 2025-04-27 14:41:58 +00:00
parent cb161aba94
commit d810dfc1f4
6 changed files with 2 additions and 50 deletions

View File

@ -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 (
<div className="w-[191px] h-[195px] flex flex-col overflow-hidden rounded-sm bg-white shadow-sm hover:transform hover:scale-105 transition-transform duration-300 ease-in-out">
<Image src={file} alt={description} width={191} height={150} className="w-[191px] h-[150px] rounded-sm object-cover min-h-[140px]" />
<div className="flex flex-col gap-1 p-2">
<p className="text-sm font-medium truncate">{description}</p>
<div className="flex gap-1 items-center align-middle p-0">
<p className="text-xs text-gray-500 ">{filetype}</p>{" "}
.{" "}
<p className="text-xs text-gray-500">{filesize}</p>
</div>
</div>
</div>
);
}
export default TrashCards;

View File

@ -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 (
<div className='h-[100%] p-10 w-full flex flex-col justify-center items-center gap-[10px]'>
<Image src={image} alt={shortDescription} width={240} height={240} />
<h5 className='text-2xl font-bold '>{shortDescription}</h5>
<p className='text-gray-500 md:w-[550px] text-center w-fit'>
{longDescription}
</p>
</div>
)
}

View File

@ -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 (