Commit Graph

908 Commits

Author SHA1 Message Date
Dillon Kearns
3059310ef8 Update some dependencies. 2021-05-23 16:00:36 -07:00
Dillon Kearns
5e8f7951d6 Remove more references to ImagePath. 2021-05-23 15:30:22 -07:00
Dillon Kearns
89aaa4a764 Fix repos example. 2021-05-23 15:26:02 -07:00
Dillon Kearns
04ee10c17a Remove ImagePath module. 2021-05-23 15:16:54 -07:00
Dillon Kearns
33ccb1c97d Remove remaining references to ImagePath. 2021-05-23 15:15:40 -07:00
Dillon Kearns
48dabe8673 Add Pages.Url and replace ImagePath with Pages.Url.Url type. 2021-05-23 15:11:46 -07:00
Dillon Kearns
39821a60bb Remove more references to PagePath. 2021-05-23 11:12:38 -07:00
Dillon Kearns
51066fbe80 Fix types in routing example. 2021-05-23 11:03:54 -07:00
Dillon Kearns
4f0f03145b Fix types in slides example. 2021-05-23 11:01:44 -07:00
Dillon Kearns
a2bd42f617 Use Path instead of PagePath in Manifest API. 2021-05-23 10:53:01 -07:00
Dillon Kearns
dd70e0ae8c Replace some instances of PagePath with Path. 2021-05-23 10:43:53 -07:00
Dillon Kearns
366ca7ab80 Generate routeToPath without Maybe. 2021-05-23 10:20:09 -07:00
Dillon Kearns
d908d8d01c Rename Document -> View. 2021-05-23 09:00:20 -07:00
Dillon Kearns
2d69c67dec Pass in DataSource with all routes to API Routes for use in generating files like Sitemap. 2021-05-22 18:56:16 -07:00
Dillon Kearns
3401de3da4 Add rss feed file in api routes. 2021-05-22 11:53:14 -07:00
Dillon Kearns
50c4c6d682 Vendor elm-html-in-elm in preparation for fixing text node HTML escaping. 2021-05-21 09:20:54 -07:00
Dillon Kearns
d2b2408d31 Rename Glob.ignore -> Glob.match. 2021-05-19 18:20:47 -07:00
Dillon Kearns
bd4a9de2c4 Add missing parameter in example repo. 2021-05-19 07:59:39 -07:00
Dillon Kearns
e6dee3ea85 Update docs. 2021-05-18 11:39:47 -07:00
Dillon Kearns
583ab7603e Update docs. 2021-05-18 11:33:36 -07:00
Dillon Kearns
29aefaf9c3 Update docs. 2021-05-18 11:23:49 -07:00
Dillon Kearns
fff155bc21 Generate files in .elm-pages instead of gen. Fixes #165. 2021-05-18 11:04:56 -07:00
Dillon Kearns
1aa737c431 Rename static/ -> public/. 2021-05-18 10:44:30 -07:00
Dillon Kearns
c63291fd6d Add edit url in docs. 2021-05-17 20:39:41 -07:00
Dillon Kearns
9585e41d9a Clear glob cache entries when file paths change. 2021-05-17 17:15:04 -07:00
Dillon Kearns
ddbafa19d7 Extract view helper. 2021-05-17 17:02:23 -07:00
Dillon Kearns
95967ebcfe Add SEO example to landing page. 2021-05-17 16:59:18 -07:00
Dillon Kearns
a63e6a2b1f Rename field. 2021-05-17 16:36:49 -07:00
Dillon Kearns
7a861c6ec7 Add newline for formatting. 2021-05-17 16:16:46 -07:00
Dillon Kearns
c4b9f58e07 Change icon. 2021-05-17 16:16:40 -07:00
Dillon Kearns
5d0ee3d2c2 Add projects data source example to landing page. 2021-05-17 14:50:40 -07:00
Dillon Kearns
f32e3bc53b Remove unused. 2021-05-17 13:53:15 -07:00
Dillon Kearns
ee82665145 Extract parameters to landing page helper. 2021-05-17 13:48:23 -07:00
Dillon Kearns
87cf5b217a Extract section and use single column view even in large breakpoint for landing page code examples. 2021-05-17 13:39:43 -07:00
Dillon Kearns
b33079eb71 Update examples. 2021-05-17 13:22:37 -07:00
Dillon Kearns
82e0d34afd Add flags. 2021-05-17 12:51:04 -07:00
Dillon Kearns
a9332526c8 Update title in docs head tags. 2021-05-16 11:42:12 -07:00
Dillon Kearns
d3c14ef976 Fix renamed field in example. 2021-05-16 10:18:48 -07:00
Dillon Kearns
23d1150632 Fix error in slides example. 2021-05-16 10:15:40 -07:00
Dillon Kearns
be1e344332 Remove scaffold example. 2021-05-16 10:07:26 -07:00
Dillon Kearns
b2e37861dc Remove unused dependencies in template. 2021-05-15 21:30:45 -07:00
Dillon Kearns
62a7399074 Move SiteConfig to copied files. 2021-05-15 20:38:29 -07:00
Dillon Kearns
62675b6a16 Move SharedTemplate to copied gen folder. 2021-05-15 20:07:11 -07:00
Dillon Kearns
33a10ede33 Add Route.link and Route.toLink helpers. 2021-05-15 10:36:34 -07:00
Dillon Kearns
d2bf1e1204 Add a prefetch attribute. 2021-05-14 19:33:52 -07:00
Dillon Kearns
e308b38534 Rename function and simplify pipeline. 2021-05-14 19:33:27 -07:00
Dillon Kearns
1486ad2a29 Add content-length to image and make sure it's base-64 encoded. 2021-05-14 14:54:28 -07:00
Dillon Kearns
c929566208 Add png content-type in screenshot function. 2021-05-14 14:39:41 -07:00
Dillon Kearns
954136f380 Use url with redirect name for screenshot in cloudinary write-through. 2021-05-14 14:27:31 -07:00
Dillon Kearns
c6e7f18caf Add process url function. 2021-05-14 14:15:55 -07:00
Dillon Kearns
d86d96b59d Remove unused files. 2021-05-14 13:39:53 -07:00
Dillon Kearns
482cf2c12a Remove unused files. 2021-05-14 12:49:22 -07:00
Dillon Kearns
e2df10ee2e Remove italics in code theme. 2021-05-14 12:13:14 -07:00
Dillon Kearns
f115e1e57e Increase color contrast. 2021-05-14 12:05:32 -07:00
Dillon Kearns
3dba33a9e6 Override tailwid backticks in code spans. 2021-05-14 12:01:57 -07:00
Dillon Kearns
20038d75b1 Remove unused fonts and styles. 2021-05-14 11:36:12 -07:00
Dillon Kearns
b0a17335d0 Update blog post view. 2021-05-14 10:58:50 -07:00
Dillon Kearns
3eef5a6feb Apply elm-review fixes. 2021-05-14 09:49:44 -07:00
Dillon Kearns
e30b8d3335 Remove elm-ui dependency in docs site. 2021-05-14 09:46:02 -07:00
Dillon Kearns
ac5ef1857c Remove unused view variant. 2021-05-14 09:39:09 -07:00
Dillon Kearns
4f2794d563 Add html handlers for tailwind renderer. 2021-05-14 09:37:13 -07:00
Dillon Kearns
194c0d56e6 Move blog page to tailwind view. 2021-05-14 09:30:04 -07:00
Dillon Kearns
e39cdcb826 Use fromResult. 2021-05-14 08:10:59 -07:00
Dillon Kearns
d494698eaa Fix current page link highlighting. 2021-05-14 08:09:03 -07:00
Dillon Kearns
0bd66b867e Fix padding in table of contents. 2021-05-13 16:02:23 -07:00
Dillon Kearns
e684dccde3 Make table of contents toggleable in mobile for every page. 2021-05-13 15:50:28 -07:00
Dillon Kearns
bb94b94f14 Extract docs section. 2021-05-13 15:29:59 -07:00
Dillon Kearns
7091d75c92 Extract helpers to TableOfContents module. 2021-05-13 15:27:49 -07:00
Dillon Kearns
402cad1962 Update blog styling. 2021-05-13 15:05:43 -07:00
Dillon Kearns
07cc71ca8f Update docs button styling. 2021-05-13 12:55:59 -07:00
Dillon Kearns
9911113bc0 Update docs button style. 2021-05-13 11:13:50 -07:00
Dillon Kearns
b38cc7cb52 Don't linkify inner docs text in button. 2021-05-13 11:09:23 -07:00
Dillon Kearns
723a51ec94 Show docs sidebar button on mobile. 2021-05-13 11:05:22 -07:00
Dillon Kearns
373eb6fca2 Remove cover images from blog index. 2021-05-13 10:56:34 -07:00
Dillon Kearns
c4dd6a0f4e Update landing page. 2021-05-12 19:23:03 -07:00
Dillon Kearns
fb7c26a030 Add starting point for new landing page. 2021-05-12 16:33:26 -07:00
Dillon Kearns
f444ea357c Simplify case to fromResult. 2021-05-12 13:35:05 -07:00
Dillon Kearns
a23dab238b Rename fields. 2021-05-12 07:38:09 -07:00
Dillon Kearns
77e7bdf95d Update docs. 2021-05-12 07:28:44 -07:00
Dillon Kearns
82ed4fa57e Add minimal example boilerplate. 2021-05-11 20:11:49 -07:00
Dillon Kearns
3417c8992e Set stale-while-revalidate header. 2021-05-10 21:17:17 -07:00
Dillon Kearns
ab934b306a Update max-age time. 2021-05-10 20:24:46 -07:00
Dillon Kearns
f7f34e654b Use encoded path for screenshot URL so it works with caching (query params caused cache hits for different urls). 2021-05-10 15:58:29 -07:00
Dillon Kearns
a0fea1fdb6 Add cache-control header. 2021-05-10 15:40:43 -07:00
Dillon Kearns
4d982bddca Handle missing categories. 2021-05-10 15:22:03 -07:00
Dillon Kearns
10b63d31b8 Use screenshot serverless function instead of thum.io. 2021-05-10 15:21:54 -07:00
Dillon Kearns
0ac7fe2a05 Add puppeteer dependencies for screenshot function. 2021-05-10 15:17:10 -07:00
Dillon Kearns
ecefb3ec1f Add screenshot URL function. 2021-05-10 15:14:15 -07:00
Dillon Kearns
37b6d371f3 Clean up padding. 2021-05-10 14:00:52 -07:00
Dillon Kearns
1726126d86 Update padding. 2021-05-10 13:52:14 -07:00
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
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
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