File tree Expand file tree Collapse file tree 2 files changed +18
-0
lines changed Expand file tree Collapse file tree 2 files changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ import CancelButton from '../components/CancelButton'
14
14
import { useMemo } from 'react'
15
15
import { getFileName } from '../fs'
16
16
import TitleText from '../components/TitleText'
17
+ import SubtitleText from '../components/SubtitleText'
17
18
import { pluralize } from '../utils/pluralize'
18
19
import TermsAcceptance from '../components/TermsAcceptance'
19
20
import AddFilesButton from '../components/AddFilesButton'
@@ -37,6 +38,10 @@ function InitialState({
37
38
< PageWrapper >
38
39
< div className = "flex flex-col items-center space-y-1 max-w-md" >
39
40
< TitleText > Peer-to-peer file transfers in your browser.</ TitleText >
41
+ < SubtitleText >
42
+ Leave this tab open—FilePizza is peer to peer and never stores your
43
+ files.
44
+ </ SubtitleText >
40
45
</ div >
41
46
< DropZone onDrop = { onDrop } />
42
47
< TermsAcceptance />
Original file line number Diff line number Diff line change
1
+ import React , { JSX } from 'react'
2
+
3
+ export default function SubtitleText ( {
4
+ children,
5
+ } : {
6
+ children : React . ReactNode
7
+ } ) : JSX . Element {
8
+ return (
9
+ < p className = "text-sm text-center text-stone-600 dark:text-stone-400 max-w-md" >
10
+ { children }
11
+ </ p >
12
+ )
13
+ }
You can’t perform that action at this time.
0 commit comments