Skip to content

Commit 441f2c6

Browse files
committed
fix: update saved blobs
1 parent 8aa3b27 commit 441f2c6

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

64 files changed

+1822
-1756
lines changed

.eslintignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
node_modules/
2+
build
3+
src/**/*.spec.js

.eslintrc.js

Lines changed: 30 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,34 @@
11
module.exports = {
2+
env: {
3+
browser: true,
4+
es6: true,
5+
},
6+
extends: ['plugin:react/recommended', 'airbnb', 'react-app'],
7+
settings: {
8+
'import/resolver': {
9+
node: {
10+
extensions: ['.js', '.jsx', '.scss', '.css'],
11+
moduleDirectory: ['node_modules', 'src/'],
12+
},
13+
},
14+
},
215
globals: {
316
__PATH_PREFIX__: true,
17+
Atomics: 'readonly',
18+
SharedArrayBuffer: 'readonly',
19+
},
20+
parserOptions: {
21+
ecmaFeatures: {
22+
jsx: true,
23+
},
24+
ecmaVersion: 2018,
25+
sourceType: 'module',
26+
},
27+
plugins: ['react'],
28+
rules: {
29+
'react/jsx-filename-extension': [1, { extensions: ['.js', '.jsx'] }],
30+
'react/prop-types': [0],
31+
'react/jsx-props-no-spreading': [0],
32+
'object-curly-newline': 'off',
433
},
5-
extends: `react-app`,
6-
}
34+
};

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@ about: Create a report to help us improve
44
title: ''
55
labels: ''
66
assignees: ''
7-
87
---
98

109
**Describe the bug**
1110
A clear and concise description of what the bug is.
1211

1312
**To Reproduce**
1413
Steps to reproduce the behavior:
14+
1515
1. Go to '...'
1616
2. Click on '....'
1717
3. Scroll down to '....'
@@ -24,15 +24,17 @@ A clear and concise description of what you expected to happen.
2424
If applicable, add screenshots to help explain your problem.
2525

2626
**Desktop (please complete the following information):**
27-
- OS: [e.g. iOS]
28-
- Browser [e.g. chrome, safari]
29-
- Version [e.g. 22]
27+
28+
- OS: [e.g. iOS]
29+
- Browser [e.g. chrome, safari]
30+
- Version [e.g. 22]
3031

3132
**Smartphone (please complete the following information):**
32-
- Device: [e.g. iPhone6]
33-
- OS: [e.g. iOS8.1]
34-
- Browser [e.g. stock browser, safari]
35-
- Version [e.g. 22]
33+
34+
- Device: [e.g. iPhone6]
35+
- OS: [e.g. iOS8.1]
36+
- Browser [e.g. stock browser, safari]
37+
- Version [e.g. 22]
3638

3739
**Additional context**
3840
Add any other context about the problem here.

.github/ISSUE_TEMPLATE/feature_request.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ about: Suggest an idea for this project
44
title: ''
55
labels: ''
66
assignees: ''
7-
87
---
98

109
**Is your feature request related to a problem? Please describe.**

.gitignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,3 +67,9 @@ yarn-error.log
6767
.pnp.js
6868
# Yarn Integrity file
6969
.yarn-integrity
70+
71+
# app level
72+
build/
73+
.gitignore
74+
coverage/
75+
.todo

.prettierrc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
2-
"arrowParens": "avoid",
3-
"semi": false
2+
"singleQuote": true,
3+
"trailingComma": "all"
44
}

.todo

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,19 @@
55
✔ save settings @done
66
✘ shortcuts @cancelled
77
✘ loop @cancelled
8-
clip image @cancelled
8+
clip image @done
99
✔ save blobs @done
1010
✔ view saved blobs @done
1111
✔ url id @done
1212
✘ reset settigs @cancelled
1313
✔ click logo to reoad to home @done
14-
☐ complexity change no animation
15-
☐ Sound from Zapsplat.com
14+
✔ complexity change no animation @done
15+
✔ Sound from Zapsplat.com @done
16+
✔ resize images @done
17+
✔ add favicon @done
18+
☐ update seo
19+
✔ default image @done
20+
✔ image clip fix @done
1621

1722

1823
----

CONTRIBUTING.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,23 +15,27 @@ Run unit tests
1515

1616
```
1717
# run test cases
18-
npm run test
18+
npm run test
1919
2020
# watch mode
2121
2222
npm run test:watch
2323
```
2424

2525
### Linting
26+
2627
```
2728
npm run lint
2829
```
30+
2931
It's also a good idea to add an eslint plugin in your editor.
3032

3133
To fix lint errors from the command line:
34+
3235
```
3336
npm run lint
3437
```
3538

3639
## Submitting Pull Requests
40+
3741
This project follows [GitHub's standard forking model.](https://guides.github.com/activities/forking/). Please fork the project to submit pull requests.

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2020 Lokesh Rajendran
3+
Copyright (c) 2021 Lokesh Rajendran
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

Lines changed: 38 additions & 79 deletions
Original file line numberDiff line numberDiff line change
@@ -1,99 +1,58 @@
1-
<!-- AUTO-GENERATED-CONTENT:START (STARTER) -->
2-
<p align="center">
3-
<a href="https://www.gatsbyjs.com">
4-
<img alt="Gatsby" src="https://www.gatsbyjs.com/Gatsby-Monogram.svg" width="60" />
5-
</a>
6-
</p>
7-
<h1 align="center">
8-
Gatsby's default starter
9-
</h1>
10-
11-
Kick off your project with this default boilerplate. This starter ships with the main Gatsby configuration files you might need to get up and running blazing fast with the blazing fast app generator for React.
12-
13-
_Have another more specific idea? You may want to check out our vibrant collection of [official and community-created starters](https://www.gatsbyjs.com/docs/gatsby-starters/)._
14-
15-
## 🚀 Quick start
16-
17-
1. **Create a Gatsby site.**
18-
19-
Use the Gatsby CLI to create a new site, specifying the default starter.
20-
21-
```shell
22-
# create a new Gatsby site using the default starter
23-
gatsby new my-default-starter https://github.com/gatsbyjs/gatsby-starter-default
24-
```
25-
26-
1. **Start developing.**
27-
28-
Navigate into your new site’s directory and start it up.
1+
<h3 align="center">
292

30-
```shell
31-
cd my-default-starter/
32-
gatsby develop
33-
```
3+
<br>
344

35-
1. **Open the source code and start editing!**
36-
37-
Your site is now running at `http://localhost:8000`!
38-
39-
_Note: You'll also see a second link: _`http://localhost:8000/___graphql`_. This is a tool you can use to experiment with querying your data. Learn more about using this tool in the [Gatsby tutorial](https://www.gatsbyjs.com/tutorial/part-five/#introducing-graphiql)._
40-
41-
Open the `my-default-starter` directory in your code editor of choice and edit `src/pages/index.js`. Save your changes and the browser will update in real time!
42-
43-
## 🧐 What's inside?
44-
45-
A quick look at the top-level files and directories you'll see in a Gatsby project.
46-
47-
.
48-
├── node_modules
49-
├── src
50-
├── .gitignore
51-
├── .prettierrc
52-
├── gatsby-browser.js
53-
├── gatsby-config.js
54-
├── gatsby-node.js
55-
├── gatsby-ssr.js
56-
├── LICENSE
57-
├── package-lock.json
58-
├── package.json
59-
└── README.md
60-
61-
1. **`/node_modules`**: This directory contains all of the modules of code that your project depends on (npm packages) are automatically installed.
62-
63-
2. **`/src`**: This directory will contain all of the code related to what you will see on the front-end of your site (what you see in the browser) such as your site header or a page template. `src` is a convention for “source code”.
5+
<p align="center">
6+
<img src="https://user-images.githubusercontent.com/1754676/82777559-18537280-9e6c-11ea-9257-0a24645c91b0.png" alt="Blobs"></p>
647

65-
3. **`.gitignore`**: This file tells git which files it should not track / not maintain a version history for.
8+
</h3>
669

67-
4. **`.prettierrc`**: This is a configuration file for [Prettier](https://prettier.io/). Prettier is a tool to help keep the formatting of your code consistent.
10+
<h4 align="center">Generate beautiful blob shapes for web and flutter apps. </h4>
6811

69-
5. **`gatsby-browser.js`**: This file is where Gatsby expects to find any usage of the [Gatsby browser APIs](https://www.gatsbyjs.com/docs/browser-apis/) (if any). These allow customization/extension of default Gatsby settings affecting the browser.
12+
&nbsp;
7013

71-
6. **`gatsby-config.js`**: This is the main configuration file for a Gatsby site. This is where you can specify information about your site (metadata) like the site title and description, which Gatsby plugins you’d like to include, etc. (Check out the [config docs](https://www.gatsbyjs.com/docs/gatsby-config/) for more detail).
14+
<div class="highlight highlight-source-shell">
15+
<pre>
16+
<div align="center"><strong >Blobs Generator</strong></div>
17+
<div align="center"><a align="center" href="https://blobs.app/">https://blobs.app/</a></div>
18+
</pre>
19+
</div>
7220

73-
7. **`gatsby-node.js`**: This file is where Gatsby expects to find any usage of the [Gatsby Node APIs](https://www.gatsbyjs.com/docs/node-apis/) (if any). These allow customization/extension of default Gatsby settings affecting pieces of the site build process.
21+
### Preview
7422

75-
8. **`gatsby-ssr.js`**: This file is where Gatsby expects to find any usage of the [Gatsby server-side rendering APIs](https://www.gatsbyjs.com/docs/ssr-apis/) (if any). These allow customization of default Gatsby settings affecting server-side rendering.
23+
![preview](https://user-images.githubusercontent.com/1754676/84493278-20f9d480-acc5-11ea-8667-ee0df8f35442.png)
7624

77-
9. **`LICENSE`**: This Gatsby starter is licensed under the 0BSD license. This means that you can see this file as a placeholder and replace it with your own license.
25+
![preview2](https://user-images.githubusercontent.com/1754676/84492711-3a4e5100-acc4-11ea-942c-37f9cd802fcf.png)
7826

79-
10. **`package-lock.json`** (See `package.json` below, first). This is an automatically generated file based on the exact versions of your npm dependencies that were installed for your project. **(You won’t change this file directly).**
27+
### Blobs for flutter
8028

81-
11. **`package.json`**: A manifest file for Node.js projects, which includes things like metadata (the project’s name, author, etc). This manifest is how npm knows which packages to install for your project.
29+
&nbsp;
8230

83-
12. **`README.md`**: A text file containing useful reference information about your project.
31+
<div class="highlight highlight-source-shell">
32+
<pre>
33+
<div align="center"><strong >Blobs for flutter</strong></div>
34+
<div align="center"><a align="center" href="https://pub.dev/packages/blobs">flutter_blobs</a></div>
35+
</pre>
36+
</div>
8437

85-
## 🎓 Learning Gatsby
38+
<p float="left">
39+
<img width="200" alt="style_custom_color" src="https://user-images.githubusercontent.com/1754676/82777008-6ebfb180-9e6a-11ea-9b85-fcac09cfca38.gif">
40+
<img width="200" alt="style_gradient" src="https://user-images.githubusercontent.com/1754676/82777164-f1e10780-9e6a-11ea-8d02-89217cd6e582.png">
41+
<img width="200" alt="blobs_with_child" src="https://user-images.githubusercontent.com/1754676/82777157-ef7ead80-9e6a-11ea-9b74-6224cf33d739.png">
42+
</p>
8643

87-
Looking for more guidance? Full documentation for Gatsby lives [on the website](https://www.gatsbyjs.com/). Here are some places to start:
44+
### Development
8845

89-
- **For most developers, we recommend starting with our [in-depth tutorial for creating a site with Gatsby](https://www.gatsbyjs.com/tutorial/).** It starts with zero assumptions about your level of ability and walks through every step of the process.
46+
- Clone the Repository `git clone https://github.com/lokesh-coder/blobs.app.git`
9047

91-
- **To dive straight into code samples, head [to our documentation](https://www.gatsbyjs.com/docs/).** In particular, check out the _Guides_, _API Reference_, and _Advanced Tutorials_ sections in the sidebar.
48+
- Install npm packages using `yarn install`
9249

93-
## 💫 Deploy
50+
- Run in dev mode
51+
`yarn dev`
9452

95-
[Build, Deploy, and Host On The Only Cloud Built For Gatsby](https://www.gatsbyjs.com/cloud/)
53+
- Run in build mode
54+
`yarn build`
9655

97-
Gatsby Cloud is an end-to-end cloud platform specifically built for the Gatsby framework that combines a modern developer experience with an optimized, global edge network.
56+
### License
9857

99-
<!-- AUTO-GENERATED-CONTENT:END -->
58+
MIT License

assets/blobs_app_poster.png

93.9 KB
Loading

assets/loadingimg.png

1023 Bytes
Loading

gatsby-browser.js

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
1-
import "prismjs/themes/prism-solarizedlight.css"
2-
import "@fontsource/roboto-mono/400.css"
3-
import "@fontsource/inter/800.css"
4-
import "@fontsource/rubik/400.css"
5-
import "@fontsource/rubik/500.css"
6-
import { wrapPageElement as wrap } from "./src/root-wapper"
7-
export const wrapPageElement = wrap
1+
import { wrapPageElement as wrap } from './src/root-wapper';
2+
3+
// eslint-disable-next-line import/prefer-default-export
4+
export const wrapPageElement = wrap;

gatsby-config.js

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,41 +1,41 @@
11
module.exports = {
22
siteMetadata: {
3-
siteUrl: "https://blobs.app",
4-
name: "blobs.app",
5-
description: "Generate beautiful blob shapesfor web and flutter apps",
6-
short_name: "Blob generator",
7-
start_url: "/",
8-
background_color: "#d5695f",
9-
theme_color: "#d5695f",
10-
display: "minimal-ui",
11-
icon: "src/images/blobs.png",
12-
author: "@lokesh_coder",
3+
siteUrl: 'https://blobs.app',
4+
name: 'blobs.app',
5+
description: 'Generate beautiful blob shapesfor web and flutter apps',
6+
short_name: 'Blob generator',
7+
start_url: '/',
8+
background_color: '#d7819b',
9+
theme_color: '#d7819b',
10+
display: 'minimal-ui',
11+
icon: 'src/images/blobs.png',
12+
author: '@lokesh_coder',
1313
},
1414
plugins: [
15-
`gatsby-plugin-react-helmet`,
16-
`gatsby-plugin-image`,
15+
'gatsby-plugin-react-helmet',
16+
'gatsby-plugin-image',
1717
{
18-
resolve: `gatsby-source-filesystem`,
18+
resolve: 'gatsby-source-filesystem',
1919
options: {
20-
name: `images`,
20+
name: 'images',
2121
path: `${__dirname}/src/images`,
2222
},
2323
},
24-
`gatsby-transformer-sharp`,
25-
`gatsby-plugin-sharp`,
24+
'gatsby-transformer-sharp',
25+
'gatsby-plugin-sharp',
2626
{
27-
resolve: `gatsby-plugin-manifest`,
27+
resolve: 'gatsby-plugin-manifest',
2828
options: {
29-
name: `blobs.app`,
30-
short_name: `Blob generator`,
31-
start_url: `/`,
32-
background_color: `#663399`,
33-
theme_color: `#663399`,
34-
display: `standalone`,
35-
icon: `src/images/blobs.png`,
29+
name: 'blobs.app',
30+
short_name: 'Blob generator',
31+
start_url: '/',
32+
background_color: '#663399',
33+
theme_color: '#663399',
34+
display: 'standalone',
35+
icon: 'src/images/blobs.png',
3636
},
3737
},
38-
"gatsby-plugin-offline",
39-
"@chakra-ui/gatsby-plugin",
38+
'gatsby-plugin-offline',
39+
'@chakra-ui/gatsby-plugin',
4040
],
41-
}
41+
};

gatsby-ssr.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
1-
import { wrapPageElement as wrap } from "./src/root-wapper"
2-
export const wrapPageElement = wrap
1+
import { wrapPageElement as wrap } from './src/root-wapper';
2+
3+
// eslint-disable-next-line import/prefer-default-export
4+
export const wrapPageElement = wrap;

0 commit comments

Comments
 (0)