2018-10-25 02:07:10 +00:00
|
|
|
|
const html = require('choo/html');
|
2019-01-29 21:08:54 +00:00
|
|
|
|
const modal = require('./modal');
|
2018-10-25 02:07:10 +00:00
|
|
|
|
|
2019-01-29 21:08:54 +00:00
|
|
|
|
module.exports = function(state, emit) {
|
2018-10-25 02:07:10 +00:00
|
|
|
|
return html`
|
2019-02-22 21:31:54 +00:00
|
|
|
|
<main class="main">
|
2019-01-29 21:08:54 +00:00
|
|
|
|
${state.modal && modal(state, emit)}
|
2018-11-16 20:39:36 +00:00
|
|
|
|
<div
|
2019-03-04 22:13:18 +00:00
|
|
|
|
class="flex flex-col items-center bg-white m-4 px-6 py-8 border border-grey-light md:border-none md:px-12 md:py-16 shadow w-full md:h-full"
|
2018-11-16 20:39:36 +00:00
|
|
|
|
>
|
2019-03-04 22:13:18 +00:00
|
|
|
|
<h1 class="text-center">${state.translate('legalTitle')}</h1>
|
|
|
|
|
<p class="mt-2">${state.translate('legalDateStamp')}</p>
|
2019-03-07 13:43:45 +00:00
|
|
|
|
<div class="overflow-scroll py-8 px-12">
|
|
|
|
|
<p class="leading-normal">
|
2019-03-07 23:16:45 +00:00
|
|
|
|
<span
|
2019-03-12 14:47:57 +00:00
|
|
|
|
>Send is a service from Mozilla that allows you to send electronic
|
|
|
|
|
files through a safe, private, and encrypted link that
|
|
|
|
|
automatically expires to ensure your stuff does not remain online
|
|
|
|
|
forever. Send is also subject to our</span
|
|
|
|
|
><a
|
|
|
|
|
href="https://www.mozilla.org/privacy/websites"
|
2019-03-07 13:43:45 +00:00
|
|
|
|
target="__blank"
|
|
|
|
|
rel="noopener noreferrer"
|
2019-03-07 23:16:45 +00:00
|
|
|
|
class="text-blue-dark hover:underline"
|
2019-03-12 14:47:57 +00:00
|
|
|
|
> Websites Privacy Policy</a
|
|
|
|
|
><span
|
|
|
|
|
>. When you visit the Send website, information such as your IP
|
|
|
|
|
address is temporarily retained as part of a standard server
|
|
|
|
|
log.</span
|
|
|
|
|
>
|
2019-03-07 13:43:45 +00:00
|
|
|
|
</p>
|
2019-03-12 14:47:57 +00:00
|
|
|
|
<br>
|
|
|
|
|
<p>
|
|
|
|
|
Here are the other key things you should know about what is
|
|
|
|
|
happening when you use Send:
|
2019-03-07 13:43:45 +00:00
|
|
|
|
<ul class="mt-6 leading-normal">
|
2019-03-04 22:13:18 +00:00
|
|
|
|
<li class="mb-4">
|
2019-03-12 14:47:57 +00:00
|
|
|
|
Mozilla receives an encrypted copy of the file you upload, and
|
|
|
|
|
basic information about the file, such as filename, file hash, and
|
|
|
|
|
file size. Mozilla does not have the ability to access the content
|
|
|
|
|
of your encrypted file, and only keeps it for the time or number
|
|
|
|
|
of downloads indicated.
|
2019-03-04 22:13:18 +00:00
|
|
|
|
</li>
|
|
|
|
|
<li class="mb-4">
|
2019-03-12 14:47:57 +00:00
|
|
|
|
To allow you to see the status of your previously uploaded files,
|
|
|
|
|
or delete them, basic information about your uploaded files are
|
|
|
|
|
stored on your local device, such as Send’s identifier for the
|
|
|
|
|
file, the filename, and the file’s unique download link. This is
|
|
|
|
|
cleared if you delete your uploaded file or upon visiting Send
|
|
|
|
|
after the file expires.
|
2019-03-04 22:13:18 +00:00
|
|
|
|
</li>
|
|
|
|
|
<li class="mb-4">
|
2019-03-12 14:47:57 +00:00
|
|
|
|
Anyone you provide with the unique link (including the encryption
|
|
|
|
|
key) to your encrypted file will be able to download and access
|
|
|
|
|
that file. You should not provide the link to anyone you do not
|
|
|
|
|
want to have access to your encrypted file.
|
2019-03-04 22:13:18 +00:00
|
|
|
|
</li>
|
|
|
|
|
<li class="mb-4">
|
2019-03-12 14:47:57 +00:00
|
|
|
|
Send will also collect information about the performance and your
|
|
|
|
|
use of the service, such as how often you upload files, how long
|
|
|
|
|
your files remain with Mozilla before they expire, any errors
|
|
|
|
|
related to file transfers, and what cryptographic protocols your
|
|
|
|
|
browser supports.
|
2019-03-04 22:13:18 +00:00
|
|
|
|
</li>
|
|
|
|
|
<li class="mb-4">
|
2019-03-12 14:47:57 +00:00
|
|
|
|
You can learn more about the data Send collects<a
|
|
|
|
|
href="https://github.com/mozilla/send/blob/master/docs/metrics.md"
|
|
|
|
|
target="__blank"
|
|
|
|
|
rel="noopener noreferrer"
|
|
|
|
|
class="text-blue-dark hover:underline"
|
|
|
|
|
> here</a
|
|
|
|
|
>.
|
2019-03-04 22:13:18 +00:00
|
|
|
|
</li>
|
|
|
|
|
</ul>
|
2019-03-12 14:47:57 +00:00
|
|
|
|
</p>
|
2019-03-04 22:13:18 +00:00
|
|
|
|
</div>
|
2018-11-16 20:39:36 +00:00
|
|
|
|
</div>
|
|
|
|
|
</main>
|
|
|
|
|
`;
|
2018-10-25 02:07:10 +00:00
|
|
|
|
};
|