-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add calendar page with private-url generator widget
- Loading branch information
Showing
13 changed files
with
122 additions
and
28 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
// | ||
// Hacks | ||
// | ||
.sideTabs { | ||
overflow-y: auto; | ||
} | ||
|
||
.addToCalendar { | ||
display: none !important; | ||
} | ||
|
||
.atriumLayout { | ||
flex: 1; // Fill AppLayout | ||
overflow-x: hidden; | ||
} | ||
|
||
.sessionLayout-main { | ||
// https://weblog.west-wind.com/posts/2016/Feb/15/Flexbox-Containers-PRE-tags-and-managing-Overflow | ||
min-width: 0; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
<template> | ||
<ContentLayout class="calendarView"> | ||
<ApiContent slug="calendar"> | ||
<section slot="calendar" class="calendarWidget block"> | ||
<PrivateCalendarCreator api-module="api" /> | ||
</section> | ||
</ApiContent> | ||
</ContentLayout> | ||
</template> | ||
|
||
<script lang="ts"> | ||
import Vue from 'vue' | ||
import ContentLayout from '@/components/MozContentLayout.vue' | ||
import { ApiContent, PrivateCalendarCreator } from '@openlab/deconf-ui-toolkit' | ||
export default Vue.extend({ | ||
components: { ApiContent, ContentLayout, PrivateCalendarCreator }, | ||
}) | ||
</script> | ||
|
||
<style lang="scss"> | ||
.calendarView { | ||
.calendarWidget { | ||
border: 1px solid $border; | ||
border-radius: $radius; | ||
padding: 1rem; | ||
} | ||
.calendarWidget > * { | ||
margin-bottom: 0; | ||
} | ||
p:has(img) { | ||
text-align: center; | ||
} | ||
} | ||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
# Private calendar | ||
|
||
You can subscribe to your MozFest **My Schedule** using your own calendar app, follow these instructions to get it up. | ||
|
||
Use the widget below to generate a private calendar URL and copy it to your clipboard. The next step depends on which calendar you use, we have guides for Apple’s Calendar, Google and Outlook.com. | ||
|
||
%calendar% | ||
|
||
> Please note, your **Private Calendar** URL will only be active during the conference and 90 days after, after that it will expire. | ||
--- | ||
|
||
## Apple Calendar | ||
|
||
On macOS, open the Calendar app and use **File → New Calendar Subscription…**, then paste in your **Private Calendar** URL into the popup. | ||
|
||
![macOS File menu showing the New Calendar Subscription option](/calendar/macos-01.png) | ||
|
||
On the iOS Calendar app press the **Calendars** button at the bottom, then press **Add Subscription Calendar** and paste in your your **Private Calendar** URL. | ||
|
||
![iOS Add Calendar menu](/calendar/ios-01.png) | ||
|
||
--- | ||
|
||
## Google Calendar | ||
|
||
On your computer, go to [Google Calendar](https://calendar.google.com) website. | ||
Under “**Other calendars”** click the plus button and choose “From URL” then paste in your **Private Calendar** URL | ||
|
||
![Google Calendar list of calendars with plus button](/calendar/google-01.png) | ||
|
||
--- | ||
|
||
## Outlook.com | ||
|
||
Go to [outlook.com](https://outlook.com) and navigate to your calendar: | ||
|
||
![Outlook calendar list with Add Calendar option](/calendar/outlook-01.png) | ||
|
||
Press the **Add calendar** button above My calendars | ||
and navigate to **Subscribe from web** and paste in your **Private Calendar** URL. | ||
|
||
![Outlook's Add Calendar menu showing 'Subscribe from web' option](/calendar/outlook-02.png) |