Download next.js/test/integration/amphtml/pages/amp-script.js from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 433 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/test/integration/amphtml/pages/amp-script.js
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/next.js/test/integration/amphtml/pages/amp-script.js
-
curl -L -o amp-script.js https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/test/integration/amphtml/pages/amp-script.js
433 Bytes
| import Head from 'next/head' | |
| export const config = { amp: true } | |
| const date = new Date().toJSON() | |
| export default () => ( | |
| <> | |
| <Head> | |
| <script | |
| async | |
| key="amp-timeago" | |
| custom-element="amp-timeago" | |
| src="https://cdn.ampproject.org/v0/amp-timeago-0.1.js" | |
| /> | |
| ) | |