-
Notifications
You must be signed in to change notification settings - Fork 331
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: add powered by netlify (#724)
* chore: add powered by netlify * build: move redirects of netlify to public dir
- Loading branch information
Showing
4 changed files
with
34 additions
and
5 deletions.
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
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,30 @@ | ||
import React from 'react' | ||
import { Text, Link } from 'components' | ||
|
||
const PoweredBy: React.FC<unknown> = () => { | ||
return ( | ||
<div className="powered-by"> | ||
<Text mb={0} font="14px" type="secondary"> | ||
Geist is an open source project from the community. | ||
</Text> | ||
<Text mt={0} font="14px" type="secondary"> | ||
And is powered by{' '} | ||
<Link color target="_blank" rel="noreferrer nofollow" href="/powered-by-netlify"> | ||
Netlify | ||
</Link> | ||
. | ||
</Text> | ||
<style jsx>{` | ||
.powered-by { | ||
width: 100%; | ||
display: flex; | ||
flex-direction: column; | ||
align-items: flex-end; | ||
margin-top: 30px; | ||
} | ||
`}</style> | ||
</div> | ||
) | ||
} | ||
|
||
export default PoweredBy |
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,2 @@ | ||
/powered-by-netlify https://www.netlify.com/?utm_source=github&utm_medium=geist-ui | ||
/move-to-core https://github.com/geist-org/geist-ui/discussions/677 |