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 - Ephemeral
- Message content is never persisted to disk on either the client or server - Message content is never persisted to disk on either the client or server
- Decentralized - 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 - Embeddable
- [Self-hostable](#self-hosting) - [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 - Add room moderation
- Chat history persistence settings - Chat history persistence settings
- Direct Messaging
- Emoticons on desktop (also ability to react to messages)
- Respond to messages
## Environments ## Environments

View File

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