Skip to content

Commit

Permalink
Merge pull request #6 from ItsukiKigoshi/add-curation
Browse files Browse the repository at this point in the history
refactor: Update Footer component with new link buttons and fix butto…
  • Loading branch information
ItsukiKigoshi authored Aug 1, 2024
2 parents 96a4f2b + 070349e commit 0955460
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
7 changes: 1 addition & 6 deletions src/components/Footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,6 @@ export default function Footer() {
href={item.url}
target={item.inNewTab ? "_blank" : "_self"}
startIcon={item.icon}
variant={
typeof window !== "undefined" && window.location.pathname === item.url
? "contained"
: "outlined"
}
>
{item.title}
</Button>
Expand Down Expand Up @@ -70,7 +65,7 @@ export default function Footer() {
return (
<Paper
sx={{
position: "fixed",
position: "relative",
bottom: 0,
left: 0,
right: 0,
Expand Down
1 change: 0 additions & 1 deletion src/components/Main.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ export default function Main() {
justifyContent="center"
sx={{
display: "grid",
maxHeight: "60vh",
placeItems: "center", // Center the content horizontally and vertically
}}
my={2}
Expand Down

0 comments on commit 0955460

Please sign in to comment.