diff --git a/apps/website/src/assets/boxicons/bx-discussion.svg b/apps/website/src/assets/boxicons/bx-discussion.svg new file mode 100644 index 000000000..221197340 --- /dev/null +++ b/apps/website/src/assets/boxicons/bx-discussion.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/apps/website/src/assets/boxicons/bx-message-dots.svg b/apps/website/src/assets/boxicons/bx-message-dots.svg new file mode 100644 index 000000000..521797856 --- /dev/null +++ b/apps/website/src/assets/boxicons/bx-message-dots.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/apps/website/src/assets/boxicons/bx-reddit.svg b/apps/website/src/assets/boxicons/bx-reddit.svg new file mode 100644 index 000000000..e6090b397 --- /dev/null +++ b/apps/website/src/assets/boxicons/bx-reddit.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/apps/website/src/components/Footer.css b/apps/website/src/components/Footer.css index 4c6becbce..6d1face2f 100644 --- a/apps/website/src/components/Footer.css +++ b/apps/website/src/components/Footer.css @@ -1,8 +1,29 @@ footer { margin: 0; padding: 1em 0; - box-shadow: 0 0 3px rgba(0, 0, 0, 0.3); - text-align: center; + border-top: 1px solid rgba(0, 0, 0, 0.3); color: var(--muted-color); font-size: 0.8em; +} + +footer .content-wrapper { + display: flex; + justify-content: space-between; + align-items: center; +} + +footer .social-buttons { + display: flex; + gap: 1em; +} + +footer a.social-button { + color: var(--muted-color); + transition: color 250ms ease-in-out, opacity 250ms ease-in-out; + opacity: 0.7; +} + +footer a.social-button:hover { + color: var(--brand-1); + opacity: 1; } \ No newline at end of file diff --git a/apps/website/src/components/Footer.tsx b/apps/website/src/components/Footer.tsx index 968cc7538..a0423b671 100644 --- a/apps/website/src/components/Footer.tsx +++ b/apps/website/src/components/Footer.tsx @@ -1,14 +1,53 @@ import "./Footer.css"; +import Icon from "./Icon"; +import githubIcon from "../assets/boxicons/bx-github.svg?raw"; +import githubDiscussionsIcon from "../assets/boxicons/bx-discussion.svg?raw"; +import matrixIcon from "../assets/boxicons/bx-message-dots.svg?raw"; +import redditIcon from "../assets/boxicons/bx-reddit.svg?raw"; export default function Footer() { return ( ) } + +function SocialButton({ name, iconSvg, url }: { name: string, iconSvg: string, url: string }) { + return ( + + + + ) +} diff --git a/apps/website/src/pages/Donate/Donate.tsx b/apps/website/src/pages/Donate/Donate.tsx index 1343ae4d0..629909247 100644 --- a/apps/website/src/pages/Donate/Donate.tsx +++ b/apps/website/src/pages/Donate/Donate.tsx @@ -9,7 +9,7 @@ import Card from "../../components/Card"; export default function Donate() { return ( <> -
+