Skip to content

Commit 64a2163

Browse files
authored
Bug/UI bugs on landingpage (#274)
* fixed ui bugs * fixed ui bugs homepage
1 parent 1504ede commit 64a2163

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

frontend/src/components/LandingComponents/Contact/Contact.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,9 @@ export const Contact = () => {
8585
animate={inView ? 'visible' : 'hidden'}
8686
variants={cardVariants}
8787
whileHover={'hover'}
88+
className="bg-muted rounded-lg mt-8"
8889
>
89-
<Card className="bg-muted/50 relative mt-8 flex flex-col justify-center items-center">
90+
<Card className="bg-muted/50 relative flex flex-col justify-center items-center">
9091
<CardHeader className="mt-8 flex justify-center items-center pb-2">
9192
<a href={url}>{icon}</a>
9293
<CardTitle className="text-center">

frontend/src/components/LandingComponents/HowItWorks/HowItWorks.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ export const HowItWorks = () => {
7878
animate={controls}
7979
variants={cardVariants}
8080
whileHover="hover"
81-
className="bg-muted/50"
81+
className="bg-muted rounded-lg"
8282
>
8383
<Card className="bg-muted/50 relative flex flex-col justify-center items-center">
8484
<CardHeader>

frontend/src/components/LandingComponents/HowItWorks/__tests__/__snapshots__/HowItWorks.test.tsx.snap

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ exports[`HowItWorks component using snapshot renders correctly 1`] = `
2323
class="grid md:grid-cols-2 lg:grid-cols-4 gap-8 gap-y-10"
2424
>
2525
<div
26-
class="bg-muted/50"
26+
class="bg-muted rounded-lg"
2727
style="opacity: 0; transform: translateX(-50px);"
2828
>
2929
<div
@@ -125,7 +125,7 @@ exports[`HowItWorks component using snapshot renders correctly 1`] = `
125125
</div>
126126
</div>
127127
<div
128-
class="bg-muted/50"
128+
class="bg-muted rounded-lg"
129129
style="opacity: 0; transform: translateX(-50px);"
130130
>
131131
<div
@@ -223,7 +223,7 @@ exports[`HowItWorks component using snapshot renders correctly 1`] = `
223223
</div>
224224
</div>
225225
<div
226-
class="bg-muted/50"
226+
class="bg-muted rounded-lg"
227227
style="opacity: 0; transform: translateX(-50px);"
228228
>
229229
<div
@@ -305,7 +305,7 @@ exports[`HowItWorks component using snapshot renders correctly 1`] = `
305305
</div>
306306
</div>
307307
<div
308-
class="bg-muted/50"
308+
class="bg-muted rounded-lg"
309309
style="opacity: 0; transform: translateX(-50px);"
310310
>
311311
<div

0 commit comments

Comments
 (0)