Pied de page personnalisé

Lorsque vous utilisez le modèle d'application, vous avez la possibilité d'ajouter un pied de page personnalisé qui contiendra les liens de votre choix.

Mise en œuvre

La personnalisation du pied de page se fait via le paramètre footerSections dans la section appFooter de votre page.

defFooter.outerHTML = wet.builder.appFooter({
...
    "footerSections": [{
        "href": "#",
        "text": "Lien de pied de page du portail 1"
    }, {
        "href": "#",
        "text": "Lien de pied de page du portail 2"
    }, {
        "href": "#",
        "text": "Lien de pied de page du portail 3"
    }]
...
});
            

To modify the contact link, the terms link and the privacy link at the bottom of the page, simply add the following code snippet in the appFooter section for your page.

Contact Link

defFooter.outerHTML = wet.builder.appFooter({
...
    "contactLink": [{
        "href": "https://www.canada.ca/en/contact.html",
        "newWindow": true
    }]
...
});
            

Terms Link

defFooter.outerHTML = wet.builder.appFooter({
...
    "termsLink": [{
        "href": "https://www.canada.ca/en/transparency/terms.html",
        "newWindow": true
    }]
...
});
            

Privacy Link

defFooter.outerHTML = wet.builder.footer({
...
    "privacyLink": [{
        "href": "https://www.canada.ca/en/transparency/privacy.html",
        "newWindow": true
    }]
...
});