Commit Graph

31 Commits

Author SHA1 Message Date
semanticdata
2ba144ec89 formatting, adjust toc 2024-02-07 08:54:06 -06:00
semanticdata
31c835c465 add folder structure 2024-01-30 14:05:28 -06:00
semanticdata
877e1b5c46 fix build issue with search 2024-01-19 10:46:44 -06:00
semanticdata
0beb7ebcc6 Merge branch 'v4' of https://github.com/jackyzha0/quartz 2024-01-19 10:12:06 -06:00
Miguel Pimentel
eeb997db2e update quartz.layout.ts 2024-01-18 12:02:25 -08:00
Jacky Zhao
e70312320f feat: improve default layout 2024-01-13 09:47:56 -08:00
semanticdata
e7cffd3ed3 Merge branch 'v4' of https://github.com/jackyzha0/quartz 2024-01-03 08:28:45 -06:00
Jacky Zhao
b33f13ccaf fix: dont show last page if folder 2024-01-01 14:20:34 -08:00
semanticdata
7c7252b3d6 explorer on mobile 2023-12-15 11:09:33 -06:00
semanticdata
7fa23d3541 updated config 2023-12-15 10:21:15 -06:00
semanticdata
e95a614aca disable breadcrumbs on flat folder structure 2023-12-14 15:23:45 -06:00
semanticdata
b305fcbfaa adjust layout, moves desktop backlinks, add toc 2023-11-23 14:06:38 -06:00
semanticdata
d8badc00bb new fonts, adjust layout 2023-11-22 22:27:33 -06:00
semanticdata
c8f8d29b4c adjust layout 2023-11-06 15:31:44 -06:00
semanticdata
fc6d046173 adjust layout 2023-11-06 15:21:52 -06:00
semanticdata
869ab8a56a adjust layout, toc, backlinks 2023-11-06 15:00:41 -06:00
semanticdata
c93b586f8d update 2023-11-01 18:35:49 -05:00
semanticdata
193a76c632 refactor explorer scss 2023-10-02 15:25:50 -05:00
semanticdata
581646883d rem recent notes section, impacted style 2023-09-30 08:18:24 -05:00
semanticdata
1d6e011738 trying new theme from Discord server 2023-09-29 21:11:22 -05:00
semanticdata
c7019c537a rearranged left sidebar, mini search icon 2023-09-29 15:26:39 -05:00
semanticdata
7e8a5851f8 remove link to Tags 2023-09-29 14:52:31 -05:00
semanticdata
7c0cf99cf4 add breadcrumbs, clean up 2023-09-29 14:34:30 -05: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
semanticdata
195cb9da28 new baseUrl, general update 2023-09-21 19:16:15 -05:00
semanticdata
2e97875853 hide reading-time, style footer 2023-09-19 12:30:40 -05:00
semanticdata
76c4c98fca initial commit after fork 2023-09-19 10:47:25 -05: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