You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
72 lines
2.7 KiB
72 lines
2.7 KiB
include ../committee/components/post
|
|
include ../committee/components/article-summary
|
|
|
|
section.uk-section.uk-section-default
|
|
.uk-container
|
|
|
|
div(uk-grid)
|
|
|
|
div(class="uk-width-1-3 uk-visible@m uk-width-1-4@l")
|
|
ul(class="uk-visible@m").uk-nav.uk-nav-default.uk-nav-divider
|
|
li.uk-nav-header Site Navigation
|
|
li(class={ 'uk-active': (currentView === 'home')})
|
|
a(href="/")
|
|
span.nav-item-icon
|
|
i.fas.fa-home
|
|
span.uk-margin-small-left Home
|
|
li
|
|
a(href=`/user/${user._id}`)
|
|
span.nav-item-icon
|
|
i.fas.fa-user
|
|
span.uk-margin-small-left Profile
|
|
if committee
|
|
li.uk-nav-header Committee Links
|
|
li(class={ 'uk-active': (currentView === 'committee') })
|
|
a(href=`/committee/${committee.slug}`)
|
|
span.nav-item-icon
|
|
i.fas.fa-home
|
|
span.uk-margin-small-left= committee.name
|
|
a(href=`/committee/${committee.slug}/dashboard`)
|
|
span.nav-item-icon
|
|
i.fas.fa-tachometer-alt
|
|
span.uk-margin-small-left Dashboard
|
|
|
|
if voter
|
|
li.uk-nav-header Voter Links
|
|
li
|
|
a(href="/voter")
|
|
span.nav-item-icon
|
|
i.fas.fa-tachometer-alt
|
|
span.uk-margin-small-left Voter Dashboard
|
|
|
|
div(class="uk-width-1-1 uk-width-expand@m")
|
|
ul.uk-list
|
|
each feedItem in siteFeed
|
|
li
|
|
case feedItem.itemType
|
|
when 'Article'
|
|
+renderCommitteeArticleSummary(feedItem.item)
|
|
when 'Post'
|
|
+renderCommitteePost(feedItem.item)
|
|
|
|
div(class="uk-width-1-3 uk-visible@m uk-width-1-4@l")
|
|
ul.uk-list
|
|
li
|
|
.uk-card.uk-card-secondary.uk-card-body.uk-border-rounded
|
|
h3.uk-card-title Featured Candidates
|
|
p This will be a list of candidates running for office who are growing their support base in your area.
|
|
|
|
li
|
|
.uk-card.uk-card-secondary.uk-card-body.uk-border-rounded
|
|
h3.uk-card-title Committee Spotlight
|
|
p This will be a list of committees who are growing their support base in your area.
|
|
|
|
li
|
|
.uk-card.uk-card-secondary.uk-card-body.uk-border-rounded
|
|
h3.uk-card-title Recent Wins
|
|
p This will highlight posts tagged as wins
|
|
|
|
li
|
|
.uk-card.uk-card-secondary.uk-card-body.uk-border-rounded
|
|
h3.uk-card-title Recent Lessons
|
|
p This will highlight posts tagged as lessons learned. |