Skip to content

Commit

Permalink
Refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
u4aew committed Sep 4, 2024
1 parent 70465ac commit 756b9bc
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
3 changes: 3 additions & 0 deletions components/Footer/Footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ export const Footer = async () => {
const { data } = await getFooter();
return (
<footer className={styles.footer}>
<div className={styles.github}>
<a target='_blank' href="https://github.com/u4aew/ssr-playground">Github</a>
</div>
<div className={styles.grid}>
{data.columns.map((column, index) => (
<div key={index} className={styles.column}>
Expand Down
9 changes: 8 additions & 1 deletion components/Footer/footer.module.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
.footer {}

.github {
text-align: center;
font-size: 18px;
margin-bottom: 20px;
a {
text-decoration: underline;
}
}
.grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
Expand Down

0 comments on commit 756b9bc

Please sign in to comment.