Commit Graph

35 Commits

Author SHA1 Message Date
enneaa
fb34dbd120
Update quartz.layout.ts 2025-03-13 02:21:13 +08:00
enneaa
40997e8492
Update quartz.layout.ts 2025-03-13 02:11:28 +08:00
enneaa
92a17ee584
Update quartz.layout.ts 2025-03-13 02:06:37 +08:00
enneaa
2bbdc27c40
Update quartz.layout.ts 2025-03-13 02:04:57 +08:00
enneaa
d0a9b0fe65
Update quartz.layout.ts 2025-03-13 02:02:36 +08:00
enneaa
303824c0f8
Update quartz.layout.ts 2025-03-13 02:01:30 +08:00
enneaa
adc405cdc7
Update quartz.layout.ts 2025-03-13 01:57:41 +08:00
enneaa
6d7e6aedfb
Update quartz.layout.ts 2025-03-13 01:55:20 +08:00
enneaa
a582d3e80f
Update quartz.layout.ts 2025-03-13 01:52:00 +08:00
enneaa
90a487f07a
Update quartz.layout.ts 2025-03-13 01:49:34 +08:00
enneaa
9668be4be1
Update quartz.layout.ts 2025-03-13 01:44:47 +08:00
enneaa
f722b11202
Update quartz.layout.ts 2025-03-13 01:35:39 +08:00
enneaa
e64ca175bf
Update quartz.layout.ts 2025-03-13 01:31:40 +08:00
ennea
b37a51d968 修复 2025-03-13 01:19:55 +08:00
ennea
1287c28b68 调整布局 2025-03-13 01:04:25 +08:00
ennea
1ba4ec7fcc 修改布局 2025-03-13 01:01:22 +08:00
ennea
d6702bb8d0 增加评论 2025-03-13 00:53:28 +08:00
ennea
c8e2bc5dd5 去除面包屑 2025-03-13 00:51:12 +08:00
ennea
52379e4693 增加最近列表 2025-03-13 00:46:36 +08:00
enneaa
43844a77f9
Update quartz.layout.ts 2025-03-12 23:17:47 +08:00
enneaa
2efd420cd4
Update quartz.layout.ts 2025-03-12 22:57:29 +08:00
enneaa
251f660652
Update quartz.layout.ts 2025-03-12 22:45:10 +08:00
enneaa
2c34c3631b
Update quartz.layout.ts 2025-03-12 22:40:03 +08:00
enneaa
88c6878091
Update quartz.layout.ts 2025-03-12 22:25:03 +08:00
enneaa
ad60bfa3bf
Update quartz.layout.ts 2025-03-12 22:23:48 +08:00
Jacky Zhao
2718ab9019 feat: flex component, document higher-order layout components 2025-03-11 14:56:43 -07:00
Emile Bangma
91189dfd2f
feat(explorer): collapsible mobile explorer (#1471)
Co-authored-by: Aaron Pham <Aaronpham0103@gmail.com>
2025-02-03 09:25:42 -05:00
Jacky Zhao
247625c4f5 feat(layout): add afterBody 2024-07-09 19:09:31 -07:00
Jacky Zhao
e70312320f feat: improve default layout 2024-01-13 09:47:56 -08:00
Jacky Zhao
b33f13ccaf fix: dont show last page if folder 2024-01-01 14:20:34 -08:00
Ben Schlegel
0b61f6fbfd
feat: implement breadcrumb component (#508)
* feat: implement breadcrumbs

* style: fix styling, move breadcrumbs to top

* refactor: move `capitalize to `lang.ts``

* refactor: clean breadcrumb generation

* feat: add options to breadcrumbs

* feat: implement `resolveFrontmatterTitle`

* feat: add `hideOnRoot` option

* feat(consistency): capitalize every crumb

* style: add `flex-wrap` to parent container

* refactor: clean `Breadcrumbs.tsx`

* feat(accessibility): use `nav`, add aria label

* style: improve look in popovers by adding margin

* docs: write docs for breadcrumb component

* refactor: collapse `if` condition for hideOnRoot

* chore: add todo for perf optimization

* docs: update introduction
2023-09-29 10:26:15 +02:00
Ben Schlegel
91f9ae2d71
feat: implement file explorer component (closes #201) (#452)
* feat: add basic explorer structure„

* feat: integrate new component/plugin

* feat: add basic explorer structure

* feat: add sort to FileNodes

* style: improve style for explorer

* refactor: remove unused explorer plugin

* refactor: clean explorer structure, fix base (toc)

* refactor: clean css, respect displayClass

* style: add styling to chevron

* refactor: clean up debug statements

* refactor: remove unused import

* fix: clicking folder icon sometimes turns invisible

* refactor: clean css

* feat(explorer): add config for title

* feat: add config for folder click behavior

* fix: `no-pointer` not being set for all elements

new approach, have one `no-pointer` class, that removes pointer events and one `clickable` class on the svg and button (everything that can normally be clicked). then, find all children with `clickable` and toggle `no-pointer`

* fix: bug where nested folders got incorrect height

this fixes the bug where nested folders weren't calculating their total height correctly. done by adding class to main container of all children and calculating total

* feat: introduce `folderDefaultState` config

* feat: store depth for explorer nodes

* feat: implement option for collapsed state + bug fixes

folderBehavior: "link" still has bad styling, but major bugs with pointers fixed (not clean yet, but working)

* fix: default folder icon rotation

* fix: hitbox problem with folder links, fix style

* fix: redirect url for nested folders

* fix: inconsistent behavior with 'collapseFolders' opt

* chore: add comments to `ExplorerNode`

* feat: save explorer state to local storage (not clean)

* feat: rework `getFolders()`, fix localstorage read + write

* feat: set folder state from localStorage

needs serious refactoring but functional (except folder icon orientation)

* fix: folder icon orientation after local storage

* feat: add config for `useSavedState`

* refactor: clean `explorer.inline.ts`

remove unused functions, comments, unused code, add types to EventHandler

* refactor: clean explorer

merge `isSvg` paths, remove console logs

* refactor: add documentation, remove unused funcs

* feat: rework folder collapse logic

use grids instead of jank scuffed solution with calculating total heights

* refactor: remove depth arg from insert

* feat: restore collapse functionality to clicks

allow folder icon + folder label to collapse folders again

* refactor: remove `pointer-event` jank

* feat: improve svg viewbox + remove unused props

* feat: use css selector to toggle icon

rework folder icon to work purely with css instead of JS manipulation

* refactor: remove unused cfg

* feat: move TOC to right sidebar

* refactor: clean css

* style: fix overflow + overflow margin

* fix: use `resolveRelative` to resolve file paths

* fix: `defaultFolderState` config option

* refactor: rename import, rename `folderLi` + ul

* fix: use `QuartzPluginData` type

* docs: add explorer documentation
2023-09-15 09:39:16 -07:00
Jacky Zhao
e21f0f9bb9 change reading time to content meta 2023-08-08 21:28:09 -07:00
Jacky Zhao
028bcec62c mobile fixes, fix bug when linking to anchor on home, docs 2023-08-06 17:09:29 -07:00
Jacky Zhao
cc79502670 make layouts simpler to think about 2023-07-25 23:37:24 -07:00