diff --git a/components/NotionPage.tsx b/components/NotionPage.tsx index b3d4512..27dfb00 100644 --- a/components/NotionPage.tsx +++ b/components/NotionPage.tsx @@ -211,7 +211,7 @@ export const NotionPage: React.FC = ({ const title = getBlockTitle(block, recordMap) || site.name - console.log('notion page', { + console.log('🚀 notion page', { isDev: config.isDev, title, pageId, diff --git a/lib/site-config.ts b/lib/site-config.ts index f784152..e4d8c4c 100644 --- a/lib/site-config.ts +++ b/lib/site-config.ts @@ -18,6 +18,7 @@ export interface SiteConfig { youtube?: string zhihu?: string mastodon?: string + medium?: string defaultPageIcon?: string | null defaultPageCover?: string | null diff --git a/next.config.js b/next.config.js index e85d9d3..fc2c89f 100644 --- a/next.config.js +++ b/next.config.js @@ -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, diff --git a/pages/_app.tsx b/pages/_app.tsx index 091bf17..1787d47 100644 --- a/pages/_app.tsx +++ b/pages/_app.tsx @@ -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() diff --git a/public/manifest.json b/public/manifest.json index f961a3c..1004467 100644 --- a/public/manifest.json +++ b/public/manifest.json @@ -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", diff --git a/site.config.ts b/site.config.ts index 3637c48..fc21b71 100644 --- a/site.config.ts +++ b/site.config.ts @@ -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) @@ -50,7 +51,8 @@ export default siteConfig({ '/meeting-notes': '7cf10a64c4c64281845df4adc45a1f95', '/tasks': '7e7678d78abd4bde8be7226af06c3487', '/official-links': 'cb911533889445dfa31333f69e65eb0e', - '/events': 'f9d73a52a4424b9f9a80c9520d5bef8f' + '/events': 'f9d73a52a4424b9f9a80c9520d5bef8f', + '/iniatives': '819d30e927734d76bd0903483b5d9171' }, // pageUrlOverrides: null,