Commit Graph

2178 Commits

Author SHA1 Message Date
Dillon Kearns
5c7e64b0fa Don't use target blank for navbar links. 2021-05-10 13:52:08 -07:00
Dillon Kearns
948487219b Use tailwind for showcase. 2021-05-10 13:48:20 -07:00
Dillon Kearns
dd8c67e3a9 Use tailwind for blog index. 2021-05-10 12:34:54 -07:00
Dillon Kearns
1fe616bb2d Show highlightable links in tailwind header. 2021-05-10 11:30:35 -07:00
Dillon Kearns
52e68ee0a6 Update header. 2021-05-10 11:21:29 -07:00
Dillon Kearns
e747445f14 Fire OnPageChange when navigating to same page. 2021-05-10 11:07:55 -07:00
Dillon Kearns
af562d9166 Add type annotation. 2021-05-10 11:07:44 -07:00
Dillon Kearns
612366cec5 Add tailwind header. 2021-05-09 21:36:46 -07:00
Dillon Kearns
45f69bd6ca Use fromResult helpers. 2021-05-09 09:58:36 -07:00
Dillon Kearns
e4c4673b44 Add some fromResult helpers. 2021-05-09 09:58:20 -07:00
Dillon Kearns
05cb39ad30 Make sidebar stick to top of screen instead of scrolling with content. 2021-05-09 09:24:05 -07:00
Dillon Kearns
afe2dec343 Update heading markdown renderers. 2021-05-08 15:22:12 -07:00
Dillon Kearns
6c18c2de93 Add some more route examples. 2021-05-08 15:22:00 -07:00
Dillon Kearns
8686b56943 Pass in htmlToString function to API Routes. 2021-05-08 14:52:56 -07:00
Dillon Kearns
250d3ece73 Update dependencies. 2021-05-08 08:22:31 -07:00
Dillon Kearns
b0ac40cb2e Remove obsolete jest test suite. 2021-05-08 08:18:32 -07:00
Dillon Kearns
b38bec802a Remove http-server dev dependency. 2021-05-08 08:16:14 -07:00
Dillon Kearns
7551c792a5 Show blue hover text. 2021-05-08 08:07:01 -07:00
Dillon Kearns
daec15f446 Show docs menu based on mobile menu toggle state. 2021-05-07 18:19:24 -07:00
Dillon Kearns
a5c64869c8 Extract helper. 2021-05-07 14:25:49 -07:00
Dillon Kearns
784364cae2 Show next/previous names. 2021-05-07 14:23:25 -07:00
Dillon Kearns
05024b818c Show previous/next sections using slugs for now in place of titles. 2021-05-07 13:47:02 -07:00
Dillon Kearns
83f6dba09e Use full parent width to make sure margin for markdown body has some space. 2021-05-07 13:37:19 -07:00
Dillon Kearns
b98cbea516 Use semibold only for current table of contents item (not all). 2021-05-07 13:04:05 -07:00
Dillon Kearns
e142b1c383 Include different roboto font weights. 2021-05-07 13:03:43 -07:00
Dillon Kearns
d58c962a56 Use normal-sized tailwind prose style. 2021-05-07 12:53:10 -07:00
Dillon Kearns
a8a68b6439 Add next/previous links with placeholder text for now. 2021-05-07 11:05:20 -07:00
Dillon Kearns
1fc0635646 Update routing apiRoutes structure. 2021-05-07 10:51:29 -07:00
Dillon Kearns
a89b4af670 Include tailwind base styles in css instead of Elm for performance and smaller pre-rendered HTML. 2021-05-07 10:43:08 -07:00
Dillon Kearns
43cf3c73ba Update hover styling. 2021-05-07 10:30:00 -07:00
Dillon Kearns
ffcaabca77 Remove Site.apiRoutes, since it now lives in Api.elm. 2021-05-07 10:09:04 -07:00
Dillon Kearns
fd34117157 Remove debug statements. 2021-05-07 10:04:14 -07:00
Dillon Kearns
89684709a5 Style h2 headings for docs with anchor nav. 2021-05-07 10:00:14 -07:00
Dillon Kearns
a56b0198ef Add hover anchor icon. 2021-05-07 09:18:17 -07:00
Dillon Kearns
3611b5c475 Highlight current docs section. 2021-05-07 08:39:37 -07:00
Dillon Kearns
dfda85e8ac Use new routing structure for fragment docs links. 2021-05-07 08:26:00 -07:00
Dillon Kearns
eea51f3860 Add type annotation. 2021-05-07 08:25:36 -07:00
Dillon Kearns
1299f19036 Use int instead of capture to match other glob pattern. 2021-05-07 08:19:19 -07:00
Dillon Kearns
0ef1846588 [[:digit:]] didn't seem to work consistently for globbing, regex character classes seem to work better. 2021-05-07 08:19:02 -07:00
Dillon Kearns
46559dccf3 Get file based on section slug. 2021-05-07 08:00:50 -07:00
Dillon Kearns
0cd56ef840 Add helper for finding unique file. 2021-05-07 08:00:29 -07:00
Dillon Kearns
2530056447 Render markdown body in section pages. 2021-05-07 07:37:23 -07:00
Dillon Kearns
0ccc875f8e Handle top-level /docs route in Section__ module. 2021-05-07 07:24:07 -07:00
Dillon Kearns
2fc032fed3 Fix regex pattern for optional route segments. 2021-05-07 07:23:41 -07:00
Dillon Kearns
f5747608eb Fix top-level docs section links. 2021-05-07 06:34:25 -07:00
Dillon Kearns
3547d39376 Add docs section routing with table of contents. 2021-05-07 06:20:24 -07:00
Dillon Kearns
4ff0ea655c Update heading. 2021-05-07 06:19:56 -07:00
Dillon Kearns
ed4a3dfbdb Add glob int matcher. 2021-05-06 20:29:18 -07:00
Dillon Kearns
4dbf1afc53 Add new docs markdown structure. 2021-05-06 20:28:56 -07:00
Dillon Kearns
eb3a981dbf Add tests for table of contents parser. 2021-05-06 16:20:04 -07:00