Skip to main content

Page Title (thats the proposal name, I didn't forget to add a title)

Proposed change

Backstory:

After a chat with our UU expert and the UX web lead the conclusion is to use
"Page title | DNB".
Examples:
Forsikring | DNB
Lån og kreditt | DNB
Finansieringsbevis | DNB
Rammelån | DNB

This should be the global guideline for all pages in the new online bank.

This proposal contains one way of implementing this in all our apps

How it looks now

// inside the gatsby-wrapper
<Head>
<title>Loans</title>
</Head>

Alternative 1

Create a shared component to handle the title


// inside the gatsby-wrapper

return (
<IntlProvider props >
<PageTitle titleTranslationKey={translationKeys.appName.key}>

// All the other stuff
</IntlProvider >
)


Motivation

This gives us one consistent way of doing the page titles. Currently we don't have a good shared solution for this. This is something that needs to be implemented in all apps anyways so making a shared solution for this makes the implementation of this in every app fast and easy.

Proposed transition strategy

This shouldn't take long to implement. Everyone takes the apps they work in and implements the change.