Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add a list of tools used everyday #29

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

ederbiason
Copy link

To address issue #20 I implemented a few changes:

  • Created a new function to fetch data from a Notion page with a table
  • Created the new explorer file called tools

I couldn't find a way to fetch the table data with the current function from notion-client, so I created another one.

To created the table database I followed this steps:

1- Create a new page

create

2- Add a table database

table

3- Add the sections "name" "description" and "url" - in lowercase like in the example below

table created

4- Get the id of the table - you have to click on the three dots aside to the table title and after click on "View database"
Press to share and get the first id of the link, like in the example below

table id

After to get the id, put it in the Edge Config adding a new line in that code: #21 (comment)
The variable name should be:

"others_tools": "{id}"

A preview of how the tools page is gonna look like:
results

This is my first PR so if I did something wrong I'm sorry ;-) 🚀
Any feedback is welcome! hahaha

@vercel
Copy link

vercel bot commented Mar 7, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated
fala-dev ❌ Failed (Inspect) Mar 7, 2023 at 5:43PM (UTC)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant