master
rob 3 years ago
parent a934c018d0
commit a8d2955256

@ -1,13 +0,0 @@
section.uk-section.uk-section-default
.uk-container
h1(class="uk-text-center uk-text-left@m") #[small Welcome to]#[br]#[+renderSiteLink()]
p Please create a #[a(href='/voter/signup') Voter Profile] to start supporting committees and candidates. As you do, this home page will become your Voter Dashboard with all the latest updates from the committees and candidates you are supporting.
div(class="uk-flex uk-flex-center uk-flex-left@m")
.uk-width-auto
a(href="/voter/signup").uk-button.uk-button-primary
span
i.fas.fa-user
span.uk-margin-small-left.uk-text-bold Create Voter Profile

@ -1,72 +0,0 @@
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.

@ -1,20 +0,0 @@
section.uk-section.uk-section-default
.uk-container
.uk-text-lead Welcome to #[+renderSiteLink()]
p We are a new organization that exists to empower small and grassroots conservative Republican Political Action Committees with the resources more commonly reserved for larger organizations.
section.uk-section.uk-section-primary.uk-section-xsmall
.uk-container
div(uk-grid).uk-grid-small.uk-flex-around
.uk-width-auto
.uk-margin
a(href="/welcome/signup").uk-button.uk-button-primary
span
i.fas.fa-user-plus
span.uk-margin-small-left JOIN NOW
.uk-width-auto
.uk-margin
a(href="/welcome/login").uk-button.uk-button-secondary
span
i.fas.fa-sign-in-alt
span.uk-margin-small-left SIGN IN
Loading…
Cancel
Save