Pārlūkot izejas kodu

Website: fix privacy policy layout

Artur Paikin 5 gadi atpakaļ
vecāks
revīzija
40570c22df

+ 1 - 1
website/inject.js

@@ -143,7 +143,7 @@ async function injectGhStars () {
     opts.auth = process.env.GITHUB_TOKEN
     opts.auth = process.env.GITHUB_TOKEN
   }
   }
 
 
-  const Octokit = require('@octokit/rest')
+  const { Octokit } = require('@octokit/rest')
   const octokit = new Octokit(opts)
   const octokit = new Octokit(opts)
 
 
   const { headers, data } = await octokit.repos.get({
   const { headers, data } = await octokit.repos.get({

+ 6 - 5
website/src/privacy.md

@@ -3,6 +3,7 @@ title: "Privacy Policy"
 type: page
 type: page
 layout: page
 layout: page
 permalink: /privacy-policy/
 permalink: /privacy-policy/
+body_class: "page-privacy"
 ---
 ---
 
 
 Uppy is an open source file uploader, developed by the team at [Transloadit Ltd.](https://transloadit.com) and [open source contributors on GitHub](https://github.com/transloadit/uppy/graphs/contributors).
 Uppy is an open source file uploader, developed by the team at [Transloadit Ltd.](https://transloadit.com) and [open source contributors on GitHub](https://github.com/transloadit/uppy/graphs/contributors).
@@ -33,11 +34,11 @@ Since we do not store data on data subjects, migration or deletion tools are not
 We use the following third-party services which also store data about you:
 We use the following third-party services which also store data about you:
 
 
 | supplier              | subject                 | data                                     | encryption    | anonymized  | discarded  |
 | supplier              | subject                 | data                                     | encryption    | anonymized  | discarded  |
-| :-------------------- | :---------------------- | :--------------------------------------- | :-----------: | :---------: | :--------: | :-------: |
-| Transloadit           | end user (data subject) | browser identifiers                      |               |             | instantly  |           |
-| Transloadit           | end user (data subject) | test files                      |               |             | in 24h  |           |
-| Tus.io               | end user (data subject) | test files                      |               |             | in 72h  |           |
-| Google Analytics      | customer (business)     | browser identifiers                      |               | ✅                      |           |
+| :---------------------| :---------------------- | :--------------------------------------- | :-----------: | :---------: | :--------: |
+| Transloadit           | end user (data subject) | browser identifiers                      |               |             | instantly  |
+| Transloadit           | end user (data subject) | test files                               |               |             | in 24h     |
+| Tus.io                | end user (data subject) | test files                               |               |             | in 72h     |
+| Google Analytics      | customer (business)     | browser identifiers                      |               | ✅          |            |
 
 
 - **anonymized**: Any data that can be used to identify the 'data subject' is scrubbed
 - **anonymized**: Any data that can be used to identify the 'data subject' is scrubbed
 - **discarded**: Data is destroyed
 - **discarded**: Data is destroyed

+ 6 - 0
website/themes/uppy/source/css/_page.scss

@@ -383,6 +383,12 @@
   font-size: 90%;
   font-size: 90%;
 }
 }
 
 
+// Privacy policy table overrides
+
+.page-privacy table td {
+  padding: 8px 0;
+}
+
 // Plugin list
 // Plugin list
 
 
 body.page-plugin-list .Content ul {
 body.page-plugin-list .Content ul {