Skip to content

Commit

Permalink
Update privacy policy
Browse files Browse the repository at this point in the history
All of the policies are now being consolidated into one page
  • Loading branch information
GarboMuffin committed Jul 16, 2023
1 parent a1827b1 commit 909ffbc
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 66 deletions.
5 changes: 1 addition & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,7 @@ We use GitHub Actions and GitHub Pages to manage our deployment. If you want to

### Branding

We ask that you at least take a moment to rename the website.

- Update the brand strings (`src/packager/brand.js`) to use your own app name, links, etc.
- Update the privacy policy (`static/privacy.html`) to reflect your privacy practices.
We ask that you at least take a moment to rename the website by editting `src/packager/brand.js` with your own app name, links, etc.

### Large files

Expand Down
15 changes: 12 additions & 3 deletions src/p4/P4.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,16 @@
import News from './News.svelte';
import {progress, theme, error} from './stores';
import {isSupported, isSafari, isStandalone, version} from './environment';
import {APP_NAME, FEEDBACK_PRIMARY, FEEDBACK_SECONDARY, ACCENT_COLOR, SOURCE_CODE, WEBSITE, DONATE} from '../packager/brand';
import {
APP_NAME,
FEEDBACK_PRIMARY,
FEEDBACK_SECONDARY,
ACCENT_COLOR,
SOURCE_CODE,
WEBSITE,
DONATE,
PRIVACY_POLICY
} from '../packager/brand';
let projectData;
Expand Down Expand Up @@ -207,8 +216,8 @@

<footer>
<div>
{#if !isStandalone}
<a href="privacy.html">{$_('p4.privacy')}</a>
{#if PRIVACY_POLICY && !isStandalone}
<a href={PRIVACY_POLICY}>{$_('p4.privacy')}</a>
<span> - </span>
{/if}
<a href={FEEDBACK_PRIMARY.link}>{$_('p4.feedback')}</a>
Expand Down
4 changes: 4 additions & 0 deletions src/packager/brand.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ name is how they will be labelled in the interface and link is of course a URL
DONATE is a link that people can visit to donate.
If this is set to an empty string, the link is removed.
PRIVACY_POLICY is a link to the privacy policy.
If this is set to an empty string, the link is removed.
*/

module.exports = {
Expand Down Expand Up @@ -53,4 +56,5 @@ limitations under the License.`,
link: 'https://github.com/TurboWarp/packager/issues'
},
DONATE: 'https://github.com/sponsors/GarboMuffin',
PRIVACY_POLICY: 'https://turbowarp.org/privacy.html',
};
59 changes: 0 additions & 59 deletions static/privacy.html

This file was deleted.

0 comments on commit 909ffbc

Please sign in to comment.