diff --git a/docs/uppy-core.mdx b/docs/uppy-core.mdx index 110775566..e8844b84a 100644 --- a/docs/uppy-core.mdx +++ b/docs/uppy-core.mdx @@ -311,7 +311,7 @@ Metadata can also be added from a `
` element on your page, through the ::: - + #### `onBeforeFileAdded(file, files)` diff --git a/package.json b/package.json index 2c1b9361a..03dca1524 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ "clear": "docusaurus clear", "deploy": "docusaurus deploy", "dev": "docusaurus start", - "lint:js": "eslint . --cache", + "lint:js": "eslint . --cache --max-warnings=0", "lint:md": "run-s --continue-on-error remark:md remark:mdx", "lint": "run-s --continue-on-error lint:js lint:md format:check-diff", "prepare": "husky install", diff --git a/src/components/HomepageFeatures/index.tsx b/src/components/HomepageFeatures/index.tsx index b82138880..6478fd345 100644 --- a/src/components/HomepageFeatures/index.tsx +++ b/src/components/HomepageFeatures/index.tsx @@ -1,5 +1,6 @@ import React from 'react'; import clsx from 'clsx'; +import Heading from '@theme/Heading'; import styles from './styles.module.css'; type FeatureItem = { @@ -48,7 +49,7 @@ function Feature({ title, Svg, description }: FeatureItem) {
-

{title}

+ {title}

{description}

diff --git a/src/components/QuickStartLinks/QuickStartLinks.tsx b/src/components/QuickStartLinks/QuickStartLinks.tsx index 695323164..a128bb0d0 100644 --- a/src/components/QuickStartLinks/QuickStartLinks.tsx +++ b/src/components/QuickStartLinks/QuickStartLinks.tsx @@ -1,4 +1,5 @@ import React from 'react'; +import Heading from '@theme/Heading'; import Link from '@docusaurus/Link'; import styles from './styles.module.css'; @@ -18,7 +19,7 @@ export const QuickStartLinks = (props: Props) => { {props.items.map((item) => (
-

{item.name}

+ {item.name}

{item.description}

diff --git a/src/pages/examples.tsx b/src/pages/examples.tsx index 101cdcce1..bcba86b58 100644 --- a/src/pages/examples.tsx +++ b/src/pages/examples.tsx @@ -32,6 +32,7 @@ import '@uppy/webcam/dist/style.min.css'; import '@uppy/url/dist/style.min.css'; import styles from './examples.module.css'; +import Heading from '@theme/Heading'; import Link from '@docusaurus/Link'; const restrictions = { @@ -278,19 +279,19 @@ function Page() { return (
-

Examples

+ Examples
-

Dashboard

+ Dashboard

Docs •{' '} - CodeSandbox - +

@@ -303,7 +304,7 @@ function Page() { {options.map((section) => { return (

-

{section.heading}

+ {section.heading}
Checkout our{' '} - GitHub examples - {' '} + {' '} folder for many more examples.
diff --git a/src/pages/index.tsx b/src/pages/index.tsx index 83fa069a7..f2c6181c1 100644 --- a/src/pages/index.tsx +++ b/src/pages/index.tsx @@ -1,5 +1,6 @@ import React, { useState, Fragment } from 'react'; import Layout from '@theme/Layout'; +import Heading from '@theme/Heading'; import Link from '@docusaurus/Link'; import Dashboard from '@uppy/react/lib/Dashboard'; import Uppy from '@uppy/core'; @@ -154,7 +155,9 @@ export default function Home(): JSX.Element { return (
-

Sleek, modular open source JavaScript file uploader

+ + Sleek, modular open source JavaScript file uploader +

Uppy fetches files locally and from remote places like Dropbox or @@ -171,13 +174,13 @@ export default function Home(): JSX.Element {

“Top 10 tools of the year”

- Stackshare - +
@@ -186,13 +189,13 @@ export default function Home(): JSX.Element {

“The best product launches”

- Product Hunt - +
@@ -201,22 +204,22 @@ export default function Home(): JSX.Element {

“Soooo useful”

- Smashing Magazine - +
-

+ The all you need Dashboard — powerful, responsive, and pluggable. -

+

Add files from remote sources, edit images, generate thumbnails, and more. @@ -293,7 +296,9 @@ export default function Home(): JSX.Element { ))} -

Bring in the files from the cloud with Companion.

+ + Bring in the files from the cloud with Companion. +

Companion is a hosted, standalone, or middleware server to{' '} @@ -313,7 +318,7 @@ export default function Home(): JSX.Element {

-

Integrate Uppy into your existing stack.

+ Integrate Uppy into your existing stack.

Uppy can seamlessly integrate in your existing stack. Plug the pup in the framework of your choosing. @@ -352,7 +357,7 @@ export default function Home(): JSX.Element {

-

And much more

+ And much more
  • @@ -360,7 +365,8 @@ export default function Home(): JSX.Element { Large uploads survive network hiccups thanks to resumable file - uploads via the open Tus standard + uploads via the open Tus{' '} + standard
  • @@ -369,7 +375,7 @@ export default function Home(): JSX.Element { Works great with the file encoding and processing backend from{' '} - Transloadit. + Transloadit.
  • diff --git a/src/theme/BlogPostItem/Footer/index.js b/src/theme/BlogPostItem/Footer/index.js index bde0e78b9..e4537da60 100644 --- a/src/theme/BlogPostItem/Footer/index.js +++ b/src/theme/BlogPostItem/Footer/index.js @@ -3,6 +3,7 @@ import clsx from 'clsx'; import { useBlogPost } from '@docusaurus/theme-common/internal'; import EditThisPage from '@theme/EditThisPage'; import TagsListInline from '@theme/TagsListInline'; +import Link from '@docusaurus/Link'; import ReadMoreLink from '@theme/BlogPostItem/Footer/ReadMoreLink'; import styles from './styles.module.css'; @@ -32,31 +33,31 @@ export default function BlogPostItemFooter() { {isBlogPostPage && ( )} diff --git a/src/theme/Footer/index.js b/src/theme/Footer/index.js index 010ab8522..4bf0f3828 100644 --- a/src/theme/Footer/index.js +++ b/src/theme/Footer/index.js @@ -1,4 +1,5 @@ import React from 'react'; +import Link from '@docusaurus/Link'; import styles from './index.module.css'; @@ -15,23 +16,23 @@ function Footer() {

    Released under the{' '} - MIT License - {' '} - ⋅ Privacy Policy ⋅{' '} - + {' '} + ⋅ Privacy Policy ⋅{' '} + Contributing - +

    © 2023{' '} - + Transloadit - +

    );