Skip to content

Commit

Permalink
Merge pull request #12 from riya-amemiya/develop
Browse files Browse the repository at this point in the history
  • Loading branch information
riya-amemiya authored Jul 28, 2024
2 parents 7bb6a12 + 88bf122 commit a974605
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/home/links.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import type { Profile } from "@/types/profileType";
export const HomeLinks = ({ links }: { links: Profile["links"] }) => {
return (
<>
<ul className="mt-4 flex flex-wrap justify-center items-center gap-3">
<ul className="mt-4 flex flex-wrap justify-between items-center gap-3 max-sm:justify-center">
{[...links].reverse().map(({ url, name, icon }) => {
const Icon = iconData[icon[0]];
return (
Expand All @@ -35,7 +35,7 @@ export const HomeLinks = ({ links }: { links: Profile["links"] }) => {
</li>
);
})}
<div className="w-full flex gap-3 justify-center items-center p-1 md:px-4">
<li className="w-full flex gap-3 justify-center items-center py-1 max-sm:px-5">
<div className="w-full">
<Button asChild={true} className="w-full">
<Link href="/works">
Expand All @@ -44,7 +44,7 @@ export const HomeLinks = ({ links }: { links: Profile["links"] }) => {
</Link>
</Button>
</div>
</div>
</li>
</ul>
</>
);
Expand Down

0 comments on commit a974605

Please sign in to comment.