Skip to content

Commit 1d05307

Browse files
committed
fix: update pwa settings
1 parent 6371dbe commit 1d05307

File tree

4 files changed

+4
-18
lines changed

4 files changed

+4
-18
lines changed

gatsby-config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ module.exports = {
3131
name: 'blobs.app',
3232
short_name: 'Blob generator',
3333
start_url: '/',
34-
background_color: '#663399',
35-
theme_color: '#663399',
34+
background_color: '#ffffff',
35+
theme_color: '#d7819b',
3636
display: 'standalone',
3737
icon: 'src/images/blobs.png',
3838
},

src/components/Common/Modal.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ const Modal = ({ title, src, children, actions, size = '2xl' }) => {
3030
>
3131
<ModalOverlay background="rgba(78,86,107,0.71)" />
3232
<ModalContent>
33-
<ModalHeader px="10">
33+
<ModalHeader px={{ base: '2', lg: '10' }}>
3434
<Flex align="center">
3535
<Flex
3636
direction={{ base: 'column', lg: 'row' }}
@@ -47,7 +47,7 @@ const Modal = ({ title, src, children, actions, size = '2xl' }) => {
4747
onClick={onClose}
4848
variant="subtle"
4949
pos="relative"
50-
right="-20px"
50+
right={{ base: '0', lg: '-20px' }}
5151
>
5252
<CloseIcon />
5353
</Button>

src/components/layout.js

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,3 @@
1-
/**
2-
* Layout component that queries for data
3-
* with Gatsby's useStaticQuery component
4-
*
5-
* See: https://www.gatsbyjs.com/docs/use-static-query/
6-
*/
7-
81
import * as React from 'react';
92
import PropTypes from 'prop-types';
103
import { useStaticQuery, graphql } from 'gatsby';

src/components/seo.js

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,3 @@
1-
/**
2-
* SEO component that queries for data with
3-
* Gatsby's useStaticQuery React hook
4-
*
5-
* See: https://www.gatsbyjs.com/docs/use-static-query/
6-
*/
7-
81
import * as React from 'react';
92
import PropTypes from 'prop-types';
103
import { Helmet } from 'react-helmet';

0 commit comments

Comments
 (0)