Commit Graph

256 Commits

Author SHA1 Message Date
Tuan Cao
936855a136 Some more styling 2022-04-19 15:15:54 +07:00
Tuan Cao
4538a5fd1c Minor tweak for code block style 2022-04-19 13:31:11 +07:00
Tuan Cao
0e929ffdb9 Add basic code highlighting using prism 2022-04-19 13:17:47 +07:00
Tuan Cao
632206f84f Increasing line-height for nav-bar item 2022-04-19 11:41:07 +07:00
Tuan Cao
81b82fa5bc Fixed styling issue on Nav bar 2022-04-19 11:39:51 +07:00
Tuan Cao
99975d316c Some more refined styling 2022-04-19 11:08:56 +07:00
Tuan Cao
a213c3353d - Add Powered By Footer
- Some small styling
- Handle no Backlink case.
2022-04-19 08:48:22 +07:00
Tuan Cao
5c3f6cb4ee - Add Powered By Footer
- Some small styling
- Handle no Backlink case.
2022-04-19 08:48:11 +07:00
Tuan Cao
d8806d6771 Fixed layout on home page. 2022-04-18 23:18:26 +07:00
Tuan Cao
96d4e9e7e7 Support Responsive layout (missed commit) 2022-04-18 22:43:39 +07:00
Tuan Cao
d7599d0dd5 Support Responsive layout 2022-04-18 22:33:35 +07:00
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