Skip to content

V2.0 #8

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 21 commits into from
Mar 14, 2021
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix: mobile layout
  • Loading branch information
lokesh-coder committed Mar 12, 2021
commit 8964f4992b547f67195e168888620a14ce56cd6f
1 change: 1 addition & 0 deletions src/components/NavLinks.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ const NavLinks = ({ saveBlob }) => {
<Button
href="/page-2/"
as={GatbsyLink}
to="/page-2"
variant="heavy"
leftIcon={<SavedIcon fontSize="18px" />}
aria-label="Saved blobs"
Expand Down
1 change: 1 addition & 0 deletions src/components/Settings/PatternSetter.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ const PatternSetter = ({ type, pattern, switchToPattern }) => {
<Box p="3">
{Object.keys(Patterns).map((name) => (
<PatternBox
key={name}
meta={Patterns[name]}
clickHandler={switchToPattern}
isSelected={pattern === name}
Expand Down
6 changes: 5 additions & 1 deletion src/components/footer.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,11 @@ import ThemeSwitch from './theme-switch';

const Footer = ({ toggleSound, playSound }) => (
<Center my="6">
<HStack spacing="10px" fontSize="sm">
<HStack
spacing="10px"
fontSize="sm"
flexDirection={{ base: 'column-reverse', lg: 'row' }}
>
<Button
variant="silent"
leftIcon={<CopyrightIcon fontSize="lg" />}
Expand Down
25 changes: 22 additions & 3 deletions src/pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,27 @@ const IndexPage = () => (
description="Customizable blobs as SVG and Flutter Widget. Create random or fixed blobs, loop, animate, clip them with ease"
/>
<Flex wrap="wrap" flex="1">
<Flex
align="center"
justify="center"
direction="column"
my="4"
w="full"
display={{ base: 'flex', lg: 'none' }}
>
<Logo />
<Heading fontSize="3xl" variant="main">
Generate blobs
</Heading>
</Flex>
<Box
w={{ sm: '100%', lg: 8 / 12 }}
w={{ base: '100%', lg: 8 / 12 }}
justifyContent="center"
alignItems="center"
display="flex"
flexDirection="column"
>
<Box w={{ sm: '100%', lg: 500 }} h={{ lg: 500 }}>
<Box w={{ base: '100%', lg: 500 }} h={{ lg: 500 }}>
<BlobContainer />
</Box>
<Actions />
Expand All @@ -35,7 +48,13 @@ const IndexPage = () => (
w={{ sm: '100%', lg: 4 / 12 }}
>
<Box w="full">
<Flex align="center" justify="center" direction="column" mb="8">
<Flex
align="center"
justify="center"
direction="column"
mb="8"
display={{ base: 'none', lg: 'flex' }}
>
<Logo />
<Heading fontSize="3xl" variant="main">
Generate blobs
Expand Down
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy