Giter Club home page Giter Club logo

notion-blog's Introduction

English | δΈ­ζ–‡

notion-blog

This is an example Next.js project that shows Nuxt.js' support using Notion's private API for a backend. Deploy to netlify.

Preview

https://xyu.house/

Features

  • minimal and clean portfolio
  • the dark/light mode (Auto detect the system color-mode)
  • responsive (tablet & mobile friendly)
  • render articles from Notion πŸš€
  • fetches your Github pinned projects with most stars
  • Eslint & Prettier configured
  • google analytics integration
  • generate sitemap (visit /sitemap.xml)
  • one click deployment to netlify

Prerequisites

create Notion account duplicate this template by clicking on "duplicate" button located at the top of the page.

make your notion table public (by clicking on "share" button located at the top of the page)

grab the table id from the table link: eg:

do the same thing for about page id (we gonna use it as an env variable NOTION_ABOUT_PAGE_ID) get your Google analytics id (optional) now you can click to the deploy button and fill the netlify form

Build Setup

create a .env file with the following variables

  • BASE_URL=[your domain]
  • GOOGLE_ANALYTICS_ID
  • NOTION_TABLE_ID
  • NOTION_ABOUT_PAGE_ID
  • GITHUB_USERNAME
  • DEV_LOGO
  • DEV_NAME
  • DEV_DESCRIPTION
  • DEV_ROLE
  • DEV_GITHUB_LINK
  • DEV_TWITTER_LINK
  • DEV_LINKEDIN_LINK

then you can try to run it.

install dependencies

$ yarn install

serve with hot reload at localhost:3000

$ yarn dev

notion-blog's People

Contributors

mooncat126 avatar neoteny1010 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.