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

feat: DS4CH layout with header and footer #2167

Merged
merged 16 commits into from Jan 9, 2024
Merged

Conversation

LeoniePeters
Copy link
Contributor

@LeoniePeters LeoniePeters commented Jan 2, 2024

  • Disables i18n for microsite/DS4CH.eu page
  • Adds a ds4ch layout type
  • Adds a DS4CHPageHeader component with navigation and sidebar navigation on mobile
  • Adds a DS4CHPageFooter component
  • Adds the Montserrat font
  • Adds new stylesheets for the DS4CH brand
  • Adds new components to the Europeana style guide under a separate DS4CH section
  • Moves scrollToRouteHash from default layout into a mixin, also used by ds4ch layout
  • Adds a file route.js under plugins/i18n which declares the routes that are not to be localised, including the DS4CH microsite page

Copy link

github-actions bot commented Jan 2, 2024

JIRA ticket: EC-6599

Copy link

github-actions bot commented Jan 2, 2024

Preview deployment: https://pr-2167.portal-js.dev.eanadev.org/

@@ -213,6 +213,15 @@ export default {
"left": "Left",
"right": "Right"
},
"ds4ch": {
"dataSpaceForCulturalHeritage": "Data space for cultural heritage",
"ds4chHome": "Data space for cultural heritage home page",
Copy link
Contributor

Choose a reason for hiding this comment

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

Rename this logoAlt

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done.

>
<img
:src="logoSrc"
:alt="$t('ds4chHome')"
Copy link
Contributor

Choose a reason for hiding this comment

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

There is no such key as this.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Updated to use ds4ch.logoAlt.

// TODO: add i18n head when decided page should be multilingual

return {
title: APP_SITENAME,
Copy link
Contributor

Choose a reason for hiding this comment

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

There is already text for this in the English language file, so use it.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done.

Copy link

sonarcloud bot commented Jan 8, 2024

Quality Gate Passed Quality Gate passed

The SonarCloud Quality Gate passed, but some issues were introduced.

4 New issues
0 Security Hotspots
95.7% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud

@rwd rwd merged commit f9b1d12 into master Jan 9, 2024
17 checks passed
@rwd rwd deleted the feat/EC-6599-DS4CH-layout branch January 9, 2024 08:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants