Skip to content

Commit

Permalink
feat: experiment with adding defaults to main
Browse files Browse the repository at this point in the history
  • Loading branch information
transitive-bullshit committed Feb 4, 2021
1 parent 575663f commit a013c87
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
6 changes: 4 additions & 2 deletions site.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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%2Fsummer-heart-0930.chufeiyun1688.workers.dev%3A443%2Fhttps%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%2Fsummer-heart-0930.chufeiyun1688.workers.dev%3A443%2Fhttps%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)
Expand Down
6 changes: 6 additions & 0 deletions styles/notion.css
Original file line number Diff line number Diff line change
Expand Up @@ -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%);
}

0 comments on commit a013c87

Please sign in to comment.