-
Notifications
You must be signed in to change notification settings - Fork 38
Expand file tree
/
Copy pathProjects.jsx
More file actions
45 lines (39 loc) · 1.8 KB
/
Copy pathProjects.jsx
File metadata and controls
45 lines (39 loc) · 1.8 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
import React from 'react';
import { Link } from 'react-router-dom';
import SlideRotatePageWrapper from './slideinleftRotate';
const CardRow = () => {
return (
<SlideRotatePageWrapper>
<div className="relative h-[91.5vh] w-full bg-transparent">
<div className="absolute inset-0 bg-[linear-gradient(to_right,#4f4f4f2e_1px,transparent_1px),linear-gradient(to_bottom,#4f4f4f2e_1px,transparent_1px)] bg-[size:14px_24px]">
<div className="flex flex-row w-full h-[90vh] items-stretch">
<div className="w-1/2 m-6 flex justify-center items-center p-4">
<Card title="Upcoming Project 2k24" link="/upcoming-projects" />
</div>
<div className="w-1/2 m-6 flex justify-center items-center p-4">
<Card title="Past Projects" link="/past-projects" />
</div>
</div>
</div>
</div>
</SlideRotatePageWrapper>
);
};
const Card = ({ title, link }) => {
return (
<div className="rounded-lg backdrop-blur-sm overflow-hidden w-full h-full flex flex-col justify-between transform hover:scale-105 transition duration-500 ease-in-out shadow-gradient border border-gray-700">
<div className="bg-glass p-5">
<div className="animate-bounce">
<h5 className=" text-center my-8 font-bold text-3xl font-mono tracking-tight mb-2 bg-clip-text text-transparent bg-gradient-to-r from-purple-300 via-blue-400 to-purple-300">{title}</h5>
</div>
<p className="text-gray-300 pt-3 font-mono">
Press on The Read More Button to know more!!!
</p>
</div>
<Link to={link} className="block text-center text-white bg-gradient-to-r from-blue-600 to-purple-600 hover:bg-purple-800 focus:ring-4 focus:ring-purple-300 font-medium rounded-b-lg text-sm px-5 py-3">
Read more
</Link>
</div>
);
};
export default CardRow;