Skip to content
Snippets Groups Projects
dashboard.pug 1.24 KiB
// Dashboard for entrepreneur, containing the search engine
// Access to all resources
// Capabilities to request a resource
// Like and comment

header#header(role='banner')
    include ./components/header.pug

section#home

    h1 Mentorship program

    p International index of resources for cooperative mentors and entrepreneurs

    //TODO:
    //-Distinguish the search form from the listing
    //-Create two Sib-displays getting the resources by "types"
    // and grouped by steps
    // From two different endpoints I guess
    //-Work on the page architecture


    //TODO : investigate why we have to remove hidden attribute to see this even if we are on the right route.
    #entrepreneur-resource-list()
        include ./resources/list.pug

        sib-router
            sib-route(name='entrepreneur-request-create')
            sib-route(name='entrepreneur-request-validation')

        dialog#entrepreneur-request-create.no-sidebar.container
            include ./requests/create.pug

        dialog#entrepreneur-request-validation.no-sidebar.container
            p You request has been submitted
            p.flex
                sib-link(next='entrepreneur-resource-list', class='button_base') Ok

    #entrepreneur-account(hidden)
        h2 account