diff --git a/UI/src/assets/logomark-trans.svg b/UI/src/assets/logomark-trans.svg new file mode 100644 index 0000000..17e37ce --- /dev/null +++ b/UI/src/assets/logomark-trans.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/UI/src/components/logotype/index.js b/UI/src/components/logotype/index.js index c906b16..ae619c8 100644 --- a/UI/src/components/logotype/index.js +++ b/UI/src/components/logotype/index.js @@ -41,4 +41,46 @@ const Logotype = ({ ) +export const TransFlag = (props) => ( + + + + + + + + + + + + + + + + + +) + export default Logotype diff --git a/UI/src/components/wrapper/index.js b/UI/src/components/wrapper/index.js index 72ae470..a87910e 100644 --- a/UI/src/components/wrapper/index.js +++ b/UI/src/components/wrapper/index.js @@ -1,12 +1,27 @@ import React, { Component } from 'react' import { Link } from 'react-router-dom' import Scrollbars from 'react-custom-scrollbars' -import Logotype from '../logotype' +import Logotype, { TransFlag } from '../logotype' import './wrapper.sass' import discordLogo from '../../pages/images/discord-logo.svg' +let specialFills = {} +let showTransFlag = false + + class Wrapper extends Component { render() { + const date = new Date() + if ( + (date.getMonth() === 2 && date.getDate() === 31) || // TDOV (2 is March) + (date.getMonth() === 10 && date.getDate() === 20) // TDOR (10 is Nov) + ) { + specialFills = { + circleFill: '#FFAEC6', + typeFill: '#6FDCFF' + } + showTransFlag = true + } return (
@@ -15,7 +30,9 @@ class Wrapper extends Component {