Skip to content
This repository has been archived by the owner on Oct 26, 2024. It is now read-only.

Add schedule (ne pas ébruiter svp) #184

Merged
merged 1 commit into from
Apr 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion firebase.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
"port": 8080
},
"hosting": {
"port": 5000
"port": 5002
},
"pubsub": {
"port": 8085
Expand Down
12 changes: 12 additions & 0 deletions public/data/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,14 @@
"route": "home",
"permalink": "/",
"label": "Home"
},{
"route": "schedule",
"permalink": "/schedule",
"label": "Schedule"
},{
"route": "speakers",
"permalink": "/speakers",
"label": "Speakers"
},
{
"route": "team",
Expand Down Expand Up @@ -64,6 +72,10 @@
"label": "CFP 2024",
"link": "https://conference-hall.io/public/event/32IQQ5wYijdJdXrqtYsx"
},
"schedule": {
"label": "CFP 2024",
"link": "https://conference-hall.io/public/event/32IQQ5wYijdJdXrqtYsx"
},
"sponsors": {
"label": "Sponsors",
"anchor": "#partners-block"
Expand Down
37 changes: 30 additions & 7 deletions src/elements/header-toolbar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -203,13 +203,6 @@ export class HeaderToolbar extends ReduxMixin(PolymerElement) {
<!-- [[signInText]]-->
<!-- </paper-tab>-->

<!-- <a href="[[ cfpLink ]]" target="_blank" rel="noopener noreferrer">-->
<!-- <paper-button class="buy-button" secondary>[[cfpHeader]]</paper-button>-->
<!-- </a>-->

<!-- <a href$="[[ticketUrl]]" target="_blank" rel="noopener noreferrer">-->
<!-- <paper-button class="buy-button" primary>[[buyTicket]]</paper-button>-->
<!-- </a>-->
</paper-tabs>

<notification-toggle></notification-toggle>
Expand Down Expand Up @@ -244,6 +237,36 @@ export class HeaderToolbar extends ReduxMixin(PolymerElement) {
</div>
</paper-menu-button>

<paper-menu-button
class="auth-menu"
hidden$="[[!signedIn]]"
vertical-align="top"
horizontal-align="right"
no-animations
layout
horizontal
center-center
>
<div
class="profile-image"
slot="dropdown-trigger"
style$="background-image: url('[[user.data.photoURL]]')"
></div>
<div class="dropdown-panel profile-details" slot="dropdown-content" layout horizontal>
<div
class="profile-image"
slot="dropdown-trigger"
self-center
style$="background-image: url('[[user.data.photoURL]]')"
></div>
<div layout vertical center-justified>
<span class="profile-name">[[user.data.displayName]]</span>
<span class="profile-email">[[user.data.email]]</span>
<span class="profile-action" role="button" on-click="signOut">[[signOutText]]</span>
</div>
</div>
</paper-menu-button>

<paper-icon-button
icon="hoverboard:account"
on-click="signIn"
Expand Down
21 changes: 13 additions & 8 deletions src/pages/home-page.ts
Original file line number Diff line number Diff line change
Expand Up @@ -197,15 +197,20 @@ export class HomePage extends ReduxMixin(PolymerElement) {
<!-- </a>-->

<div class="call-to-action">
<a
href$="[[heroSettings.callToAction.cfp.link]]"
target="_blank"
rel="noopener noreferrer"
>
<paper-button class="buy-button" primary
>[[heroSettings.callToAction.cfp.label]]</paper-button
>
<a href="/schedule" >
<paper-button primary>
Programme
</paper-button>
</a>
<!-- <a-->
<!-- href$="[[heroSettings.callToAction.cfp.link]]"-->
<!-- target="_blank"-->
<!-- rel="noopener noreferrer"-->
<!-- >-->
<!-- <paper-button class="buy-button" primary-->
<!-- >[[heroSettings.callToAction.cfp.label]]</paper-button-->
<!-- >-->
<!-- </a>-->
<a href$="[[heroSettings.callToAction.sponsors.anchor]]">
<paper-button class="buy-button" primary on-click="scrollToSponsors"
>[[heroSettings.callToAction.sponsors.label]]</paper-button
Expand Down
Loading