Skip to content

Commit

Permalink
re-org the images in proper directories
Browse files Browse the repository at this point in the history
  • Loading branch information
nisrulz committed Apr 7, 2021
1 parent 9a4445d commit 4736f42
Show file tree
Hide file tree
Showing 49 changed files with 46 additions and 137 deletions.
4 changes: 2 additions & 2 deletions dev-doc.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,14 @@ The format is very simple and you only need to provide the below fields:
- name: Google Play Services
model: gps
gps: false
logo: images/gps.png
logo: images/third_party_logos/gps.png
link:
privacy: https://www.google.com/policies/privacy/
terms: https://policies.google.com/terms
```
> Note: The value of model is the same as the the field below it. i.e `model: gps` and `gps: false`. This is required by the code. Make sure this is maintained.

Additionally, you also will have to drop the logo image into the [`public/images/`](public/images/) folder. Make sure the logo is **160 × 160** in size.
Additionally, you also will have to drop the logo image into the [`public/images/third_party_logos/`](public/images/third_party_logos/) folder. Make sure the logo is **160 × 160** in size.

# Deployment

Expand Down
2 changes: 1 addition & 1 deletion public/404.html
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
<body class="bg-pattern">
<div id="page-404">
<div>
<img src="images/404.svg" style="height:35%;" class="center-block" />
<img src="images/app_graphics/404.svg" style="height:35%;" class="center-block" />
<h1>Page Not Found</h1>
<p>Sorry, but the page you were trying to view was taken away by pirates</p>
<br/>
Expand Down
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
15 changes: 0 additions & 15 deletions public/images/github.svg

This file was deleted.

13 changes: 0 additions & 13 deletions public/images/github_black.svg

This file was deleted.

Binary file removed public/images/heart.png
Binary file not shown.
43 changes: 0 additions & 43 deletions public/images/linkedin.svg

This file was deleted.

20 changes: 0 additions & 20 deletions public/images/medium.svg

This file was deleted.

File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
12 changes: 6 additions & 6 deletions public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ <h1>App <em>Privacy Policy</em> Generator</h1></a>
<h4 class="subtitle">
Generate a generic Privacy Policy and Terms &amp; Conditions
for your apps
<p>Built with <img class="heart-logo" src="images/heart.svg" alt="heart">&nbsp;by <a href="http://www.nisrulz.com/" target="_blank" rel="noopener noreferrer">Nishant </a><a href="https://github.com/nisrulz/app-privacy-policy-generator/graphs/contributors" target="_blank" rel="noopener noreferrer">and contributors. </a></p>
<p><a href="https://twitter.com/intent/tweet?text=App%20Privacy%20Policy%20Generator%3A%20A%20simple%20web%20app%20to%20generate%20a%20generic%20privacy%20policy%20for%20your%20Android%2FiOS%20apps%F0%9F%98%8E&amp;url=https://github.com/nisrulz/app-privacy-policy-generator&amp;via=nisrulz&amp;hashtags=Privacy" target="_blank" rel="noopener noreferrer"><img class="social-logo" src="images/twitter.svg" alt="Twitter"></a><a @click="toggleDisclaimerModalVisibility" rel="noopener noreferrer"><img class="social-logo" src="images/disclaimer.svg" alt="Disclaimer"></a><a href="https://github.com/nisrulz/app-privacy-policy-generator" target="_blank" rel="noopener noreferrer"><img alt="GitHub stars" src="https://img.shields.io/github/stars/nisrulz/app-privacy-policy-generator?style=social"></a></p>
<p>Built with <img class="heart-logo" src="images/app_icons/heart.svg" alt="heart">&nbsp;by <a href="http://www.nisrulz.com/" target="_blank" rel="noopener noreferrer">Nishant </a><a href="https://github.com/nisrulz/app-privacy-policy-generator/graphs/contributors" target="_blank" rel="noopener noreferrer">and contributors. </a></p>
<p><a href="https://twitter.com/intent/tweet?text=App%20Privacy%20Policy%20Generator%3A%20A%20simple%20web%20app%20to%20generate%20a%20generic%20privacy%20policy%20for%20your%20Android%2FiOS%20apps%F0%9F%98%8E&amp;url=https://github.com/nisrulz/app-privacy-policy-generator&amp;via=nisrulz&amp;hashtags=Privacy" target="_blank" rel="noopener noreferrer"><img class="social-logo" src="images/social_icons/twitter.svg" alt="Twitter"></a><a @click="toggleDisclaimerModalVisibility" rel="noopener noreferrer"><img class="social-logo" src="images/app_icons/disclaimer.svg" alt="Disclaimer"></a><a href="https://github.com/nisrulz/app-privacy-policy-generator" target="_blank" rel="noopener noreferrer"><img alt="GitHub stars" src="https://img.shields.io/github/stars/nisrulz/app-privacy-policy-generator?style=social"></a></p>
</h4>
</div>
</div>
Expand All @@ -73,7 +73,7 @@ <h4 class="subtitle">
</section>
<section class="section" id="step-1" v-if="wizardStep==1">
<div class="columns">
<div class="column is-6 is-information"><img class="center-block sidebar-img" src="images/step_1.svg"><img class="center-block nav-btn" src="images/next.png" @click="nextStep()"></div>
<div class="column is-6 is-information"><img class="center-block sidebar-img" src="images/app_graphics/step_1.svg"><img class="center-block nav-btn" src="images/app_icons/next.png" @click="nextStep()"></div>
<div class="column box scrollable">
<div class="control is-expanded">
<p class="help form-label">App Name</p>
Expand Down Expand Up @@ -147,8 +147,8 @@ <h4 class="subtitle">
</section>
<section class="section" id="step-2" v-if="wizardStep==2">
<div class="columns">
<div class="column is-6 is-information"><img class="center-block sidebar-img" src="images/step_2.svg">
<div class="center-parent"><img class="child nav-btn" src="images/prev.png" @click="prevStep()"><img class="child nav-btn" src="images/next.png" @click="nextStep()"></div>
<div class="column is-6 is-information"><img class="center-block sidebar-img" src="images/app_graphics/step_2.svg">
<div class="center-parent"><img class="child nav-btn" src="images/app_icons/prev.png" @click="prevStep()"><img class="child nav-btn" src="images/app_icons/next.png" @click="nextStep()"></div>
</div>
<div class="column box scrollable"><b>Include links to Third Party Services</b><a v-for="item in thirdPartyServices" rel="noopener noreferrer"><br>
<input type="checkbox" :id="'list-switch-' + item.model" v-model="item[item.model]">
Expand All @@ -157,7 +157,7 @@ <h4 class="subtitle">
</section>
<section class="section" id="step-3" v-if="wizardStep==3">
<div class="columns">
<div class="column is-6 is-information"><img class="center-block sidebar-img" src="images/step_3.svg"><img class="center-block nav-btn" src="images/prev.png" @click="prevStep()"></div>
<div class="column is-6 is-information"><img class="center-block sidebar-img" src="images/app_graphics/step_3.svg"><img class="center-block nav-btn" src="images/app_icons/prev.png" @click="prevStep()"></div>
<div class="column">
<div class="box">
<ol>If you appreciate my work &amp; want to support the project:
Expand Down
6 changes: 3 additions & 3 deletions src/includes/content/hero.pug
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@ section.hero.is-primary
| for your apps
p
| Built with
img.heart-logo(src='images/heart.svg' alt='heart')
img.heart-logo(src='images/app_icons/heart.svg' alt='heart')
| &nbsp;by
a(href='http://www.nisrulz.com/' target='_blank' rel='noopener noreferrer') Nishant
a(href='https://github.com/nisrulz/app-privacy-policy-generator/graphs/contributors' target='_blank' rel='noopener noreferrer') and contributors.
p
a(href='https://twitter.com/intent/tweet?text=App%20Privacy%20Policy%20Generator%3A%20A%20simple%20web%20app%20to%20generate%20a%20generic%20privacy%20policy%20for%20your%20Android%2FiOS%20apps%F0%9F%98%8E&url=https://github.com/nisrulz/app-privacy-policy-generator&via=nisrulz&hashtags=Privacy' target='_blank' rel='noopener noreferrer')
img.social-logo(src='images/twitter.svg' alt='Twitter')
img.social-logo(src='images/social_icons/twitter.svg' alt='Twitter')
a(@click='toggleDisclaimerModalVisibility' rel='noopener noreferrer')
img.social-logo(src='images/disclaimer.svg' alt='Disclaimer')
img.social-logo(src='images/app_icons/disclaimer.svg' alt='Disclaimer')
a(href='https://github.com/nisrulz/app-privacy-policy-generator' target='_blank' rel='noopener noreferrer')
img(alt='GitHub stars' src='https://img.shields.io/github/stars/nisrulz/app-privacy-policy-generator?style=social')
4 changes: 2 additions & 2 deletions src/includes/content/wizard/step1.pug
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.columns
.column.is-6.is-information
img.center-block.sidebar-img(src='images/step_1.svg')
img.center-block.nav-btn(src='images/next.png' @click='nextStep()')
img.center-block.sidebar-img(src='images/app_graphics/step_1.svg')
img.center-block.nav-btn(src='images/app_icons/next.png' @click='nextStep()')
.column.box.scrollable
.control.is-expanded
p.help.form-label App Name
Expand Down
6 changes: 3 additions & 3 deletions src/includes/content/wizard/step2.pug
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
.columns
.column.is-6.is-information
img.center-block.sidebar-img(src='images/step_2.svg')
img.center-block.sidebar-img(src='images/app_graphics/step_2.svg')
.center-parent
img.child.nav-btn(src='images/prev.png' @click='prevStep()')
img.child.nav-btn(src='images/next.png' @click='nextStep()')
img.child.nav-btn(src='images/app_icons/prev.png' @click='prevStep()')
img.child.nav-btn(src='images/app_icons/next.png' @click='nextStep()')
.column.box.scrollable
b
| Include links to Third Party Services
Expand Down
4 changes: 2 additions & 2 deletions src/includes/content/wizard/step3.pug
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.columns
.column.is-6.is-information
img.center-block.sidebar-img(src='images/step_3.svg')
img.center-block.nav-btn(src='images/prev.png' @click='prevStep()')
img.center-block.sidebar-img(src='images/app_graphics/step_3.svg')
img.center-block.nav-btn(src='images/app_icons/prev.png' @click='prevStep()')
.column
.box
ol If you appreciate my work &amp; want to support the project:
Expand Down
Loading

0 comments on commit 4736f42

Please sign in to comment.