Skip to content

Commit 14198bd

Browse files
committed
center image
1 parent bc2aa7d commit 14198bd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/components/GetInTouch.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ export const GetInTouch = () => {
1616
});
1717

1818
return (
19-
<div className="flex flex-wrap justify-center gap-4 mt-4">
19+
<div className="flex flex-wrap items-center justify-center gap-4 mt-4">
2020
{contacts.map((contact) => (
2121
<motion.a
2222
variants={iconVariants(contact.iconVariants)}

src/components/Introduction.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export const Introduction = () => {
1212
});
1313
return (
1414
<div className="flex flex-col-reverse items-center justify-center gap-10 px-4 md:flex-row mt-9 sm:px-6 md:px-10 lg:px-16">
15-
<div className="w-1/2 mt-4 transition duration-300 ease-in-out delay-150 rounded-lg sm:w-1/2 md:w-1/4 hover:-translate-y-1 hover:scale-110">
15+
<div className="self-center w-1/2 transition duration-300 ease-in-out delay-150 rounded-lg justify-self-center self sm:w-1/2 md:w-1/4 hover:-translate-y-1 hover:scale-110">
1616
<motion.img
1717
variants={container(0, -100)}
1818
initial="hidden"

0 commit comments

Comments
 (0)