Add netlify logo to bottom of homepage
This commit is contained in:
parent
076531d47c
commit
22b395e170
22
website/public/img/netlify-color-accent.svg
Normal file
22
website/public/img/netlify-color-accent.svg
Normal file
File diff suppressed because one or more lines are too long
After Width: | Height: | Size: 21 KiB |
22
website/public/img/netlify-color-bg.svg
Normal file
22
website/public/img/netlify-color-bg.svg
Normal file
File diff suppressed because one or more lines are too long
After Width: | Height: | Size: 21 KiB |
@ -5,6 +5,7 @@ import CardContent from '@mui/material/CardContent';
|
|||||||
import Chip from '@mui/material/Chip';
|
import Chip from '@mui/material/Chip';
|
||||||
import { styled, useTheme } from '@mui/material/styles';
|
import { styled, useTheme } from '@mui/material/styles';
|
||||||
import Typography from '@mui/material/Typography';
|
import Typography from '@mui/material/Typography';
|
||||||
|
import Image from 'next/image';
|
||||||
import Link from 'next/link';
|
import Link from 'next/link';
|
||||||
|
|
||||||
import DateDisplay from '../components/DateDisplay';
|
import DateDisplay from '../components/DateDisplay';
|
||||||
@ -407,6 +408,37 @@ const Home = ({ docsGroups }: DocsMenuProps) => {
|
|||||||
</StyledFeaturesSectionContent>
|
</StyledFeaturesSectionContent>
|
||||||
</Container>
|
</Container>
|
||||||
</StyledFeaturesSection>
|
</StyledFeaturesSection>
|
||||||
|
<footer>
|
||||||
|
{theme.palette.mode === 'light' ? (
|
||||||
|
<a
|
||||||
|
key="netlify-logo-light"
|
||||||
|
href="https://www.netlify.com"
|
||||||
|
target="_blank"
|
||||||
|
rel="noreferrer"
|
||||||
|
>
|
||||||
|
<Image
|
||||||
|
width={114}
|
||||||
|
height={51}
|
||||||
|
src="/img/netlify-color-bg.svg"
|
||||||
|
alt="Deploys by Netlify"
|
||||||
|
/>
|
||||||
|
</a>
|
||||||
|
) : (
|
||||||
|
<a
|
||||||
|
key="netlify-logo-dark"
|
||||||
|
href="https://www.netlify.com"
|
||||||
|
target="_blank"
|
||||||
|
rel="noreferrer"
|
||||||
|
>
|
||||||
|
<Image
|
||||||
|
width={114}
|
||||||
|
height={51}
|
||||||
|
src="/img/netlify-color-accent.svg"
|
||||||
|
alt="Deploys by Netlify"
|
||||||
|
/>
|
||||||
|
</a>
|
||||||
|
)}
|
||||||
|
</footer>
|
||||||
</StyledHomagePageContent>
|
</StyledHomagePageContent>
|
||||||
</Page>
|
</Page>
|
||||||
);
|
);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user