From a013c870b1793f97500528731e4bfde54fe564c0 Mon Sep 17 00:00:00 2001 From: Travis Fischer Date: Thu, 4 Feb 2021 01:54:17 -0500 Subject: [PATCH] feat: experiment with adding defaults to main --- site.config.js | 6 ++++-- styles/notion.css | 6 ++++++ 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/site.config.js b/site.config.js index 3ee1db3..1ec9013 100644 --- a/site.config.js +++ b/site.config.js @@ -22,8 +22,10 @@ module.exports = { // default notion icon and cover images for site-wide consistency (optional) // page-specific values will override these site-wide defaults - defaultPageIcon: null, // URL - defaultPageCover: null, // URL + defaultPageIcon: + 'https://ssfy.io/https%3A%2F%2Fwww.notion.so%2Fimage%2Fhttps%253A%252F%252Fs3-us-west-2.amazonaws.com%252Fsecure.notion-static.com%252F797768e4-f24a-4e65-bd4a-b622ae9671dc%252Fprofile-2020-280w-circle.png%3Ftable%3Dblock%26id%3D78fc5a4b-88d7-4b0e-824e-29407e9f1ec1%26cache%3Dv2', + defaultPageCover: + 'https://ssfy.io/https%3A%2F%2Fwww.notion.so%2Fimage%2Fhttps%253A%252F%252Fs3-us-west-2.amazonaws.com%252Fsecure.notion-static.com%252F9fc5ecae-2b4b-4e73-b0d4-918c829ba69f%252FIMG_0259-opt.jpg%3Ftable%3Dblock%26id%3D78fc5a4b-88d7-4b0e-824e-29407e9f1ec1%26cache%3Dv2', defaultPageCoverPosition: 0.5, // image CDN host to proxy all image requests through (optional) diff --git a/styles/notion.css b/styles/notion.css index 7782b68..349db23 100644 --- a/styles/notion.css +++ b/styles/notion.css @@ -311,3 +311,9 @@ .notion-block-f382a57807bc40779860eb079d0144f2 .lazy-image-wrapper { border-radius: 16px; } + +/* if you don't want rounded page images, remove this */ +.notion-page-icon-wrapper img.notion-page-icon { + border-radius: 50%; + box-shadow: 0 8px 40px 0 rgb(0 0 0 / 21%); +}