Samy Pessé
d304c853fb
Fix header logo ( #203 )
2024-02-29 14:46:56 +01:00
Samy Pessé
76ba5d043e
Use customization.title instead of space.title ( #194 )
...
* Use customization.title instead of space.title
* Format
* Fix TS
2024-02-28 10:26:04 +01:00
Samy Pessé
cf1f281119
Fix color of the title in the header when theme is custom ( #174 )
2024-02-20 09:14:04 +01:00
Samy Pessé
ebdec4966b
Use absolute URLs for logos ( #161 )
2024-02-15 10:06:05 +01:00
Samy Pessé
cf193f1738
Fix size of logo in header ( #154 )
...
* Fix sizing of logo in header
* Format
* Fix cases where size is not passed
2024-02-14 11:17:29 +01:00
Samy Pessé
4826c9e012
Fix search button in compact mode ( #140 )
2024-02-09 11:56:57 +01:00
Samy Pessé
6441f8a05e
Improve placeholder in search button and input ( #139 )
...
* Improve search placeholders
* Improve perfs of AI search
* Increase back font-size
* Format
2024-02-09 11:25:03 +01:00
Samy Pessé
53299ce829
Add support for straight corners ( #131 )
...
* Add class to body and tailwind variant
* Use it on the search button
* Use it for buttons and cookies banner
* Use it for cards
* Use it in more places
* Lint
* More
* page feedback
* theme toggler
2024-02-02 10:16:15 +01:00
Samy Pessé
29f2177357
Close table of content when clicking on a link ( #109 )
...
* Close table of content when clicking on a link
* Lint
2024-01-23 10:48:25 +01:00
Samy Pessé
56b8b86f58
Correctly align logo to the left ( #105 )
2024-01-20 18:37:21 +01:00
Sebastian Graz
ccfcaa590b
Style PR ( #84 )
...
* fixes for table values
* color tweaks rating
* inc legibility on aside active
* add tab separators
* fix hint icon
* fix header colors & remove custom balance
* Better mobile burger colors
* remove border from logofallback img
* style divider dark mode
* compact header + file + expandable hover + mt mobile nav
* testing file types
2024-01-04 18:43:37 +01:00
Samy Pessé
2fdf3e3838
Progressive loading ( #79 )
...
* Suspense boundary and progressive loading on blocks
* Start refactoring to better leverage app router
* Use skeleton for page layout
* Improve dynamic toc
* Switch page full width to be client side only
* Format
* Remove old PageLoading
* Fix first page not marked as active
* Close search when clicking search link
2023-12-28 14:38:15 +01:00
Samy Pessé
24f5e73bbe
PDF export ( #72 )
...
* Start
* Improve generation
* Improve style
* Lint
* Use tilde instead of dot in the url
* Improve style
* Fix page group
* Format
* Add visual tests for PDF
2023-12-26 18:36:44 +01:00
Sebastian Graz
1fde857aee
Stylepr ( #60 )
...
* hint leading
* first attempt at themed ui
* v2 theme ui
* fix feedback
* fix hint css override
* cookie
* more sensible scroll logic
* Add better heading margin
* inline code styling
* fix copy button, list vis, next/prev mobile
* add shortcut to search button
* search button, toc
* add toc style
* fix toc hover
* safari fix
* simplify search, swagger, next/prev
* add mask to page cover
* codeblock fix
* global defaults
* improve mobile cards
* modal changes
* change mask intensity dark mode, fix table progress zindex
* a target
* selection, footer, search icon
* fix card resp
* fix multi col images
* fix aside
* card item pos
* search vis
* reuse same header for mobile
* fix header and search legibility
* format
* Sidebar changes
* remove linear gradient light mode page cover
2023-12-26 14:38:54 +01:00
Samy Pessé
5f690af5fb
Fix flash of the header when switching between light and dark mode (fix RND-1917)
2023-12-20 18:22:07 +01:00
Sebastian Graz
196e8bcfc0
quickfix: add overflow hidden if search modal open
2023-12-18 23:11:54 +01:00
Samy Pessé
fc68dbdd4e
Fix accessibility issues reported by PageSpeed tests ( #41 )
...
* Set aria-label on all buttons
* Use a <p> instead of <h4> in footer
2023-12-18 12:31:56 +01:00
Samy Pessé
13b9f6b07f
Optimize images using Cloudflare Images ( #40 )
...
* Optimize images using Cloudflare Images
* Try skipping middleware
* Make it work with base path
* Fetch image size
* Use a target instead of the cf fetch options
* Fix resizing
* Start optimizing images
* Preload images
* Use it for page cover
* Format and adapt cover
* Fix image resizing serving jpeg
* Lazy load dark mode images
* Timeout at 2s
* Fix iframe CSP
* Implement logic to lazy load images that should be offscreen
* Also lazy load cover images
* Low priority in preloading
* Fix csp
2023-12-17 22:26:07 +01:00
Sebastian Graz
dae7f704fa
Style PR ( #34 )
...
* codeblock styling
* fix hover rounding
* checkpoint layout
* improve highlight algo
* v1 syntax theme
* fix table cell add title style
* color tweaks
* opaque sticky numbers
* fix collection spaces
* card aspect fix
* adding back full-width tables
* num tabs
* Add v1 more table types
* format
2023-12-14 16:17:13 +01:00
Samy Pessé
ece7f421b4
First basic integration of AI search ( #32 )
...
* Refctor Intl and show "Ask" in search
* Handle ask state in the url
* Start fetching answer
2023-12-13 00:57:42 +01:00
Sebastian Graz
9e0aabc8bd
Styling PR 4 ( #24 )
...
* add space to expandable, reduce shadow
* temp animation
* little better anims
* v1 stagger
* add opacity-0 back
* fix opacity on header
* overlay fix opacity
* fix chevron shrink
* style summary arrow
* search button add transition
* style hint custom anchor colors
* Commit
* image border
* fix text color hints
* fix code & code within hints
* annotation pass
* clean up
* setup before iconwork
* simplify hint animations
* allow heading sizes in hints, fix global outline
* fix arrows pagefooter
* increase hitarea arrow
* style ol ul
* v1 checkbox
* toc motion speed
* link legibility, move header links to end, anchor underline
* table pass for busy content
* better table defaults
* v1 table side scroller
* only show on threshold
* format
2023-12-11 20:21:18 +01:00
Sebastian Graz
5761b1914a
Styling PR 3 ( #23 )
...
- Fix headings always showing hashtag
- replace slate-color with Gitbook brand everywhere
- add gitbook logo to TOC
- Style inline code blocks like `these`
- made TOC headings sticky to top on scroll
- Redesign the blockref component
- Nicer use of `ring` instead of `border` for layout separation
2023-12-05 20:44:56 +01:00
Sebastian Graz
d38752433f
Styling pr 2 ( #20 )
...
- hints remove blend mode on depth > 1
- hints icons animated
- Fix color theming on dropdown menu sub items
- figure out custom shadows for 1px stroke outside paragdim
- tab blocks add spacing between items
- set default accent/primary color if not set
2023-12-04 20:43:47 +01:00
Samy Pessé
8e5b28d2e0
Page cover ( #22 )
...
* Start rendering for the cover
* Style image
* Negative margins
* Support hero cover
2023-12-04 16:51:37 +01:00
Sebastian Graz
bc6244bb58
Styling PR 1 ( #16 )
...
* add maxwidth limit for very large screens
* testing animation on hints
* page aside style on darkmode
* fix icon TOC
* Make scrollbars stable when overflowing
* fix scrollbar on search
* search compact header
* search style
* test without bg toc
* Commit
* setup before mobile TOC
* test if style{} clashes
* fix TOC hover
* add prevent default on search shortcut
* add deps
* Add header mobile menu setup
* work on fallback logo
* style search modal position
* style hamburger button
* padding
* add rudimental toggle
* comment
* gap value responsive
* remove slate
* fix z index
* undo test
* Install and format
---------
Co-authored-by: Samy Pessé <samypesse@gmail.com >
2023-11-29 21:18:47 +01:00
Samy Pessé
fbd17713fe
Use newer APIs to optimize data loading and fix resolution of links in the TOC ( #11 )
...
* Update api@0.16 .0
* Fetch pages and files independantly
* Correctly resolve content ref in TOC
* Format
* Format
* Cleanup
2023-11-26 23:46:51 +01:00
Sebastian Graz
aab7d0bd7a
Design pass ( #8 )
...
* first stab at bullet points
* setup theming, custom opacities, use of brand UI colors
* color key change
* delete brand
* setup initial defaults
* Add opacity parameter to primary color
* style TOC
* styling pass header, footer, hints, toc, trademark
* table pass
* style pass, typo, quote, tabs, search, theme, toc
2023-11-21 18:29:36 +01:00
Samy Pessé
462b2b6e65
Add support for no header in customization settings ( #3 )
...
* Start hiding header
* Adapt page aside as well
* Revert condition
2023-11-13 22:08:29 +01:00
Samy Pessé
77f769c9c2
Fix some TS issues and group import during lint ( #2 )
...
* Start fixing TS errors
* Continue
* Also add dom.iterable
* Group header and lint
2023-11-12 21:17:18 +01:00
Samy Pessé
61718847b0
Update typing for customization and use latest version of next.js
2023-11-09 19:10:20 +01:00
Samy Pessé
1d44267958
Fix icons
2023-11-04 23:40:17 +01:00
Samy Pessé
926fa0f52c
Improve rendering of images
2023-11-04 23:24:18 +01:00
Samy Pessé
e5d94dbd23
Add support for emoji in icon
2023-11-04 18:32:05 +01:00
Samy Pessé
f84a5a2214
Improve accessibility of dropdowns
2023-11-04 16:06:59 +01:00
Samy Pessé
208dca6bab
Start supporting collections
2023-11-04 15:18:30 +01:00
Samy Pessé
f45735798a
Start header links
2023-11-04 00:18:58 -04:00
Samy Pessé
abb3ed132a
Start theming header
2023-11-03 22:58:04 -04:00
Samy Pessé
cdddebb931
Start using dynamic color for primary
2023-11-03 22:14:29 -04:00
Samy Pessé
2d4faaf396
Add link to generate links in PDF mode
2023-11-03 16:59:37 -04:00
Samy Pessé
4b46eac5ba
Improve flex in header
2023-10-29 16:50:22 -04:00
Samy Pessé
b5b7090bb9
Start translations
2023-10-29 16:29:59 -04:00
Samy Pessé
e1372b0ede
Make layout great!
2023-10-24 20:57:00 +02:00
Samy Pessé
cfb197067a
Start search box
2023-10-24 18:22:40 +02:00
Samy Pessé
3443ed3e82
Start link and switch to tailwind-merge
2023-10-24 17:42:54 +02:00
Samy Pessé
e29fb2091e
Start generating metadata for the page
2023-10-23 00:05:13 +02:00
Samy Pessé
68d198f255
Start search button
2023-10-22 23:57:36 +02:00
Samy Pessé
0b6910951d
Start
2023-10-22 23:48:31 +02:00