Repository navigation
Expand file tree
/
Copy pathPrivacy.tsx
More file actions
143 lines (135 loc) · 5.46 KB
/
Copy pathPrivacy.tsx
File metadata and controls
143 lines (135 loc) · 5.46 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
import { useId, useState } from 'react'
import { INK } from '../ghost/sprite'
import { PixelArt } from './PixelArt'
import { PixelBox } from './PixelBox'
import './Privacy.css'
/*
Privacy statements on this page, in two parts.
Always on: Akyu reads the active app's name and its window title.
That activity log is stored only on the PC.
Only when asked: Akyu reads the window in front and sends its text to a
cloud AI service to write the answer.
Also stated, as confirmed earlier by Akyu's maker: plan text goes to a cloud
AI service, and account and licence checks contact a server.
Keep this in step with the FAQ. Do not add claims that are merely likely.
The dev-mode checklist asks the owner to confirm all of it (site.privacyConfirmed).
The section is compact: the promise and the two kinds of looking in one card,
with the full detail one click away.
*/
const EXAMPLE_LOG = [
['2:02 pm', 'Writer', 'Q3 report.docx'],
['2:31 pm', 'Browser', 'Videos: ten hours of rain sounds'],
['2:33 pm', 'Writer', 'Q3 report.docx'],
] as const
const LOCK_ROWS = [
'...#####...',
'..##...##..',
'..#.....#..',
'..#.....#..',
'###########',
'#ooooooooo#',
'#oooo#oooo#',
'#oooo#oooo#',
'#ooooooooo#',
'###########',
]
const LOCK_COLORS = { '#': INK, o: '#5fe3c0' }
export function Privacy() {
const [open, setOpen] = useState(false)
const detailId = useId()
return (
<section className="section privacy" id="privacy" data-recap="Privacy">
<div className="wrap">
<div className="privacy__card">
<span className="privacy__lock" aria-hidden="true">
<PixelArt rows={LOCK_ROWS} colors={LOCK_COLORS} />
</span>
<div className="privacy__head">
<p className="privacy__kicker pixel">Privacy</p>
<h2>
<mark className="privacy__mark">Akyu reads your screen only when you ask.</mark>
</h2>
<ul className="privacy__brief">
<li>
<strong className="pixel">Always on</strong>
App name and window title only. Stored on your PC.
</li>
<li>
<strong className="pixel privacy__ask">Only when you ask</strong>
The window in front, sent to a cloud AI to write the answer.
</li>
</ul>
<button
type="button"
className="privacy__toggle"
aria-expanded={open}
aria-controls={detailId}
onClick={() => setOpen((o) => !o)}
>
{open ? 'Hide the details' : 'See exactly what it reads'}
<span className="privacy__chev" aria-hidden="true" />
</button>
</div>
</div>
<div className="privacy__grid" id={detailId} hidden={!open}>
<div className="privacy__part">
<p className="privacy__kind pixel">Always on</p>
<h3>App name and window title. Stored only on your PC.</h3>
<p>
To notice drift, Akyu reads the name of the app you have in front and the title of its window. It keeps
them in an activity log that is stored only on your PC.
</p>
<PixelBox className="privacy__pc">
<div className="privacy__pc-in">
<p className="privacy__where pixel">Stays on your PC</p>
<table className="privacy__log">
<caption className="sr-only">An example of what the activity log holds</caption>
<thead>
<tr>
<th scope="col">Time</th>
<th scope="col">App</th>
<th scope="col">Window title</th>
</tr>
</thead>
<tbody>
{EXAMPLE_LOG.map(([time, app, title]) => (
<tr key={time}>
<td className="pixel">{time}</td>
<td className="pixel">{app}</td>
<td className="pixel">{title}</td>
</tr>
))}
</tbody>
</table>
<p className="small soft">An example of the log. App name and window title: that is all it holds.</p>
</div>
</PixelBox>
</div>
<div className="privacy__part">
<p className="privacy__kind privacy__kind--ask pixel">Only when you ask</p>
<h3>The window in front, read when you ask for help.</h3>
<p>
When you ask Akyu for help, it reads the window in front and sends its text to a cloud AI service, which
writes the answer.
</p>
<div className="privacy__out">
<p className="privacy__where pixel">Leaves your PC</p>
<ul>
<li>
<strong>The window's text, when you ask.</strong> Sent to a cloud AI service to write the answer.
</li>
<li>
<strong>Your plan.</strong> What you tell Akyu about your day goes to a cloud AI service, which builds
the plan.
</li>
<li>
<strong>Account and licence checks.</strong> Akyu contacts a server to check your account and licence.
</li>
</ul>
</div>
</div>
</div>
</div>
</section>
)
}