Skip to content

Commit

Permalink
Merge pull request #50 from marcoandre1/release
Browse files Browse the repository at this point in the history
Release into master
  • Loading branch information
marcoandre1 authored Dec 31, 2020
2 parents 947e093 + 94acd32 commit 3055bfc
Show file tree
Hide file tree
Showing 6 changed files with 171 additions and 12 deletions.
Binary file modified public/favicon.ico
Binary file not shown.
19 changes: 19 additions & 0 deletions src/components/LogoMark.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
import React from "react";
import logo from "../images/modokemdev-logo.svg";
import logoMark from "../images/modokemdev-logo-mark.svg";
import logoMarkBlackFont from "../images/modokemdev-logo-mark-black-font.svg";

const LogoMark = ({ isDarkMode }) => {
return (
<div className="flex-shrink-0 flex items-center">
<img className="block lg:hidden h-8 w-auto" src={logo} alt="Workflow" />
<img
className="hidden lg:block h-8 w-auto"
src={isDarkMode ? logoMark : logoMarkBlackFont}
alt="Workflow"
/>
</div>
);
};

export default LogoMark;
14 changes: 2 additions & 12 deletions src/components/Navigation.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import { connect } from "react-redux";
import { Link } from "react-router-dom";
import MobileMenuButton from "./MobileMenuButton";
import DarkModeButton from "./DarkModeButton";
import LogoMark from "./LogoMark";

const Navigation = ({
languages,
Expand All @@ -19,18 +20,7 @@ const Navigation = ({
onMobileMenuClick={onMobileMenuClick}
/>
<div className="flex-1 flex items-center justify-center sm:items-stretch sm:justify-start">
<div className="flex-shrink-0 flex items-center">
<img
className="block lg:hidden h-8 w-auto"
src="https://tailwindui.com/img/logos/workflow-mark-indigo-500.svg"
alt="Workflow"
/>
<img
className="hidden lg:block h-8 w-auto"
src="https://tailwindui.com/img/logos/workflow-logo-indigo-500-mark-white-text.svg"
alt="Workflow"
/>
</div>
<LogoMark isDarkMode={isDarkMode} />
<div className="hidden sm:block sm:ml-6">
<div className="flex space-x-4">
{languages.map((language) => (
Expand Down
54 changes: 54 additions & 0 deletions src/images/modokemdev-logo-mark-black-font.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
54 changes: 54 additions & 0 deletions src/images/modokemdev-logo-mark.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
42 changes: 42 additions & 0 deletions src/images/modokemdev-logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 3055bfc

Please sign in to comment.