Skip to content

Commit

Permalink
chore: more ui updates
Browse files Browse the repository at this point in the history
  • Loading branch information
dorelljames committed Sep 12, 2024
1 parent 44f7efe commit 4a92c18
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 17 deletions.
2 changes: 1 addition & 1 deletion components/NotionPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ export const NotionPage: React.FC<types.PageProps> = ({

const title = getBlockTitle(block, recordMap) || site.name

console.log('notion page', {
console.log('🚀 notion page', {
isDev: config.isDev,
title,
pageId,
Expand Down
1 change: 1 addition & 0 deletions lib/site-config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ export interface SiteConfig {
youtube?: string
zhihu?: string
mastodon?: string
medium?: string

defaultPageIcon?: string | null
defaultPageCover?: string | null
Expand Down
2 changes: 1 addition & 1 deletion next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ module.exports = withBundleAnalyzer({
'pbs.twimg.com',
'abs.twimg.com',
's3.us-west-2.amazonaws.com',
'transitivebullsh.it'
'jscebu.org'
],
formats: ['image/avif', 'image/webp'],
dangerouslyAllowSVG: true,
Expand Down
13 changes: 1 addition & 12 deletions pages/_app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,18 +19,7 @@ import 'styles/notion.css'
// global style overrides for prism theme (optional)
import 'styles/prism-theme.css'

import { bootstrap } from '@/lib/bootstrap-client'
import {
fathomConfig,
fathomId,
isServer,
posthogConfig,
posthogId
} from '@/lib/config'

if (!isServer) {
bootstrap()
}
import { fathomConfig, fathomId, posthogConfig, posthogId } from '@/lib/config'

export default function App({ Component, pageProps }: AppProps) {
const router = useRouter()
Expand Down
4 changes: 2 additions & 2 deletions public/manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "Next.js Notion Starter Kit",
"short_name": "Starter Kit",
"name": "JavaScript Cebu Website",
"short_name": "JS Cebu Website",
"icons": [
{
"src": "/favicon.png",
Expand Down
4 changes: 3 additions & 1 deletion site.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ export default siteConfig({
// linkedin: 'fisch2',
// mastodon: '#', // optional mastodon profile URL, provides link verification
// newsletter: '#', // optional newsletter URL
medium: 'javascript-cebu',
// youtube: '#', // optional youtube channel name or `channel/UCGbXXXXXXXXXXXXXXXXXXXXXX`

// default notion icon and cover images for site-wide consistency (optional)
Expand Down Expand Up @@ -50,7 +51,8 @@ export default siteConfig({
'/meeting-notes': '7cf10a64c4c64281845df4adc45a1f95',
'/tasks': '7e7678d78abd4bde8be7226af06c3487',
'/official-links': 'cb911533889445dfa31333f69e65eb0e',
'/events': 'f9d73a52a4424b9f9a80c9520d5bef8f'
'/events': 'f9d73a52a4424b9f9a80c9520d5bef8f',
'/iniatives': '819d30e927734d76bd0903483b5d9171'
},
// pageUrlOverrides: null,

Expand Down

0 comments on commit 4a92c18

Please sign in to comment.