Skip to content

Commit

Permalink
Merge pull request #72 from mml-io/update-mml-branding
Browse files Browse the repository at this point in the history
Update MML Branding
  • Loading branch information
MarcusLongmuir authored Nov 17, 2023
2 parents 5f83574 + ecd70f1 commit 887ef97
Show file tree
Hide file tree
Showing 10 changed files with 31 additions and 29 deletions.
Binary file removed public/favicon.ico
Binary file not shown.
Binary file added public/images/favicon-dark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/favicon-light.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 0 additions & 9 deletions public/images/logo/logo-2.svg

This file was deleted.

9 changes: 0 additions & 9 deletions public/images/logo/logo.svg

This file was deleted.

8 changes: 8 additions & 0 deletions public/images/logo/mml-logotype-black.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 8 additions & 0 deletions public/images/logo/mml-logotype-white.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 7 additions & 7 deletions src/components/Header/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,20 +57,20 @@ const Header = () => {
<div className="w-60 max-w-full px-4 sm:px-0 xl:mr-12">
<Link
href="/"
className={`header-logo block w-full ${sticky ? "py-5 lg:py-2" : "py-8"} `}
className={`header-logo block w-[115px] ${sticky ? "py-5 lg:py-2" : "py-8"} `}
>
<img
src="/images/logo/logo-2.svg"
src="/images/logo/mml-logotype-black.svg"
alt="logo"
width={140}
height={30}
width={115}
height={45}
className="w-full dark:hidden"
/>
<img
src="/images/logo/logo.svg"
src="/images/logo/mml-logotype-white.svg"
alt="logo"
width={140}
height={30}
width={115}
height={45}
className="hidden w-full dark:block"
/>
</Link>
Expand Down
5 changes: 3 additions & 2 deletions src/components/_head.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@ export default function Head() {
<>
<title>MML - Metaverse Markup Language</title>
<meta content="width=device-width, initial-scale=1" name="viewport" />
<meta name="description" content="Generated by create next app" />
<link rel="icon" href="/images/favicon.ico" />
<meta name="description" content="MML Official Website" />
<link href="/images/favicon-light.png" rel="icon" media="(prefers-color-scheme: light)" />
<link href="/images/favicon-dark.png" rel="icon" media="(prefers-color-scheme: dark)" />
</>
);
}
7 changes: 5 additions & 2 deletions src/pages/_document.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { Head, Html, Main, NextScript } from "next/document";
import { Html, Main, Head as NextHead, NextScript } from "next/document";

import Head from "@/src/components/_head";
import Footer from "@/src/components/Footer";
import ScrollToTop from "@/src/components/ScrollToTop";

Expand All @@ -10,7 +11,9 @@ export default function Document() {
<head /> will contain the components returned by the nearest parent
head.js. Find out more at https://beta.nextjs.org/docs/api-reference/file-conventions/head
*/}
<Head />
<NextHead>
<Head />
</NextHead>
<body className="bg-light-theme dark:bg-dark-theme">
<Main />
<NextScript />
Expand Down

0 comments on commit 887ef97

Please sign in to comment.