mirror of
https://github.com/d0zingcat/nextjs-notion-starter-kit.git
synced 2026-05-13 23:16:47 +00:00
minor style and comments
This commit is contained in:
@@ -10,6 +10,7 @@ export default async (req: NextApiRequest, res: NextApiResponse) => {
|
||||
|
||||
const searchParams: types.SearchParams = req.body
|
||||
|
||||
console.log('lambda search-notion', searchParams)
|
||||
const results = await search(searchParams)
|
||||
|
||||
res.setHeader(
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
import { getEnv } from './get-env'
|
||||
|
||||
// this is the most important config value which specifies the site's root Notion page
|
||||
// where it all starts -- the site's root Notion page
|
||||
export const rootNotionPageId = '78fc5a4b88d74b0e824e29407e9f1ec1'
|
||||
|
||||
// general site config
|
||||
@@ -20,7 +20,7 @@ export const siteFavicon = `https://${siteDomain}/favicon.png`
|
||||
export const socialImageTitle = 'Transitive Bullshit'
|
||||
export const socialImageSubtitle = 'Hello World! 👋'
|
||||
|
||||
// default notion values for site-wide consistency (may be overridden on a per-page basis)
|
||||
// default notion values for site-wide consistency (optional; may be overridden on a per-page basis)
|
||||
export const 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'
|
||||
export const defaultPageCover =
|
||||
|
||||
@@ -56,7 +56,7 @@
|
||||
"babel-eslint": "^10.0.3",
|
||||
"cross-env": "^7.0.2",
|
||||
"eslint": "^7.18.0",
|
||||
"eslint-config-prettier": "^7.1.0",
|
||||
"eslint-config-prettier": "^7.2.0",
|
||||
"eslint-config-standard": "^16.0.2",
|
||||
"eslint-config-standard-react": "^11.0.1",
|
||||
"eslint-plugin-import": "^2.21.2",
|
||||
|
||||
@@ -1,3 +1,12 @@
|
||||
/**
|
||||
* This file contains site-specifc style overrides for Notion elements from
|
||||
* react-notion-x.
|
||||
*
|
||||
* react-notion-x's goal is to match styling as close as possible to Notion,
|
||||
* whereas our goal with this blog is to adjust Notion's styling in a few key
|
||||
* places to add some flare and make our site look more like a blog.
|
||||
*/
|
||||
|
||||
.notion-page {
|
||||
margin: 0 12px;
|
||||
width: 720px;
|
||||
@@ -81,7 +90,7 @@
|
||||
}
|
||||
|
||||
.notion-callout {
|
||||
margin-bottom: 0.5em;
|
||||
margin: 0.75em 0;
|
||||
}
|
||||
|
||||
.notion-hr {
|
||||
|
||||
@@ -1682,10 +1682,10 @@ escape-string-regexp@^1.0.5:
|
||||
resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz#1b61c0562190a8dff6ae3bb2cf0200ca130b86d4"
|
||||
integrity sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=
|
||||
|
||||
eslint-config-prettier@^7.1.0:
|
||||
version "7.1.0"
|
||||
resolved "https://registry.yarnpkg.com/eslint-config-prettier/-/eslint-config-prettier-7.1.0.tgz#5402eb559aa94b894effd6bddfa0b1ca051c858f"
|
||||
integrity sha512-9sm5/PxaFG7qNJvJzTROMM1Bk1ozXVTKI0buKOyb0Bsr1hrwi0H/TzxF/COtf1uxikIK8SwhX7K6zg78jAzbeA==
|
||||
eslint-config-prettier@^7.2.0:
|
||||
version "7.2.0"
|
||||
resolved "https://registry.yarnpkg.com/eslint-config-prettier/-/eslint-config-prettier-7.2.0.tgz#f4a4bd2832e810e8cc7c1411ec85b3e85c0c53f9"
|
||||
integrity sha512-rV4Qu0C3nfJKPOAhFujFxB7RMP+URFyQqqOZW9DMRD7ZDTFyjaIlETU3xzHELt++4ugC0+Jm084HQYkkJe+Ivg==
|
||||
|
||||
eslint-config-standard-react@^11.0.1:
|
||||
version "11.0.1"
|
||||
|
||||
Reference in New Issue
Block a user