Spaces:
Running
Running
ameerazam08
commited on
Commit
•
18a7520
1
Parent(s):
70b961b
Update src/components/about-card.tsx
Browse files
src/components/about-card.tsx
CHANGED
@@ -18,9 +18,8 @@ interface AboutCardProp {
|
|
18 |
export function AboutCard({ title, description, subTitle,imageName,paper_links }: AboutCardProp) {
|
19 |
return (
|
20 |
<Card shadow={false} placeholder={""}>
|
21 |
-
<CardBody className="h-[
|
22 |
{/* <img src={imageName} alt="next/image" className="w-512 h-512 mb-2"/> */}
|
23 |
-
|
24 |
<Typography variant="h4" className="text-center" color="white" placeholder="">
|
25 |
|
26 |
{title}
|
@@ -28,29 +27,27 @@ export function AboutCard({ title, description, subTitle,imageName,paper_links }
|
|
28 |
</Typography>
|
29 |
|
30 |
<Image
|
31 |
-
src={`/
|
32 |
width={500}
|
33 |
height={500}
|
34 |
alt="next/image"
|
|
|
35 |
/>
|
36 |
<Typography variant="h6" className="mb-4 text-center" color="white" placeholder="">
|
37 |
|
38 |
{subTitle}
|
39 |
</Typography>
|
40 |
|
41 |
-
|
42 |
-
|
43 |
<Typography
|
44 |
placeholder={""}
|
45 |
color="white"
|
46 |
-
className="mt-2 mb-10 text-base w-full lg:w-
|
47 |
>
|
48 |
{description}
|
49 |
</Typography>
|
50 |
|
51 |
<Button color="white" placeholder={""}>
|
52 |
<Typography placeholder={""} color="blue-gray" className="mt-2 mb-2 text-base w-full lg:w-8/8 text-center font-normal">
|
53 |
-
|
54 |
<a href={paper_links} className="text-gray" target="_blank">
|
55 |
More Details
|
56 |
</a>
|
|
|
18 |
export function AboutCard({ title, description, subTitle,imageName,paper_links }: AboutCardProp) {
|
19 |
return (
|
20 |
<Card shadow={false} placeholder={""}>
|
21 |
+
<CardBody className="h-[900px] p-5 flex flex-col justify-center items-center rounded-2xl bg-gray-900 " placeholder={""}>
|
22 |
{/* <img src={imageName} alt="next/image" className="w-512 h-512 mb-2"/> */}
|
|
|
23 |
<Typography variant="h4" className="text-center" color="white" placeholder="">
|
24 |
|
25 |
{title}
|
|
|
27 |
</Typography>
|
28 |
|
29 |
<Image
|
30 |
+
src={`/paper_image/${imageName}`}
|
31 |
width={500}
|
32 |
height={500}
|
33 |
alt="next/image"
|
34 |
+
|
35 |
/>
|
36 |
<Typography variant="h6" className="mb-4 text-center" color="white" placeholder="">
|
37 |
|
38 |
{subTitle}
|
39 |
</Typography>
|
40 |
|
|
|
|
|
41 |
<Typography
|
42 |
placeholder={""}
|
43 |
color="white"
|
44 |
+
className="mt-2 mb-10 text-base w-full lg:w-10/12 text font-normal"
|
45 |
>
|
46 |
{description}
|
47 |
</Typography>
|
48 |
|
49 |
<Button color="white" placeholder={""}>
|
50 |
<Typography placeholder={""} color="blue-gray" className="mt-2 mb-2 text-base w-full lg:w-8/8 text-center font-normal">
|
|
|
51 |
<a href={paper_links} className="text-gray" target="_blank">
|
52 |
More Details
|
53 |
</a>
|