Skip to content

Commit c666572

Browse files
committed
add favicons
1 parent 5172f85 commit c666572

33 files changed

+470
-99681
lines changed

README.md

Lines changed: 13 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,48 +1,38 @@
11
<div align="center">
2-
<a href="http://react-simple-boilerplate.surge.sh/">
3-
<h1>React Simple Boilerplate</h1>
2+
<a href="https://blobs.app/">
3+
<h1>Blobs</h1>
44
</a>
55
</div>
66

77
<div align="center">
8-
<strong>Start your next react project in seconds</strong>
8+
<strong>Create beautiful blob shapes for web and flutter apps</strong>
99
<br />
1010
<div>
1111
<!-- travis -->
12-
<a href="https://travis-ci.org/udaypydi/react-simple-boilerplate">
13-
<img src="https://travis-ci.org/udaypydi/react-simple-boilerplate.svg" alt="Test Coverage" />
12+
<a href="https://travis-ci.org/lokesh-coder/blobs.app">
13+
<img src="https://travis-ci.org/lokesh-coder/blobs.app.svg" alt="Test Coverage" />
1414
</a>
1515
<!-- Mit License -->
16-
<a href="https://github.com/udaypydi/react-simple-boilerplate/blob/master/LICENSE">
17-
<img src="https://img.shields.io/github/license/udaypydi/react-simple-boilerplate">
16+
<a href="https://github.com/lokesh-coder/blobs.app/blob/master/LICENSE">
17+
<img src="https://img.shields.io/github/license/lokesh-coder/blobs.app">
1818
</a>
1919
<!-- Pr's -->
20-
<a href="https://github.com/udaypydi/react-simple-boilerplate/blob/master/CONTRIBUTING.md">
20+
<a href="https://github.com/lokesh-coder/blobs.app/blob/master/CONTRIBUTING.md">
2121
<img src="https://img.shields.io/badge/PRs-welcome-blueviolet.svg">
2222
</a>
2323
</div>
2424
</div>
2525

26-
A simple react boilerplate with webpack hmr and latest babel packages. It comes with inbuilt [Travis-CI](https://travis-ci.org/) for PR checks, lint checks and builds. Kick start the development with tailwind css, react hooks and much more.
26+
<br />
2727

28-
## Getting Started
29-
<i>These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.</i>
28+
### Development
3029

31-
### Prerequisites
32-
* [yarn](https://classic.yarnpkg.com/en/docs/install/)
33-
* [node](https://nodejs.org/en/download/)
34-
35-
36-
### Installing
37-
- Clone the Repository `git clone https://github.com/udaypydi/react-simple-boilerplate.git`
30+
- Clone the Repository `git clone https://github.com/lokesh-coder/blobs.app.git`
3831

3932
- Install npm packages using `yarn install`
4033

4134
- Run in dev mode
42-
`npm run dev`
35+
`yarn dev`
4336

4437
- Run in build mode
45-
`npm run build`
46-
47-
- Run test cases
48-
`npm run test`
38+
`yarn build`

config/template.html

Lines changed: 92 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,21 @@
11
<!DOCTYPE html>
22
<html>
33
<head>
4+
<!-- Global site tag (gtag.js) - Google Analytics -->
5+
<script
6+
async
7+
src="https://www.googletagmanager.com/gtag/js?id=UA-167428362-1"
8+
></script>
9+
<script>
10+
window.dataLayer = window.dataLayer || [];
11+
function gtag() {
12+
dataLayer.push(arguments);
13+
}
14+
gtag("js", new Date());
15+
16+
gtag("config", "UA-167428362-1");
17+
</script>
18+
419
<meta charset="utf-8" />
520
<!-- Primary Meta Tags -->
621
<title>
@@ -41,6 +56,83 @@
4156
/>
4257
<meta property="twitter:image" content="https://blobs.app/poster.png" />
4358
<meta name="viewport" content="width=device-width, initial-scale=1" />
59+
60+
<link
61+
rel="apple-touch-icon"
62+
sizes="57x57"
63+
href="favicons/apple-icon-57x57.png"
64+
/>
65+
<link
66+
rel="apple-touch-icon"
67+
sizes="60x60"
68+
href="favicons/apple-icon-60x60.png"
69+
/>
70+
<link
71+
rel="apple-touch-icon"
72+
sizes="72x72"
73+
href="favicons/apple-icon-72x72.png"
74+
/>
75+
<link
76+
rel="apple-touch-icon"
77+
sizes="76x76"
78+
href="favicons/apple-icon-76x76.png"
79+
/>
80+
<link
81+
rel="apple-touch-icon"
82+
sizes="114x114"
83+
href="favicons/apple-icon-114x114.png"
84+
/>
85+
<link
86+
rel="apple-touch-icon"
87+
sizes="120x120"
88+
href="favicons/apple-icon-120x120.png"
89+
/>
90+
<link
91+
rel="apple-touch-icon"
92+
sizes="144x144"
93+
href="favicons/apple-icon-144x144.png"
94+
/>
95+
<link
96+
rel="apple-touch-icon"
97+
sizes="152x152"
98+
href="favicons/apple-icon-152x152.png"
99+
/>
100+
<link
101+
rel="apple-touch-icon"
102+
sizes="180x180"
103+
href="favicons/apple-icon-180x180.png"
104+
/>
105+
<link
106+
rel="icon"
107+
type="image/png"
108+
sizes="192x192"
109+
href="favicons/android-icon-192x192.png"
110+
/>
111+
<link
112+
rel="icon"
113+
type="image/png"
114+
sizes="32x32"
115+
href="favicons/favicon-32x32.png"
116+
/>
117+
<link
118+
rel="icon"
119+
type="image/png"
120+
sizes="96x96"
121+
href="favicons/favicon-96x96.png"
122+
/>
123+
<link
124+
rel="icon"
125+
type="image/png"
126+
sizes="16x16"
127+
href="favicons/favicon-16x16.png"
128+
/>
129+
<link rel="manifest" href="favicons/manifest.json" />
130+
<meta name="msapplication-TileColor" content="#ffffff" />
131+
<meta
132+
name="msapplication-TileImage"
133+
content="/favicons/ms-icon-144x144.png"
134+
/>
135+
<meta name="theme-color" content="#ffffff" />
44136
</head>
45137
<body>
46138
<div id="root"></div>

config/webpack.base.config.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
const MiniCssExtractPlugin = require("mini-css-extract-plugin");
22
const HtmlWebpackPlugin = require("html-webpack-plugin");
3+
const CopyPlugin = require("copy-webpack-plugin");
34
const paths = require("./paths");
45

56
module.exports = function ({ plugins }) {
@@ -58,6 +59,9 @@ module.exports = function ({ plugins }) {
5859
filename: "[name].[hash].css",
5960
chunkFilename: "[id].[hash].css",
6061
}),
62+
new CopyPlugin({
63+
patterns: [{ from: "src/assets/favicons", to: "favicons" }],
64+
}),
6165
],
6266
resolve: {
6367
extensions: [".js", ".jsx", ".scss", ".css"],

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@
4444
"@testing-library/react": "^10.0.2",
4545
"babel-plugin-import": "^1.13.0",
4646
"clean-webpack-plugin": "^3.0.0",
47+
"copy-webpack-plugin": "^6.0.1",
4748
"css-loader": "^3.5.2",
4849
"eslint": "^6.8.0",
4950
"eslint-config-airbnb": "^18.1.0",

0 commit comments

Comments
 (0)