Skip to content

Commit

Permalink
Merge pull request #176 from ChtiJS/refacto/linkMember
Browse files Browse the repository at this point in the history
refactor(link): change styles on links on Membres
  • Loading branch information
nfroidure authored Dec 22, 2023
2 parents e7070fa + c30ddea commit 9a63648
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
6 changes: 6 additions & 0 deletions src/app/membres/membres.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,9 @@
border-radius: 50px;
box-shadow: 5px 5px 2px 1px #c1a008;
}

.links {
display: flex;
gap: var(--gutter);
justify-content: flex-start;
}
8 changes: 4 additions & 4 deletions src/app/membres/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ export default async function Page() {
</Anchor>
</Heading2>
<Paragraph>{entry.bio}</Paragraph>
<Paragraph>
<Paragraph className={styles.links}>
{entry.blog ? (
<>
<Anchor
Expand All @@ -81,7 +81,7 @@ export default async function Page() {
}
title={`Se rendre sur le blog de ${entry.name}`}
>
📰Blog
📰 Blog
</Anchor>{' '}
</>
) : null}
Expand All @@ -91,7 +91,7 @@ export default async function Page() {
href={'https://twitter.com/' + entry.twitter_username}
title={`Se rendre sur le profil Twitter de ${entry.name}`}
>
📲Twitter
📲 Twitter
</Anchor>{' '}
</>
) : null}
Expand All @@ -100,7 +100,7 @@ export default async function Page() {
href={entry.html_url as string}
title={`Se rendre sur le profil GitHub de ${entry.name}`}
>
💻GitHub
💻 GitHub
</Anchor>
}
</Paragraph>
Expand Down

0 comments on commit 9a63648

Please sign in to comment.