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: update saved blobs
  • Loading branch information
lokesh-coder committed Mar 12, 2021
commit 441f2c680dfc54995ce3f77d103c8db50f94f075
3 changes: 3 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
node_modules/
build
src/**/*.spec.js
32 changes: 30 additions & 2 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,34 @@
module.exports = {
env: {
browser: true,
es6: true,
},
extends: ['plugin:react/recommended', 'airbnb', 'react-app'],
settings: {
'import/resolver': {
node: {
extensions: ['.js', '.jsx', '.scss', '.css'],
moduleDirectory: ['node_modules', 'src/'],
},
},
},
globals: {
__PATH_PREFIX__: true,
Atomics: 'readonly',
SharedArrayBuffer: 'readonly',
},
parserOptions: {
ecmaFeatures: {
jsx: true,
},
ecmaVersion: 2018,
sourceType: 'module',
},
plugins: ['react'],
rules: {
'react/jsx-filename-extension': [1, { extensions: ['.js', '.jsx'] }],
'react/prop-types': [0],
'react/jsx-props-no-spreading': [0],
'object-curly-newline': 'off',
},
extends: `react-app`,
}
};
18 changes: 10 additions & 8 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@ about: Create a report to help us improve
title: ''
labels: ''
assignees: ''

---

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

**To Reproduce**
Steps to reproduce the behavior:

1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
Expand All @@ -24,15 +24,17 @@ A clear and concise description of what you expected to happen.
If applicable, add screenshots to help explain your problem.

**Desktop (please complete the following information):**
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]

- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]

**Smartphone (please complete the following information):**
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]

- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]

**Additional context**
Add any other context about the problem here.
1 change: 0 additions & 1 deletion .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ about: Suggest an idea for this project
title: ''
labels: ''
assignees: ''

---

**Is your feature request related to a problem? Please describe.**
Expand Down
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -67,3 +67,9 @@ yarn-error.log
.pnp.js
# Yarn Integrity file
.yarn-integrity

# app level
build/
.gitignore
coverage/
.todo
4 changes: 2 additions & 2 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"arrowParens": "avoid",
"semi": false
"singleQuote": true,
"trailingComma": "all"
}
11 changes: 8 additions & 3 deletions .todo
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,19 @@
✔ save settings @done
✘ shortcuts @cancelled
✘ loop @cancelled
clip image @cancelled
clip image @done
✔ save blobs @done
✔ view saved blobs @done
✔ url id @done
✘ reset settigs @cancelled
✔ click logo to reoad to home @done
☐ complexity change no animation
☐ Sound from Zapsplat.com
✔ complexity change no animation @done
✔ Sound from Zapsplat.com @done
✔ resize images @done
✔ add favicon @done
☐ update seo
✔ default image @done
✔ image clip fix @done


----
Expand Down
6 changes: 5 additions & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,23 +15,27 @@ Run unit tests

```
# run test cases
npm run test
npm run test

# watch mode

npm run test:watch
```

### Linting

```
npm run lint
```

It's also a good idea to add an eslint plugin in your editor.

To fix lint errors from the command line:

```
npm run lint
```

## Submitting Pull Requests

This project follows [GitHub's standard forking model.](https://guides.github.com/activities/forking/). Please fork the project to submit pull requests.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2020 Lokesh Rajendran
Copyright (c) 2021 Lokesh Rajendran

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
117 changes: 38 additions & 79 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,99 +1,58 @@
<!-- AUTO-GENERATED-CONTENT:START (STARTER) -->
<p align="center">
<a href="https://www.gatsbyjs.com">
<img alt="Gatsby" src="https://www.gatsbyjs.com/Gatsby-Monogram.svg" width="60" />
</a>
</p>
<h1 align="center">
Gatsby's default starter
</h1>

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.

_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/)._

## 🚀 Quick start

1. **Create a Gatsby site.**

Use the Gatsby CLI to create a new site, specifying the default starter.

```shell
# create a new Gatsby site using the default starter
gatsby new my-default-starter https://github.com/gatsbyjs/gatsby-starter-default
```

1. **Start developing.**

Navigate into your new site’s directory and start it up.
<h3 align="center">

```shell
cd my-default-starter/
gatsby develop
```
<br>

1. **Open the source code and start editing!**

Your site is now running at `http://localhost:8000`!

_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)._

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!

## 🧐 What's inside?

A quick look at the top-level files and directories you'll see in a Gatsby project.

.
├── node_modules
├── src
├── .gitignore
├── .prettierrc
├── gatsby-browser.js
├── gatsby-config.js
├── gatsby-node.js
├── gatsby-ssr.js
├── LICENSE
├── package-lock.json
├── package.json
└── README.md

1. **`/node_modules`**: This directory contains all of the modules of code that your project depends on (npm packages) are automatically installed.

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”.
<p align="center">
<img src="https://user-images.githubusercontent.com/1754676/82777559-18537280-9e6c-11ea-9257-0a24645c91b0.png" alt="Blobs"></p>

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

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.
<h4 align="center">Generate beautiful blob shapes for web and flutter apps. </h4>

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.
&nbsp;

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).
<div class="highlight highlight-source-shell">
<pre>
<div align="center"><strong >Blobs Generator</strong></div>
<div align="center"><a align="center" href="https://blobs.app/">https://blobs.app/</a></div>
</pre>
</div>

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.
### Preview

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.
![preview](https://user-images.githubusercontent.com/1754676/84493278-20f9d480-acc5-11ea-8667-ee0df8f35442.png)

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.
![preview2](https://user-images.githubusercontent.com/1754676/84492711-3a4e5100-acc4-11ea-942c-37f9cd802fcf.png)

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).**
### Blobs for flutter

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.
&nbsp;

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

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

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

- **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.
- Clone the Repository `git clone https://github.com/lokesh-coder/blobs.app.git`

- **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.
- Install npm packages using `yarn install`

## 💫 Deploy
- Run in dev mode
`yarn dev`

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

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.
### License

<!-- AUTO-GENERATED-CONTENT:END -->
MIT License
Binary file added assets/blobs_app_poster.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/loadingimg.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 4 additions & 7 deletions gatsby-browser.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
import "prismjs/themes/prism-solarizedlight.css"
import "@fontsource/roboto-mono/400.css"
import "@fontsource/inter/800.css"
import "@fontsource/rubik/400.css"
import "@fontsource/rubik/500.css"
import { wrapPageElement as wrap } from "./src/root-wapper"
export const wrapPageElement = wrap
import { wrapPageElement as wrap } from './src/root-wapper';

// eslint-disable-next-line import/prefer-default-export
export const wrapPageElement = wrap;
54 changes: 27 additions & 27 deletions gatsby-config.js
Original file line number Diff line number Diff line change
@@ -1,41 +1,41 @@
module.exports = {
siteMetadata: {
siteUrl: "https://blobs.app",
name: "blobs.app",
description: "Generate beautiful blob shapesfor web and flutter apps",
short_name: "Blob generator",
start_url: "/",
background_color: "#d5695f",
theme_color: "#d5695f",
display: "minimal-ui",
icon: "src/images/blobs.png",
author: "@lokesh_coder",
siteUrl: 'https://blobs.app',
name: 'blobs.app',
description: 'Generate beautiful blob shapesfor web and flutter apps',
short_name: 'Blob generator',
start_url: '/',
background_color: '#d7819b',
theme_color: '#d7819b',
display: 'minimal-ui',
icon: 'src/images/blobs.png',
author: '@lokesh_coder',
},
plugins: [
`gatsby-plugin-react-helmet`,
`gatsby-plugin-image`,
'gatsby-plugin-react-helmet',
'gatsby-plugin-image',
{
resolve: `gatsby-source-filesystem`,
resolve: 'gatsby-source-filesystem',
options: {
name: `images`,
name: 'images',
path: `${__dirname}/src/images`,
},
},
`gatsby-transformer-sharp`,
`gatsby-plugin-sharp`,
'gatsby-transformer-sharp',
'gatsby-plugin-sharp',
{
resolve: `gatsby-plugin-manifest`,
resolve: 'gatsby-plugin-manifest',
options: {
name: `blobs.app`,
short_name: `Blob generator`,
start_url: `/`,
background_color: `#663399`,
theme_color: `#663399`,
display: `standalone`,
icon: `src/images/blobs.png`,
name: 'blobs.app',
short_name: 'Blob generator',
start_url: '/',
background_color: '#663399',
theme_color: '#663399',
display: 'standalone',
icon: 'src/images/blobs.png',
},
},
"gatsby-plugin-offline",
"@chakra-ui/gatsby-plugin",
'gatsby-plugin-offline',
'@chakra-ui/gatsby-plugin',
],
}
};
6 changes: 4 additions & 2 deletions gatsby-ssr.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
import { wrapPageElement as wrap } from "./src/root-wapper"
export const wrapPageElement = wrap
import { wrapPageElement as wrap } from './src/root-wapper';

// eslint-disable-next-line import/prefer-default-export
export const wrapPageElement = wrap;
Loading
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