Browse Source

fix: homepage edit url

fix/enable-imgix
Thomas Osmonson 4 years ago
committed by Thomas Osmonson
parent
commit
435cad32b9
  1. 3
      src/components/feedback.tsx

3
src/components/feedback.tsx

@ -98,6 +98,7 @@ export const FeedbackSection: React.FC<BoxProps> = props => {
const handleShow = () => { const handleShow = () => {
setShowButton(!showButton); setShowButton(!showButton);
}; };
const editPage = pathname === '/' ? '/index' : pathname;
return ( return (
<Flex <Flex
flexDirection={['column', 'column', 'row']} flexDirection={['column', 'column', 'row']}
@ -129,7 +130,7 @@ export const FeedbackSection: React.FC<BoxProps> = props => {
mt={space(['extra-loose', 'extra-loose', 'base-loose'])} mt={space(['extra-loose', 'extra-loose', 'base-loose'])}
> >
<Link <Link
href={`https://github.com/blockstack/docs.blockstack/tree/feat/next/src/pages${pathname}.md`} href={`https://github.com/blockstack/docs.blockstack/tree/feat/next/src/pages${editPage}.md`}
target="_blank" target="_blank"
rel="nofollow noopener noreferrer" rel="nofollow noopener noreferrer"
fontSize="14px" fontSize="14px"

Loading…
Cancel
Save