Skip to content

Commit

Permalink
Merge pull request #37 from taga3s/feature/change-links-style
Browse files Browse the repository at this point in the history
feat: change links styling
  • Loading branch information
taga3s authored Nov 4, 2024
2 parents 465e2b7 + 9a7dd1c commit cb32dbe
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
12 changes: 7 additions & 5 deletions app/components/profile/ProfileLinks.css.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,21 +7,23 @@ const profileLinkCardContainer = css`
margin-top: 16px;
@media screen and (min-width:600px) {
grid-template-columns: 1fr 1fr 1fr;
grid-template-columns: 1fr 1fr;
}
`;

const profileLinkCard = css`
display: flex;
justify-content: center;
align-items: center;
height: 100px;
gap: 16px;
padding: 8px 20px;
border-radius: 8px;
font-weight: bold;
color: #ffffff;
`;

const profileLinkCardIcon = css`
width: 67px;
height: 67px;
width: 48px;
height: 48px;
`;

const github = css`
Expand Down
3 changes: 2 additions & 1 deletion app/components/profile/ProfileLinks.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const links = [
},
{
title: "Cosense",
url: "https://scrapbox.io/t33s-dev/",
url: "https://scrapbox.io/taga3s-memo/",
style: cosense,
icon: <CosenseIcon />,
},
Expand All @@ -30,6 +30,7 @@ const ProfileLinks = () => {
{links.map((link) => (
<a href={link.url} class={link.style} key={link.title}>
<div class={profileLinkCardIcon}>{link.icon}</div>
<span>{link.title}</span>
</a>
))}
</div>
Expand Down

0 comments on commit cb32dbe

Please sign in to comment.