Skip to content
This repository has been archived by the owner on Jan 2, 2021. It is now read-only.

Commit

Permalink
Add site map (#103)
Browse files Browse the repository at this point in the history
* Add sitemap

* Updated
  • Loading branch information
gokulkrishh authored May 25, 2020
1 parent 9f8e786 commit ec539ff
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 26 deletions.
31 changes: 10 additions & 21 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,31 +1,26 @@
### <p align="center"><img width="150px" height="150px" src="https://raw.githubusercontent.com/code-kotis/barcode-scanner/master/app/images/touch/android-chrome-192x192.png"></p>
### <p align="center"><img width="150px" height="150px" src="https://raw.githubusercontent.com/code-kotis/qr-code-scanner/master/app/images/touch/android-chrome-192x192.png"></p>

# [QR Code Scanner](https://qrcodescan.in) ![Build](https://travis-ci.org/code-kotis/barcode-scanner.svg?branch=master)
# [QR Code Scanner](https://qrcodescan.in)

*QRCode Scanner - a simple, fast and useful progressive web application*
*QR Code Scanner - a simple, fast and useful progressive web application*

### [Live](https://qrcodescan.in)

## Features

- App Shell.

- Secure via https using [cloudflare free ssl](https://www.cloudflare.com/ssl/)

- Works offline.

- Fully Responsive.

- Add to home screen, Splash screen.

- Supported Browser - Google Chrome, Firefox, Opera **(Both Desktop & Mobile)**, Microsoft Edge (**(Insider Preview build)**) and now supports iOS as well.
- App Shell
- Offline
- Secure via https
- Responsive
- Add to home screen & Splash screen
- Supported Browser (Mobile & Desktop) - Google Chrome, Firefox, Safari, Opera, Microsoft Edge and now supports iOS as well.

## Installation

1. Clone this repo

```bash
git clone https://github.com/code-kotis/barcode-scanner
git clone https://github.com/code-kotis/qr-code-scanner
```

2. Installation
Expand All @@ -46,12 +41,6 @@
npm run build
```

5. Deploy

```bash
npm run deploy
```

### Contributions

If you find a bug, please file an issue. PR's are most welcome ;)
Expand Down
2 changes: 1 addition & 1 deletion app/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
<div class="app__layout">
<!-- Header -->
<header class="app__header">
<span class="app__header-icon" onclick="window.open('https://github.com/code-kotis/barcode-scanner', '_blank', 'toolbar=0,location=0,menubar=0');">
<span class="app__header-icon" onclick="window.open('https://github.com/code-kotis/qr-code-scanner', '_blank', 'toolbar=0,location=0,menubar=0');">
<svg fill="#FFFFFF" height="27" viewBox="0 0 24 24" width="27" xmlns="http://www.w3.org/2000/svg">
<path d="M0 0h24v24H0z" fill="none" />
<path d="M11 17h2v-6h-2v6zm1-15C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zM11 9h2V7h-2v2z" />
Expand Down
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "barcode-scanner",
"description": "a simple, fast and useful progressive web application.",
"version": "3.1.0",
"name": "qr-code-scanner",
"description": "QR Code Scanner is the fastest and most user-friendly web application.",
"version": "1.0.0",
"scripts": {
"start": "webpack-dev-server --hot --inline --open --mode=development",
"build": "cross-env NODE_ENV=production webpack-cli --mode=production --config webpack.config.js",
Expand Down Expand Up @@ -34,6 +34,7 @@
"mini-css-extract-plugin": "^0.4.4",
"optimize-css-assets-webpack-plugin": "^5.0.1",
"prettier": "^1.14.3",
"sitemap-webpack-plugin": "^0.8.0",
"style-loader": "^0.23.1",
"webpack": "^4.20.2",
"webpack-cli": "^3.1.2",
Expand Down
4 changes: 3 additions & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ const HtmlWebpackPlugin = require('html-webpack-plugin');
const ExtractTextPlugin = require('extract-text-webpack-plugin');
const CopyWebpackPlugin = require('copy-webpack-plugin');
const OptimizeCssAssetsPlugin = require('optimize-css-assets-webpack-plugin');
const SitemapPlugin = require('sitemap-webpack-plugin').default;

module.exports = {
entry: './app/js/main.js',
Expand Down Expand Up @@ -44,7 +45,8 @@ module.exports = {
}),
new CopyWebpackPlugin([{ from: 'images/', to: 'images' }, 'decoder.js', 'manifest.json', 'CNAME'], {
context: './app'
})
}),
new SitemapPlugin('https://qrcodescan.in', ['/'])
],
module: {
rules: [
Expand Down

0 comments on commit ec539ff

Please sign in to comment.