Feat: Add Google Calendar preset

This commit is contained in:
Emile van Krieken 2022-03-29 16:52:11 +02:00 committed by GitHub
parent 2980c2cb5f
commit 9cc37372dd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -10,6 +10,23 @@ export const presets: Record<string, CustomFrame> = {
hideOnMobile: true,
minimumWidth: 367,
customCss: ""
},
"calendar": {
url: "https://calendar.google.com/calendar/u/0/r/day",
displayName: "Google Calendar",
icon: "calendar",
hideOnMobile: true,
minimumWidth: 490,
customCss: `/* hide right-side menu, and some buttons */
div.d6McF,
div.pw6cBb,
div.gb_Td.gb_Va.gb_Id,
div.Kk7lMc-QWPxkf-LgbsSe-haAclf,
div.h8Aqhb,
div.gboEAb,
div.dwlvNd {
display: none !important;
}`
},
"keep": {
url: "https://keep.google.com",
@ -52,4 +69,4 @@ export interface CustomFrame {
hideOnMobile: boolean;
minimumWidth: number;
customCss: string;
}
}