-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
145 update tailwind color definitions to new design (#156)
* rewrite tailwind config to use hex colors, and update color definitions * fix tailwind config, update to new colors * remove light mode * remove old generated strapi rest api types * remvoe rest api generate types script * rename typegen scripts * update navbar colors, remove old unused code * fix footer responsive design and colors * run prettier * remove old rest api code
- Loading branch information
Magnus Alexander Strømseng
authored and
GitHub
committed
Mar 20, 2024
1 parent
2abcd5b
commit bc89d83
Showing
18 changed files
with
96 additions
and
3,880 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,8 +1,16 @@ | ||
| "use client"; | ||
| import { useTheme } from "next-themes"; | ||
| import NTNULogoImageHelper from "./NTNULogoImage"; | ||
| import Image from "next/image"; | ||
| interface NTNULogoProps { | ||
| width?: number; | ||
| height?: number; | ||
| } | ||
|
|
||
| export default function NTNULogo() { | ||
| const { theme } = useTheme(); | ||
| return <NTNULogoImageHelper darkMode={theme === "dark"} />; | ||
| export default function NTNULogo({ width = 200, height = 200 }: NTNULogoProps) { | ||
| return ( | ||
| <Image | ||
| src="/images/ntnu-white.svg" | ||
| alt="NTNU logo" | ||
| width={width} | ||
| height={height} | ||
| /> | ||
| ); | ||
| } |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.