Skip to content

Commit

Permalink
update announcements
Browse files Browse the repository at this point in the history
  • Loading branch information
mehdi-torabiv committed Nov 22, 2024
1 parent 96c4401 commit afeb10a
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions src/pages/announcements/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ import {
IPlatformProps,
} from '../../utils/interfaces';
import { withRoles } from '../../utils/withRoles';
import { Link, Stack, Typography } from '@mui/material';

function Index() {
const { retrieveAnnouncements, retrievePlatformById } = useAppStore();
Expand Down Expand Up @@ -175,11 +176,24 @@ function Index() {
<div className='flex max-h-[97dvh] min-h-[97dvh] flex-col justify-between space-y-4 p-4 md:p-10'>
<div className='min-h-[calc(100vh-100px)] flex-grow overflow-auto'>
<div className='flex flex-col space-y-3 md:flex-row md:items-center md:justify-between md:space-y-0'>
<TcText text='Announcement Scheduling' variant='h5' />
<Stack spacing={1}>
<TcText text='Announcement Scheduling' variant='h5' />
<Typography variant='body2' className='text-left'>
smart announcements allow you to send targeted messages to specific user segments. {" "}
<Link
className='font-bold'
color='primary'
href='https://togethercrew.gitbook.io/onboarding/~/changes/NV24DFt4YIMi4FKjX30S/features/smart-announcements'
target='_blank'
>
Learn more
</Link>
</Typography>
</Stack>
<TcButton
text='Create Announcement'
startIcon={<BsPlus />}
variant='outlined'
variant='contained'
onClick={() =>
router.push('/announcements/create-new-announcements')
}
Expand Down

0 comments on commit afeb10a

Please sign in to comment.