-
-
Notifications
You must be signed in to change notification settings - Fork 386
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* compress images * updated gitignore * restructure web app in steps to handle more type of privacy policies * update scripts, js, sass and github actions * cleanup, compress and update images * restructure web app * update docs * added kofi button to step 1 * Fixes issue #161 * remove comment * mix a mistake in title
- Loading branch information
Showing
105 changed files
with
1,279 additions
and
1,960 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,3 +3,4 @@ | |
*.cache | ||
node_modules/ | ||
dist/ | ||
.DS_Store |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
#!/usr/bin/env bash | ||
|
||
# App Privacy Policy Generator: A simple web app to generate a generic | ||
# privacy policy for your Android/iOS apps | ||
# | ||
# Copyright 2017-Present Nishant Srivastava | ||
# | ||
# This program is free software: you can redistribute it and/or modify | ||
# it under the terms of the GNU General Public License as published by | ||
# the Free Software Foundation, either version 3 of the License, or | ||
# (at your option) any later version. | ||
# | ||
# This program is distributed in the hope that it will be useful, | ||
# but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
# GNU General Public License for more details. | ||
# | ||
# You should have received a copy of the GNU General Public License | ||
# along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
|
||
echo "Navigate to Images directory" | ||
cd public/images | ||
|
||
#--------------------------------- Compress SVG files ---------------------------------# | ||
svgo -f app_graphics temp | ||
mv temp/*.svg app_graphics | ||
|
||
svgo -f app_icons temp | ||
mv temp/*.svg app_icons | ||
|
||
svgo -f social_icons temp | ||
mv temp/*.svg social_icons | ||
|
||
# Delete Temp directory | ||
rm -rf temp | ||
|
||
#--------------------------------- Compress PNG files ---------------------------------# | ||
npx png-minify minify third_party_logos/*.png | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,57 +1,27 @@ | ||
<html> | ||
|
||
<head> | ||
<meta charset="utf-8"> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | ||
<meta name="description" content="A simple web app to generate a generic privacy policy for your Android/iOS apps"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0"> | ||
<meta name='copyright' content='Nishant Srivastava'> | ||
<meta name='author' content='Nishant Srivastava, nisrulz@gmail.com'> | ||
|
||
<title>App Privacy Policy Generator</title> | ||
|
||
<!-- Add to homescreen for Chrome on Android --> | ||
<meta name="mobile-web-app-capable" content="yes"> | ||
|
||
<!-- Add to homescreen for Safari on iOS --> | ||
<meta name="apple-mobile-web-app-capable" content="yes"> | ||
<meta name="apple-mobile-web-app-status-bar-style" content="black"> | ||
<meta name="apple-mobile-web-app-title" content="App Privacy Policy Generator"> | ||
|
||
<!-- Tile icon for Win8 (144x144 + tile color) --> | ||
<meta name="msapplication-TileColor" content="#3372DF"> | ||
|
||
<link rel="shortcut icon" href="images/favicon.ico"> | ||
|
||
<link rel="stylesheet prefetch" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/5.0.0/normalize.min.css"> | ||
<link rel='stylesheet prefetch' href='https://cdnjs.cloudflare.com/ajax/libs/bulma/0.7.1/css/bulma.css'> | ||
<link rel='stylesheet prefetch' href='https://cdnjs.cloudflare.com/ajax/libs/prism/1.14.0/themes/prism.min.css'> | ||
<link rel="stylesheet" href="css/style.css"> | ||
|
||
<!-- Global site tag (gtag.js) - Google Analytics --> | ||
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-53824796-8"></script> | ||
<script> | ||
window.dataLayer = window.dataLayer || []; | ||
|
||
function gtag() { | ||
dataLayer.push(arguments); | ||
} | ||
gtag('js', new Date()); | ||
|
||
gtag('config', 'UA-53824796-8'); | ||
</script> | ||
</head> | ||
|
||
<body class="bg-pattern"> | ||
<div id="page-404"> | ||
<div> | ||
<img src="images/app_graphics/404.svg" style="height:35%;" class="center-block" /> | ||
<h1>Page Not Found</h1> | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<title>App Privacy Policy Generator</title> | ||
<meta charset="utf-8"> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | ||
<meta name="description" content="A simple web app to generate a generic privacy policy for your Android/iOS apps"> | ||
<meta name="viewport" content="width=device-width,initial-scale=1"> | ||
<meta name="copyright" content="Nishant Srivastava"> | ||
<meta name="author" content="Nishant Srivastava, nisrulz@gmail.com"> | ||
<meta name="mobile-web-app-capable" content="yes"> | ||
<meta name="apple-mobile-web-app-capable" content="yes"> | ||
<link rel="apple-touch-icon" sizes="180x180" href="apple-touch-icon.png"> | ||
<link rel="icon" type="image/png" sizes="32x32" href="favicon-32x32.png"> | ||
<link rel="icon" type="image/png" sizes="16x16" href="favicon-16x16.png"> | ||
<link rel="manifest" href="site.webmanifest"> | ||
</head> | ||
<body class="bg-pattern"> | ||
<div class="container m-6" id="app" style="text-align: center;"> | ||
<img src="images/app_graphics/404.svg" style="height:60vh;" class="center-block" /> | ||
<h1 style="font-size: 4em;">Page Not Found</h1> | ||
<p>Sorry, but the page you were trying to view was taken away by pirates</p> | ||
<br/> | ||
<a href="/">Click here to go back to home</a> | ||
<a href="https://app-privacy-policy-generator.nisrulz.com/">Click here to go back to home</a> | ||
</div> | ||
</div> | ||
</body> | ||
|
||
</body> | ||
</html> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.