Skip to content

Commit

Permalink
Merge pull request #784 from remap-keys/xmas-2023
Browse files Browse the repository at this point in the history
Happy Xmas 2023.
  • Loading branch information
yoichiro authored Dec 2, 2023
2 parents a8e47c2 + a1e489a commit 76d036a
Show file tree
Hide file tree
Showing 8 changed files with 24 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/App.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from 'react';
import { SnackbarProvider } from 'notistack';
import './App.css';
// import './App.css';
import { BrowserRouter, Navigate, Route, Routes } from 'react-router-dom';
import Configure from './components/configure/Configure.container';
import Hid from './services/hid/ui/Hid';
Expand Down
1 change: 1 addition & 0 deletions src/assets/images/top/xmas-logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/components/catalog/header/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ class Header extends React.Component<HeaderProps, HeaderState> {
</div>
<div className="catalog-header-logo">
<a href="/">
<Logo width={100} />
<Logo width={100} color={'#2d6858'} />
</a>
</div>
<div className="catalog-header-buttons">
Expand Down
6 changes: 5 additions & 1 deletion src/components/configure/header/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,11 @@ export default class Header extends React.Component<HeaderProps, HeaderState> {
onMouseEnter={this.startLogoAnim.bind(this)}
onMouseLeave={this.endLogoAnim.bind(this)}
>
<Logo width={100} animation={this.state.logoAnimation} />
<Logo
width={100}
animation={this.state.logoAnimation}
color={'#2d6858'}
/>
</a>
</div>

Expand Down
2 changes: 1 addition & 1 deletion src/components/keyboards/header/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ class Header extends React.Component<HeaderProps, HeaderState> {
return (
<header className="keyboards-header">
<a href="/" className="keyboards-header-logo">
<Logo width={100} />
<Logo width={100} color={'#2d6858'} />
</a>
<div className="keyboards-header-menu-button">
{this.renderAvatarIcon()}
Expand Down
2 changes: 1 addition & 1 deletion src/components/organizations/header/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ class Header extends React.Component<HeaderProps, HeaderState> {
return (
<header className="organizations-header">
<a href="/" className="organizations-header-logo">
<Logo width={100} />
<Logo width={100} color={'#2d6858'} />
</a>
<div className="organizations-header-menu-button">
{this.renderAvatarIcon()}
Expand Down
3 changes: 2 additions & 1 deletion src/components/top/Top.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import textMatrix from '../../assets/images/top/text-matrix.png';
import macro from '../../assets/images/top/macro.png';
import firmwareWriting from '../../assets/images/top/firmware-writing.png';
import buildFirmware from '../../assets/images/top/build-firmware.png';
import xmasLogo from '../../assets/images/top/xmas-logo.svg';
import Footer from '../common/footer/Footer.container';
import { Logo } from '../common/logo/Logo';
import './Top.scss';
Expand Down Expand Up @@ -124,7 +125,7 @@ export default function Top(props: TopPropsType) {
color="textPrimary"
gutterBottom
>
<Logo width={256} color={'black'} />
<img src={xmasLogo} height={64} alt="Remap Xmas Logo" />
</Typography>
<Typography
variant="h5"
Expand Down
13 changes: 12 additions & 1 deletion src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import reportWebVitals from './reportWebVitals';
import { errorReportingLogger } from './utils/ErrorReportingLogger';
import OGP from './components/common/ogp/OGP.container';
import { HelmetProvider } from 'react-helmet-async';
import { createTheme, ThemeProvider } from '@mui/material/styles';

const store = createStore(
reducers,
Expand All @@ -20,12 +21,22 @@ const store = createStore(
)
);

const theme = createTheme({
palette: {
primary: {
main: '#2d6858',
},
},
});

ReactDOM.render(
<Provider store={store}>
<React.StrictMode>
<HelmetProvider>
<OGP />
<App />
<ThemeProvider theme={theme}>
<App />
</ThemeProvider>
</HelmetProvider>
</React.StrictMode>
</Provider>,
Expand Down

0 comments on commit 76d036a

Please sign in to comment.