Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
54 changes: 54 additions & 0 deletions frontend/public/janus_new.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
19 changes: 10 additions & 9 deletions frontend/src/app/components/Layout/Footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,25 +5,26 @@ import { styled } from "@mui/material/styles";
import Image from "next/image";
import { useState } from "react";

import { HallOfFame } from "@/layouts/footer/HallOfFame";
import dayjs from "@/lib/date";
import rubberdokLogo from "~/public/img/rubberdok_logo_black.svg";

import { Link, LinkProps } from "../Link";

import { Logo } from "./Logo";
import { Vercel } from "./Vercel";

import { LogoFull } from "@/components/LogoFull";
import { HallOfFame } from "@/layouts/footer/HallOfFame";
import dayjs from "@/lib/date";
import rubberdokLogo from "~/public/img/rubberdok_logo_black.svg";

// https://nextjs.org/docs/advanced-features/dynamic-import

const Watermark = styled("div")(({ theme }) => ({
background: "url('/nth.svg')",
backgroundSize: 500,
background: "url('/janus_new.svg')",
backgroundSize: 320,
backgroundPosition: "right center",
backgroundRepeat: "no-repeat",
opacity: 0.1,
[theme.getColorSchemeSelector("dark")]: {
opacity: 0.3,
opacity: 0.1,
filter: "invert(1)",
},
position: "absolute",
width: "600px",
Expand All @@ -49,7 +50,7 @@ export const Footer: React.FC = () => {
<Grid container spacing={3} justifyContent={{ md: "space-between" }}>
<Grid item xs={12} md={3}>
<Stack alignItems="flex-start" spacing={3}>
<Logo />
<LogoFull />
<Typography variant="caption">
Janus Linjeforening, NTNU Kolbjørn Hejes vei 1E, 7034 Trondheim Org.nr. 994 778 463
</Typography>
Expand Down
Loading