Skip to content

[Nacara.Layout.Standard] Ability to customize the footer #180

@MangelMaxime

Description

@MangelMaxime

Allow the user to provide a FooterConfig object in order to customize the footer to its needs

type CopyrightConfig =
    {
        StartDate : string
        Suffix : string option
    }

type SiteMapSectionItem =
    {
        Text : string
        Icon : string option
        Url : string
    }

type SiteMapSection =
    {
        Title : string
        Items : SiteMapSectionItem list
    }

[<NoComparison>]
type FooterConfig =
    {
        CenterText : ReactElement option
        Copyright : CopyrightConfig option
        SiteMap : SiteMapSection list
    }

It is based on the footer created for Elmish documentations:

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions