Commit Graph

195 Commits

Author SHA1 Message Date
Tuan Cao
29aef10b0c Update image styling 2022-04-18 21:38:11 +07:00
Tuan Cao
92ee885625 - Move attachments from Attachments folder to public/images
- Reformat image from Obsidian style to standard markdown format
2022-04-18 21:25:28 +07:00
Tuan Cao
94bb53b6fc Fix stupid bug. 2022-04-18 17:53:23 +07:00
Tuan Cao
43d1b12d17 ... 2022-04-18 17:47:15 +07:00
Tuan Cao
eecb943b79 ... 2022-04-18 17:17:13 +07:00
Tuan Cao
e331a9c7c9 Filter out non-existent target edge 2022-04-18 16:47:02 +07:00
Tuan Cao
0efef3cebf ... 2022-04-18 16:37:59 +07:00
Tuan Cao
1089489672 - Handle graph click 2022-04-18 15:06:10 +07:00
Tuan Cao
758a8c90b4 - Add title back to Backlink
- Remove duplicated backlink and self-reference.
2022-04-18 12:02:05 +07:00
Tuan Cao
ce8de2da9f - fix bug: missing nodes in global graph
- fix bug: mismatch mapping node in index page (/)
- local graph now include both backlink and forward link
2022-04-18 11:48:36 +07:00
Tuan Cao
13e6cca5a4 Rename layout.js to Capitalize file name (Layout)
Removed unused _post.js
2022-04-18 09:09:58 +07:00
Tuan Cao
bfea43bb3e Refactor: replace reference to 'posts' folder single function call 2022-04-18 08:58:37 +07:00
Tuan Cao
159e64f409 Further bug fix attempt 2022-04-18 08:41:57 +07:00
Tuan Cao
8e4e9d1b32 Return default value to toSlug func 2022-04-18 08:10:19 +07:00
Tuan Cao
0065eed6e9 Remove some noisy logging 2022-04-18 07:58:20 +07:00
Tuan Cao
f606499ae8 Fix bug: Title not shown in Graph view 2022-04-17 21:01:13 +07:00
Tuan Cao
6f027aeb8e Handle Internal link with hashtag('#') 2022-04-17 20:22:50 +07:00
Tuan Cao
40a947e2ea Improve mapping slug to filepath, to reduce error when build up graph
(WIP 2)
2022-04-17 20:04:58 +07:00
Tuan Cao
99dbccef0a Improve mapping slug to filepath, to reduce error when build up graph
(WIP)
2022-04-16 22:55:20 +07:00
Tuan Cao
fed481d2a9 Improve Graph layout
Some minor styling.
2022-04-15 15:07:36 +07:00
Tuan Cao
047caf1695 Remove lint 2022-04-15 11:20:45 +07:00
Tuan Cao
5b914a148c Remove lint
Fix build error
2022-04-15 11:20:32 +07:00
Tuan Cao
5195f9bdcc Add support for Local Nodes
Render Graph in [id] posts
2022-04-15 11:00:45 +07:00
Tuan Cao
b43dfd77b0 Add CytoGraph component to re-present the graph 2022-04-15 09:04:28 +07:00
Tuan Cao
b4f27edd5d Some css clean up for backlink section. 2022-04-13 14:30:00 +07:00
Tuan Cao
9766844614 - Show short summary in Backlink section
- Extract content from refered markdown file.
2022-04-08 14:44:45 +07:00
Tuan Cao
aecf7c9da6 WIP styling backlink section 2022-04-08 11:56:09 +07:00
Tuan Cao
2bb96504c9 Finished constructing backlink from internal links
TODO: performance improvement, and code reability.
2022-04-07 16:52:41 +07:00
Tuan Cao
b47d1053d8 WIP: Render backlink in MarkDown content component. 2022-04-07 10:44:02 +07:00
Tuan Cao
930d7bf48d Refactor to prepare to convert to react component 2022-04-05 11:47:41 +07:00
Tuan Cao
d9923053f5 Clean up require -> import 2022-04-05 10:45:30 +07:00
Tuan Cao
36dcfbb2bc Wrapping MD Content inside MD Container
Boiler plate code for adding multiple MD Content
2022-03-31 16:59:10 +07:00
Tuan Cao
bc844bc0fa More refactoring:
- Move markdown rendering to its own component.
2022-03-31 15:46:10 +07:00
Tuan Cao
08bf40fc35 Clean up unused codes 2022-03-31 15:12:00 +07:00
Tuan Cao
f1fb9e26e2 Add Follow me alert to content. 2022-03-25 15:18:36 +07:00
Tuan Cao
00716b01e7 Remove sidebar.md 2022-03-24 15:58:41 +07:00
Tuan Cao
7ef88f62aa A little bit more styling and default expanded Side bar 2022-03-24 15:24:09 +07:00
Tuan Cao
7b40e63e00 A little bit more styling and default expanded Side bar 2022-03-24 15:19:08 +07:00
Tuan Cao
bf58dd15c6 A little bit more styling and default expanded Side bar 2022-03-24 15:19:01 +07:00
Tuan Cao
c56bacc34b Put Side bar to both Index and post pages
Make nav bar appear on the left side.
2022-03-24 14:43:18 +07:00
Tuan Cao
bae2cc6be7 Rename post to utils 2022-03-24 11:55:12 +07:00
Tuan Cao
005993da21 Make Tree navigation go to correct page. 2022-03-24 11:15:43 +07:00
Tuan Cao
6e24e2a309 Replace Folder Tree with MUI implementation. 2022-03-23 22:25:39 +07:00
Tuan Cao
b245a3e2c2 Replace Folder Tree with MUI implementation. 2022-03-23 22:25:28 +07:00
Tuan Cao
ea1c149a1f Clear warning about styleSheet declare in Page level, move it to _document.js 2022-03-23 11:21:59 +07:00
Tuan Cao
0be9ae3ff3 Update project to Next v12 2022-03-23 11:14:40 +07:00
Tuan Cao
9027596d06 WIP adding folder tree 2022-03-23 10:50:06 +07:00
Tuan Cao
7c1f478c45 Basic styling of the site using some obsidian css... More 2022-03-17 15:43:21 +07:00
Tuan Cao
19fedf5e6d Basic styling of the site using some obsidian css 2022-03-17 15:42:57 +07:00
Tuan Cao
b4a9546546 Update index file. 2022-03-17 14:35:42 +07:00