fix(create): update broken SVG paths in templates (#6762)

* fix: Update broken URL in typescript template example

* fix SVG images; improve a11y

* format

Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
This commit is contained in:
Alex Nicholls 2022-02-26 15:44:50 -08:00 committed by GitHub
parent 670f2e5268
commit 68a55f0d11
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 52 additions and 11 deletions

View file

@ -11,7 +11,7 @@ type FeatureItem = {
const FeatureList: FeatureItem[] = [
{
title: 'Easy to Use',
image: require('@site/src/static/img/undraw_docusaurus_mountain.svg'),
image: require('@site/static/img/undraw_docusaurus_mountain.svg'),
description: (
<>
Docusaurus was designed from the ground up to be easily installed and
@ -21,7 +21,7 @@ const FeatureList: FeatureItem[] = [
},
{
title: 'Focus on What Matters',
image: require('@site/src/static/img/undraw_docusaurus_tree.svg'),
image: require('@site/static/img/undraw_docusaurus_tree.svg'),
description: (
<>
Docusaurus lets you focus on your docs, and we&apos;ll do the chores. Go
@ -31,7 +31,7 @@ const FeatureList: FeatureItem[] = [
},
{
title: 'Powered by React',
image: require('@site/src/static/img/undraw_docusaurus_react.svg'),
image: require('@site/static/img/undraw_docusaurus_react.svg'),
description: (
<>
Extend or customize your website layout by reusing React. Docusaurus can