generated from Code-4-Community/frontend-scaffold
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #298 from Code-4-Community/SK.CL.admin-image-appro…
…val-setup Sk.cl.admin image approval setup
- Loading branch information
Showing
6 changed files
with
76 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
import React, { useState, useEffect } from 'react'; | ||
import { MapGeoDataReducerState } from '../../components/mapComponents/ducks/types'; | ||
import { connect } from 'react-redux'; | ||
import { Helmet } from 'react-helmet'; | ||
import { | ||
Block, | ||
Flex, | ||
MapContainer, | ||
PaddedPageContainer, | ||
ReturnButton, | ||
} from '../../components/themedComponents'; | ||
import { Routes } from '../../App'; | ||
import { ArrowLeftOutlined } from '@ant-design/icons'; | ||
import PageHeader from '../../components/pageHeader'; | ||
import PageLayout from '../../components/pageLayout'; | ||
import { Typography } from 'antd'; | ||
import styled from 'styled-components'; | ||
import { useTranslation } from 'react-i18next'; | ||
import { site } from '../../constants'; | ||
import { n } from '../../utils/stringFormat'; | ||
|
||
const DashboardContent = styled.div` | ||
font-size: 20px; | ||
`; | ||
|
||
const ReviewImages: React.FC = () => { | ||
const { t } = useTranslation(n(site, ['admin']), { | ||
nsMode: 'fallback', | ||
}); | ||
return ( | ||
<> | ||
<Helmet> | ||
<title>Tree Photo Review</title> | ||
<meta | ||
name="description" | ||
content="The page for admin users add and update site information" | ||
/> | ||
</Helmet> | ||
<PageLayout> | ||
<PaddedPageContainer> | ||
<ReturnButton to={Routes.ADMIN}> | ||
<ArrowLeftOutlined /> Back to Dashboard | ||
</ReturnButton> | ||
<PageHeader pageTitle={t('review_images.review_image_title')} /> | ||
<DashboardContent> | ||
<Typography.Text> | ||
{t('review_images.review_image_description')} | ||
</Typography.Text> | ||
</DashboardContent> | ||
</PaddedPageContainer> | ||
</PageLayout> | ||
</> | ||
); | ||
}; | ||
|
||
export default ReviewImages; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.