Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spikes/korean downloads #11594

Draft
wants to merge 32 commits into
base: latest
Choose a base branch
from
Draft

Spikes/korean downloads #11594

wants to merge 32 commits into from

Conversation

eagerterrier
Copy link
Contributor

poc

Copy link
Contributor

@amoore108 amoore108 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Couple of suggestions, but looks good 👍

@@ -62,7 +62,7 @@
"test:e2e": "yarn stop && yarn build && run-p --race start cypress",
"test:e2e:interactive": "yarn stop && yarn build && run-p --race start cypress:interactive",
"test:lint": "eslint --ext .js,jsx,json,ts,tsx ./src ./data ./cypress ./.storybook ./webpack**",
"test:lint:fix": "eslint --fix --ext .js,jsx,json,ts,tsx ./src ./data ./cypress ./.storybook ./webpack**",
"test:lint:fix": "eslint --fix --ext .js,jsx,json,ts,tsx ./src ./data ./ws-nextjs-app/pages ./cypress ./.storybook ./webpack**",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, thank you 👍

ws-nextjs-app/pages/[service]/downloads/dataFetch.ts Outdated Show resolved Hide resolved
ws-nextjs-app/pages/[service]/downloads/dataFetch.ts Outdated Show resolved Hide resolved
ws-nextjs-app/pages/[service]/downloads/types.ts Outdated Show resolved Hide resolved
Comment on lines 19 to 24
translations: {
downloads?: {
instructions = 'You can download and view today’s news.',
title = 'File Download',
},
},
Copy link
Contributor

@amoore108 amoore108 May 8, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
translations: {
downloads?: {
instructions = 'You can download and view today’s news.',
title = 'File Download',
},
},
translations: {
downloads: {
instructions = 'You can download and view today’s news.',
title = 'File Download',
} = {},
},

import styles from './styles';
import { PageProps } from './types';

const downloadsPageLayout = ({ service, pageData }: PageProps) => {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will need to be DownloadsPageLayout (capital D) to make it a valid React component.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants