Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
transitive-bullshit committed Nov 1, 2024
1 parent e4f6bdb commit 07e25dc
Show file tree
Hide file tree
Showing 5 changed files with 120 additions and 14 deletions.
3 changes: 1 addition & 2 deletions components/HeroHeader.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import React, { Component } from 'react'

import raf from 'raf'
import random from 'random'
import React, { Component } from 'react'
import FluidAnimation from 'react-fluid-animation'

const exp = random.exponential()
Expand Down
5 changes: 2 additions & 3 deletions components/NotionPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,15 @@ import dynamic from 'next/dynamic'
import Image from 'next/legacy/image'
import Link from 'next/link'
import { useRouter } from 'next/router'
import * as React from 'react'

import { PageBlock } from 'notion-types'
import { type PageBlock } from 'notion-types'
import {
formatDate,
getBlockTitle,
getPageProperty,
normalizeTitle,
parsePageId
} from 'notion-utils'
import * as React from 'react'
import BodyClassName from 'react-body-classname'
import { type NotionComponents, NotionRenderer } from 'react-notion-x'
import TweetEmbed from 'react-tweet-embed'
Expand Down
9 changes: 5 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,13 +50,13 @@
"p-memoize": "^7.1.1",
"posthog-js": "^1.20.2",
"prismjs": "^1.29.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-notion-x": "^7.0.1",
"raf": "^3.4.1",
"random": "^3.0.6",
"random": "^5.1.1",
"react": "^18.2.0",
"react-body-classname": "^1.3.1",
"react-dom": "^18.2.0",
"react-fluid-animation": "^1.0.1",
"react-notion-x": "^7.0.1",
"react-tweet-embed": "^2.0.0",
"react-use": "^17.4.2",
"rss": "^1.2.2"
Expand All @@ -66,6 +66,7 @@
"@next/bundle-analyzer": "^15.0.2",
"@types/lodash.omit": "^4.5.6",
"@types/node": "^22.8.6",
"@types/raf": "^3.4.3",
"@types/react": "^18.0.21",
"cross-env": "^7.0.2",
"eslint": "^8.57.1",
Expand Down
5 changes: 0 additions & 5 deletions pages/_app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,14 @@

// used for code syntax highlighting (optional)
import 'prismjs/themes/prism-coy.css'

// core styles shared by all of react-notion-x (required)
import 'react-notion-x/src/styles.css'

// global styles shared across the entire site
import 'styles/global.css'

// this might be better for dark mode
// import 'prismjs/themes/prism-okaidia.css'

// global style overrides for notion
import 'styles/notion.css'

// global style overrides for prism theme (optional)
import 'styles/prism-theme.css'

Expand Down
112 changes: 112 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 07e25dc

Please sign in to comment.