main: added public pages section to Home page.

This commit is contained in:
Gary 2024-01-09 16:52:27 -08:00
parent fec3f4a535
commit 4baff5dcf4
2 changed files with 20 additions and 24 deletions

View File

@ -11,7 +11,7 @@ RemnantChat is a free (as in both price and freedom) communication tool. It is f
- Ephemeral
- Message content is never persisted to disk on either the client or server
- Decentralized
- There is no API server. All that's required for RemnantChat to function is availability of GitHub for static assets, and public WebTorrent and STUN/TURN relay servers for establishing peer-to-peer communication.
- There is no API server. All that's required for RemnantChat to function is availability of static assets on the server, and public WebTorrent and STUN/TURN relay servers for establishing peer-to-peer communication.
- Embeddable
- [Self-hostable](#self-hosting)
@ -89,6 +89,9 @@ The core of RemnantChat's security model is the fact that it is fully open sourc
- Add room moderation
- Chat history persistence settings
- Direct Messaging
- Emoticons on desktop (also ability to react to messages)
- Respond to messages
## Environments

View File

@ -109,7 +109,7 @@ export function Home({ userId }: HomeProps) {
}}
disabled={!isRoomNameValid}
>
Join public room
Create public room
</Button>
<Button
variant="contained"
@ -120,7 +120,7 @@ export function Home({ userId }: HomeProps) {
}}
disabled={!isRoomNameValid}
>
Join private room
Create private room
</Button>
<Button
variant="contained"
@ -140,46 +140,39 @@ export function Home({ userId }: HomeProps) {
<Divider sx={{ my: 2 }} />
<Box className="max-w-3xl text-center mx-auto px-4">
<Typography variant="body1">
This is a free communication tool that is designed for simplicity,
privacy, and security. All interaction between you and your online
peers is encrypted. There is no record of your conversation once you
all leave.
The secure communication tool that is designed for simplicity,
privacy. All interaction between you and your online peers is
encrypted. Conversation records are dumped once everyone leaves.
</Typography>
<Box className="max-w-3xl text-center mx-auto my-4 px-4">
{' '}
<Typography variant="body1">Romans 11:5</Typography>
</Box>
</Box>
<Box
sx={{
mx: 'auto',
display: 'flex',
flexDirection: 'column',
alignItems: 'center',
}}
>
<Divider sx={{ my: 2 }} />
<Box className="max-w-3xl text-center mx-auto my-4 px-4">
<Typography variant="body1">Official Public Rooms to Join:</Typography>
<MuiLink
href="https://githaven.org/shiloh/remnantchat"
href="/public/general"
target="_blank"
sx={theme => ({
color: theme.palette.text.primary,
})}
>
<IconButton
size="large"
edge="start"
color="inherit"
aria-label="Open menu"
></IconButton>
<Typography variant="body1">&#x2022; General Chat</Typography>
</MuiLink>
</Box>
<Typography variant="body1" sx={{ textAlign: 'center' }}>
Licensed under{' '}
<MuiLink
href="https://githaven.org/shiloh/remnantchat/LICENSE"
href="https://githaven.org/Shiloh/remnantchat/src/branch/main/LICENSE"
target="_blank"
>
GPL v2
</MuiLink>
. Please{' '}
<MuiLink
href="https://githaven.org/shiloh/remnantchat/README.md"
href="https://githaven.org/Shiloh/remnantchat/src/branch/main/README.md"
target="_blank"
>
read the docs