2
2
import React from "react" ;
3
3
import { Card , Row , Col , Container } from "react-bootstrap" ;
4
4
import Image from "next/image" ;
5
+ import "@fontsource/oswald" ;
6
+
5
7
6
8
const Cards = ( { members } ) => {
7
9
return (
8
10
< Container className = "py-5" >
9
- < h2 className = "text-center mb-5" style = { headingStyle } >
10
- MEET OUR TEAM!
11
+
12
+ < h2 className = "text-center "
13
+ style = { {
14
+ fontWeight : "bold" ,
15
+ fontSize : "3rem" ,
16
+ paddingBottom : "10px" ,
17
+ } } >
18
+ WELCOME
11
19
</ h2 >
20
+
21
+ < div className = "openSanFont" style = { { textAlign : "center" , margin : "0 auto" , paddingBottom :"50px" , width : "75%" } } >
22
+ Hello, team 4 reporting! This is team 4 nefkijenfunieufneiunifneiunf
23
+ eviunrficweun ficvuew uf vcoebvf ucybeouyf vbceouwybcnouewyb'ceuybeuybc
24
+ cuewybrcuyebwucyey bceybcureybcnu ibi in in yb8yb uyb.
25
+ </ div >
26
+
27
+ < hr style = { { width :"80%" , textAlign :"center" , margin : "0 auto" , paddingTop : "50px" , } } > </ hr >
28
+
29
+ < div style = { { } } >
30
+ < h2 className = "text-center"
31
+ style = { {
32
+ fontWeight : "bold" ,
33
+ fontSize : "4.5rem" ,
34
+ } } >
35
+ MEET OUR TEAM
36
+ </ h2 >
37
+ < h1
38
+ style = { {
39
+ position : "relative" ,
40
+ top : "50%" ,
41
+ left : "50%" ,
42
+ transform : "translate(-50%, -50%)" ,
43
+ color : "#FF5252" ,
44
+ fontSize : "7rem" ,
45
+ textAlign : "center" ,
46
+ marginTop : "-20px" ,
47
+ } }
48
+ > ____________________
49
+ </ h1 >
50
+ </ div >
12
51
< Row className = "g-4 justify-content-center" >
13
52
{ members . map ( ( member , index ) => (
14
53
< Col
@@ -20,8 +59,16 @@ const Cards = ({ members }) => {
20
59
className = "d-flex justify-content-center"
21
60
>
22
61
< Card
23
- className = "h-100 shadow-lg border-0 card-hover"
62
+ className = "h-100 shadow-lg card-hover"
24
63
style = { cardStyle }
64
+ onMouseEnter = { ( e ) => {
65
+ e . currentTarget . style . transform = "scale(1.05)" ;
66
+ e . currentTarget . style . border = "5px solid rgba(255, 82, 82, 0.5)" ;
67
+ } }
68
+ onMouseLeave = { ( e ) => {
69
+ e . currentTarget . style . transform = "scale(1.0)" ;
70
+ e . currentTarget . style . border = "2px solid rgba(155, 155, 155, 0.5)" ;
71
+ } }
25
72
>
26
73
< Card . Body className = "" >
27
74
< div className = "d-flex mb-3" >
@@ -40,7 +87,7 @@ const Cards = ({ members }) => {
40
87
{ member . description ||
41
88
"Lorem ipsum dolor sit amet, consectetur adipiscing elit." }
42
89
</ Card . Text >
43
- < p className = "text-primary fw-bold" >
90
+ < p className = "text-role fw-bold" >
44
91
{ member . role || "Team Member" }
45
92
</ p >
46
93
< div >
@@ -86,7 +133,7 @@ const Cards = ({ members }) => {
86
133
87
134
// Inline Styles
88
135
const headingStyle = {
89
- color : "#6A8EAE " ,
136
+ color : "#FF5252 " ,
90
137
fontWeight : "bold" ,
91
138
fontSize : "2rem" ,
92
139
} ;
@@ -95,12 +142,19 @@ const cardStyle = {
95
142
borderRadius : "15px" ,
96
143
background : "linear-gradient(145deg, #ffffff, #e6e6e6)" ,
97
144
transition : "all 0.3s ease-in-out" ,
145
+ border : "2px solid rgba(155, 155, 155, 0.5)" ,
98
146
} ;
99
147
148
+ const cardHoverStyle = {
149
+ transform : "scale(1.05)" , // Slightly enlarges the card on hover
150
+ boxShadow : "0px 8px 16px rgba(0, 0, 0, 0.2)" , // Adds a subtle shadow effect
151
+ } ;
152
+
153
+
100
154
const cardTitleStyle = {
101
155
fontSize : "1.25rem" ,
102
156
fontWeight : "bold" ,
103
- color : "#6A8EAE " ,
157
+ color : "#FF5252 " ,
104
158
} ;
105
159
106
160
const cardTextStyle = {
0 commit comments