diff options
author | 2021-07-30 22:39:15 -0700 | |
---|---|---|
committer | 2021-07-30 22:39:15 -0700 | |
commit | 7c744961494ca80f82b3ad66c98ff0a1c0496db7 (patch) | |
tree | 6f0ed586edd85076b2660b3b00c0fbb91f470449 /docs/src/components/DocSidebar/EditOnGithub.tsx | |
parent | d0b8485ddfd8dca1376ea0d417ce37282d092cd9 (diff) | |
download | astro-7c744961494ca80f82b3ad66c98ff0a1c0496db7.tar.gz astro-7c744961494ca80f82b3ad66c98ff0a1c0496db7.tar.zst astro-7c744961494ca80f82b3ad66c98ff0a1c0496db7.zip |
Docs site cleanup (#948)
* add language selector
* docs site cleanup
* review feedback
* code review comments
Diffstat (limited to 'docs/src/components/DocSidebar/EditOnGithub.tsx')
-rw-r--r-- | docs/src/components/DocSidebar/EditOnGithub.tsx | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/docs/src/components/DocSidebar/EditOnGithub.tsx b/docs/src/components/DocSidebar/EditOnGithub.tsx deleted file mode 100644 index e6e757f5f..000000000 --- a/docs/src/components/DocSidebar/EditOnGithub.tsx +++ /dev/null @@ -1,29 +0,0 @@ -import type { FunctionalComponent } from 'preact'; -import { h } from 'preact'; - -const EditOnGithub: FunctionalComponent<{ href: string }> = ({ href }) => { - return ( - <a class="edit-on-github" href={href} target="_blank"> - <svg - aria-hidden="true" - focusable="false" - data-prefix="fas" - data-icon="pen" - class="svg-inline--fa fa-pen fa-w-16" - role="img" - xmlns="http://www.w3.org/2000/svg" - viewBox="0 0 512 512" - height="1em" - width="1em" - > - <path - fill="currentColor" - d="M290.74 93.24l128.02 128.02-277.99 277.99-114.14 12.6C11.35 513.54-1.56 500.62.14 485.34l12.7-114.22 277.9-277.88zm207.2-19.06l-60.11-60.11c-18.75-18.75-49.16-18.75-67.91 0l-56.55 56.55 128.02 128.02 56.55-56.55c18.75-18.76 18.75-49.16 0-67.91z" - ></path> - </svg> - <span>Edit this page</span> - </a> - ); -}; - -export default EditOnGithub; |