diff --git a/web/src/components/events/EventContainer.tsx b/web/src/components/events/EventContainer.tsx index 3b274ea..984714b 100644 --- a/web/src/components/events/EventContainer.tsx +++ b/web/src/components/events/EventContainer.tsx @@ -118,20 +118,21 @@ export const EventContainer = ({
-
)} diff --git a/web/src/components/general/Icon.tsx b/web/src/components/general/Icon.tsx index 807bb84..7df2c0a 100644 --- a/web/src/components/general/Icon.tsx +++ b/web/src/components/general/Icon.tsx @@ -3,10 +3,11 @@ import styles from "./icon.module.scss"; export default function Icon({ type, }: { - type?: "doc" | "arrow" | "externalLink"; + type?: "doc" | "arrowUp" | "arrowRight" | "externalLink" | "list" | "calendar" | "filter" | "noFilter" | "instagram" | "facebook" | "flickr"; }) { return (
+ {type === "doc" && ( )} - {type === "arrow" &&
} - {type === "externalLink" &&
} + + {type === "arrowUp" && ( + + )} + + {type === "arrowRight" && ( + + )} + + {type === "externalLink" && ( + + )} + + {type === "list" && ( + + )} + + {type === "calendar" && ( + + )} + + {type === "filter" && ( + + )} + + {type === "noFilter" && ( + + )} + + {type === "instagram" && ( + + + + + + )} + + {type === "facebook" && ( + + + + )} + + {type === "flickr" && ( + + + + + )} + {!type && (
)} +
); } diff --git a/web/src/components/layout/Footer.tsx b/web/src/components/layout/Footer.tsx index 177668a..ea56e73 100644 --- a/web/src/components/layout/Footer.tsx +++ b/web/src/components/layout/Footer.tsx @@ -47,7 +47,7 @@ export const Footer = () => { className="button tertiary" > Instagram - +
  • @@ -57,7 +57,7 @@ export const Footer = () => { className="button tertiary" > Facebook - +
  • @@ -67,7 +67,7 @@ export const Footer = () => { className="button tertiary" > Flickr - +
  • diff --git a/web/src/css/button.scss b/web/src/css/button.scss index 45d508a..adbd8aa 100644 --- a/web/src/css/button.scss +++ b/web/src/css/button.scss @@ -84,5 +84,21 @@ button, transform: rotate(-45deg); } } + + &.hasIcon { + --color-button-bg: var(--color-deepBrick); + --color-button-fg: var(--color-deepBrick); + &:after { + display: none; + } + &[data-active=true] { + --color-button-bg: var(--color-deepBrick); + --color-button-fg: var(--color-betongGray); + + &:after, &:before { + display: none; + } + } + } } } \ No newline at end of file