diff --git a/src/components/Feedback.astro b/src/components/Feedback.astro deleted file mode 100644 index 9b8c17d0d8..0000000000 --- a/src/components/Feedback.astro +++ /dev/null @@ -1,26 +0,0 @@ ---- -import { accelerator } from '@lib/accelerator'; -import type { Frontmatter } from 'astro-accelerator-utils/types/Frontmatter'; -import { SITE } from '@config'; - -const stats = new accelerator.statistics('components/Feedback.astro'); -stats.start(); - -// Properties -type Props = { - lang: string; - frontmatter: Frontmatter; - headings: { depth: number; slug: string; text: string }[]; -}; -const { lang, frontmatter, headings } = Astro.props satisfies Props; - -// Logic -const heading = await accelerator.markdown.getTextFrom(frontmatter.title); -const formUrl = `https://docs.google.com/forms/d/e/1FAIpQLSehVdN2w6tgSvp5QX7lHGnHDmgKi2Yfvko7bM2izgWQaqg-Wg/viewform?usp=pp_url&entry.336432709=${encodeURIComponent(heading)}`; - -stats.stop(); ---- - -

Help us continuously improve

-

Please let us know if you have any feedback about this page.

-

Send feedback

diff --git a/src/layouts/Default.astro b/src/layouts/Default.astro index e574e748c4..493b57c0bf 100644 --- a/src/layouts/Default.astro +++ b/src/layouts/Default.astro @@ -19,7 +19,6 @@ import ArticleNav from '../components/ArticleNav.astro'; import Header from '../components/Header.astro'; import Related from '../components/Related.astro'; import ArticleJourney from '../components/ArticleJourney.astro'; -import Feedback from '../components/Feedback.astro'; import EditOnGithub from '../components/EditOnGithub.astro'; import LastUpdated from '../components/LastUpdated.astro'; import CopyMarkdown from '../components/CopyMarkdown.astro'; @@ -90,11 +89,6 @@ const showSearch = !isSearchPage;
-