Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update docit holiday schedule for 2024 #716

Merged
merged 13 commits into from
Dec 28, 2023
4 changes: 2 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
version: 2.1
orbs:
browser-tools: circleci/[email protected].2
browser-tools: circleci/[email protected].6
jobs:
build:
docker:
- image: cimg/node:16.19.1-browsers
- image: cimg/node:18.17.1-browsers
working_directory: ~/doc-it-dev
environment:
- MASTER_BRANCH: master
Expand Down
12 changes: 1 addition & 11 deletions .github/workflows/firebase-hosting-pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,20 +7,10 @@ jobs:
build_and_preview:
if: '${{ github.event.pull_request.head.repo.full_name == github.repository }}'
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14.19.0]
steps:
- uses: actions/checkout@v2

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3

with:
node-version: ${{ matrix.node-version }}

- run: yarn && yarn build
- uses: FirebaseExtended/action-hosting-deploy@v0
- uses: emclaug2/action-hosting-deploy@main
with:
repoToken: '${{ secrets.GITHUB_TOKEN }}'
firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_BLUI_DOC_IT }}'
Expand Down
18 changes: 9 additions & 9 deletions src/__configuration__/themes/_schedule.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,21 +22,21 @@ import { ValentineSchedule } from './valentine-s-day';
* Add more holiday themes here.
*
* Current schedules:
* * Feb 9 - Feb 13 2023: Spring Festival (changes each year) ** Feb 9 - Feb 15 2024 **
* * Feb 6 - Feb 12: Spring Festival (changes each year)
* * Feb 13 - Feb 15: Valentine's Day
* * Mar 7 - Mar 9: Women's Day
* * Mar 16 - Mar 18: St. Patrick's Day
* * Apr 1: April Fool's Day
* * Apr 20 - Apr 24: Earth Day
* * May 3 - May 5: May the Fourth Day
* * July 2 - July 7: Independence Day
* * Sept 29 - Oct 6 2023: Mid Autumn Festival (changes each year)
* * Oct 25 - Nov 1: Halloween
* * Nov 12 - Nov 16 2023: Diwali (changes each year)
* * Nov 21 - Nov 27: Thanksgiving (changes each year)
* * Dec 7 - Dec 15: Hanukkah (changes each year)
* * Dec 23 - Dec 26: Christmas
* * Dec 26 - Dec 30: Kwanzaa (Kwanzaa runs until Jan 1. Cutting this short to account for New Years.)
* * July 1 - July 7: Independence Day
* * Sept 12 - Sept 18: Mid Autumn Festival (changes each year)
* * Oct 24 - Oct 30: Halloween
* * Nov 1 - Nov 7: Diwali (changes each year)
* * Nov 22 - Nov 29: Thanksgiving (changes each year)
* * Dec 19 - Dec 25: Christmas
* * Dec 26 - Dec 28: Hanukkah (changes each year)
* * Dec 29 - Dec 30: Kwanzaa (Kwanzaa runs until Jan 1. Cutting this short to account for New Years.)
* * Dec 31 - Jan 6: New Years
*/
export const schedule: Schedule[] = [
Expand Down
4 changes: 2 additions & 2 deletions src/__configuration__/themes/christmas.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import AppBarTile from '../../app/assets/themes/christmas/christmas-appbar-tile.
import { Schedule } from './_types';

export const ChristmasSchedule: Schedule = {
start: new Date(0, 11, 23), // Dec 23
end: new Date(0, 11, 26), // Dec 26
start: new Date(0, 11, 19), // Dec 19
end: new Date(0, 11, 26), // Dec 25
config: {
theme: {
...BLUIThemes.blue,
Expand Down
4 changes: 2 additions & 2 deletions src/__configuration__/themes/diwali.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import AppBarTile from '../../app/assets/themes/diwali/diwali-appbar-tile.png';
import { Schedule } from './_types';

export const DiwaliSchedule: Schedule = {
start: new Date(0, 10, 12), // Nov 12
end: new Date(0, 10, 17), // Nov 16
start: new Date(0, 10, 1), // Nov 1
end: new Date(0, 10, 8), // Nov 7
config: {
theme: {
...BLUIThemes.blue,
Expand Down
4 changes: 2 additions & 2 deletions src/__configuration__/themes/halloween.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,8 @@ const HalloweenTheme: ThemeOptions = {
};

export const HalloweenSchedule: Schedule = {
start: new Date(0, 9, 25), // Oct 25
end: new Date(0, 10, 2), // Nov 1
start: new Date(0, 9, 24), // Oct 24
end: new Date(0, 10, 1), // Oct 30
config: {
theme: HalloweenTheme,
landingPageBanner: {
Expand Down
4 changes: 2 additions & 2 deletions src/__configuration__/themes/hanukkah.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import AppBarTile from '../../app/assets/themes/hanukkah/hanukkah-appbar-tile.pn
import { Schedule } from './_types';

export const HanukkahSchedule: Schedule = {
start: new Date(0, 11, 7), // Dec 7
end: new Date(0, 11, 16), // Dec 15
start: new Date(0, 11, 26), // Dec 26
end: new Date(0, 11, 29), // Dec 28
config: {
theme: {
...BLUIThemes.blue,
Expand Down
2 changes: 1 addition & 1 deletion src/__configuration__/themes/independence-day.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import AppBarTile from '../../app/assets/themes/independence-day/independence-da
import { Schedule } from './_types';

export const IndependenceDaySchedule: Schedule = {
start: new Date(0, 6, 2), // July 2
start: new Date(0, 6, 1), // July 1
end: new Date(0, 6, 8), // July 7
config: {
theme: {
Expand Down
2 changes: 1 addition & 1 deletion src/__configuration__/themes/kwanzaa.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import AppBarTile from '../../app/assets/themes/kwanzaa/kwanzaa-appbar-tile.png'
import { Schedule } from './_types';

export const KwanzaaSchedule: Schedule = {
start: new Date(0, 11, 26), // Dec 26
start: new Date(0, 11, 29), // Dec 29
end: new Date(0, 11, 31), // Dec 30 - festival should run until Jan 1, but we cut this off on early to account for New Years theme
config: {
theme: {
Expand Down
4 changes: 2 additions & 2 deletions src/__configuration__/themes/mid-autumn-festival.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ import AppBarTile from '../../app/assets/themes/mid-autumn-festival/app-bar.png'
import { Schedule } from './_types';

export const MidAutumnSchedule: Schedule = {
start: new Date(0, 8, 29), // Sept 29
end: new Date(0, 9, 7), // Oct 6
start: new Date(0, 8, 12), // Sept 12
end: new Date(0, 8, 19), // Sept 18
config: {
theme: {
...BLUIThemes.blueDark,
Expand Down
2 changes: 1 addition & 1 deletion src/__configuration__/themes/spring-festival.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import AppBarTile from '../../app/assets/themes/spring-festival/tile.svg';
import { Schedule } from './_types';

export const SpringFestivalSchedule: Schedule = {
start: new Date(0, 1, 9), // Feb 9
start: new Date(0, 1, 6), // Feb 6
end: new Date(0, 1, 13), // Feb 12
config: {
theme: {
Expand Down
4 changes: 2 additions & 2 deletions src/__configuration__/themes/thanksgiving.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import AppBarTile from '../../app/assets/themes/thanksgiving/thanksgiving-appbar
import { Schedule } from './_types';

export const ThanksgivingSchedule: Schedule = {
start: new Date(0, 10, 21), // Nov 21
end: new Date(0, 10, 28), // Nov 27
start: new Date(0, 10, 22), // Nov 22
end: new Date(0, 10, 30), // Nov 29
config: {
theme: {
...BLUIThemes.blue,
Expand Down
Loading