Skip to content

Commit

Permalink
Update manifest.json icons, adjust Footer styles, and remove unused C…
Browse files Browse the repository at this point in the history
…SS file
  • Loading branch information
athrvk committed Dec 12, 2024
1 parent 26d68b9 commit 867b75c
Show file tree
Hide file tree
Showing 5 changed files with 36 additions and 34 deletions.
27 changes: 26 additions & 1 deletion frontend/public/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,34 @@
"short_name": "Tic-Tac-Two",
"name": "Tic-Tac-Two Game",
"icons": [
{
"src": "logo16.png",
"sizes": "16x16",
"type": "image/png"
},
{
"src": "logo32.png",
"sizes": "32x32",
"type": "image/png"
},
{
"src": "logo64.png",
"sizes": "64x64",
"type": "image/png"
},
{
"src": "logo128.png",
"sizes": "512x512 256x256 128x128 64x64 32x32 24x24 16x16",
"sizes": "128x128",
"type": "image/png"
},
{
"src": "logo256.png",
"sizes": "256x256",
"type": "image/png"
},
{
"src": "logo512.png",
"sizes": "512x512",
"type": "image/png"
}
],
Expand Down
1 change: 1 addition & 0 deletions frontend/src/components/UI/Container.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ export const Container = styled.div`
max-height: 100vh;
margin: 0 auto;
padding: ${({ theme }) => theme.spacing.lg};
padding-bottom: 80px;
display: flex;
flex-direction: column;
align-items: center;
Expand Down
6 changes: 3 additions & 3 deletions frontend/src/components/UI/Footer.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { theme } from '../../styles/theme';

const FooterContainer = styled.footer`
background-color: ${theme.colors.lightGray};
position: absolute;
position: fixed;
width: 100%;
bottom: 0;
color: ${theme.colors.text};
Expand All @@ -16,7 +16,7 @@ const FooterContainer = styled.footer`
@media (max-width: 768px) {
flex-direction: column;
text-align: center;
padding: ${theme.spacing.sm};
padding: ${theme.spacing.xs};
}
`;

Expand All @@ -27,7 +27,7 @@ const FooterText = styled.p`
margin: 0;
@media (max-width: 768px) {
font-size: ${theme.typography.body.fontSize};
margin-top: ${theme.spacing.sm};
margin-top: ${theme.spacing.xs};
}
`;

Expand Down
7 changes: 6 additions & 1 deletion frontend/src/index.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
import React from 'react';
import ReactDOM from 'react-dom/client';
import App from './App';
import './styles/index.css';
// import './styles/index.css';


if (process.env.NODE_ENV === 'production') {
console.log = () => {};
}

const root = ReactDOM.createRoot(document.getElementById('root'));
root.render(
Expand Down
29 changes: 0 additions & 29 deletions frontend/src/styles/index.css

This file was deleted.

0 comments on commit 867b75c

Please sign in to comment.