diff --git a/src/Footer.tsx b/src/Footer.tsx index 7e27ff3..1209c3e 100644 --- a/src/Footer.tsx +++ b/src/Footer.tsx @@ -18,9 +18,7 @@ const useStyles = createStyles((theme) => ({ paddingTop: rem(40), paddingBottom: rem(40), backgroundColor: "#eb7b1a", - borderTop: `${rem(1)} solid ${ - theme.colors.dark[5] - }`, + borderTop: `${rem(1)} solid ${theme.colors.dark[5]}`, }, logo: { @@ -73,7 +71,8 @@ const useStyles = createStyles((theme) => ({ paddingBottom: rem(3), "&:hover": { - textDecoration: "underline", + textDecoration: "none", + color: "white", }, }, @@ -93,9 +92,7 @@ const useStyles = createStyles((theme) => ({ marginTop: theme.spacing.xl, paddingTop: theme.spacing.xl, paddingBottom: theme.spacing.xl, - borderTop: `${rem(1)} solid ${ - theme.colorScheme === "dark" ? theme.colors.dark[4] : theme.colors.dark[4] - }`, + borderTop: `${rem(1)} solid ${theme.colors.dark[4]}`, [theme.fn.smallerThan("sm")]: { flexDirection: "column", @@ -126,7 +123,6 @@ export function FooterLinks({ data }: FooterLinksProps) { className={classes.link} component="a" href={link.link} - onClick={(event) => event.preventDefault()} > {link.label} @@ -157,7 +153,6 @@ export function FooterLinks({ data }: FooterLinksProps) {
{groups}
- diff --git a/src/assets/footer.json b/src/assets/footer.json index b723dc9..7655c26 100644 --- a/src/assets/footer.json +++ b/src/assets/footer.json @@ -5,7 +5,7 @@ "links": [ { "label": "Карта", - "link": "#" + "link": "/" }, { "label": "О проекте",