Commit Graph

911 Commits

Author SHA1 Message Date
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
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
Dillon Kearns
8686b56943 Pass in htmlToString function to API Routes. 2021-05-08 14:52:56 -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
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
46559dccf3 Get file based on section slug. 2021-05-07 08:00:50 -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
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
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
Dillon Kearns
1a687c238a Update docs style. 2021-05-06 14:26:44 -07:00
Dillon Kearns
74c56cdce2 Update docs style. 2021-05-06 14:18:04 -07:00
Dillon Kearns
34ba54d5d1 Update doc sidebar style based on nextra. 2021-05-06 14:10:50 -07:00
Dillon Kearns
efddae6bba Use standalone Api.elm module for ApiRoutes. 2021-05-06 10:08:12 -07:00
Dillon Kearns
f5287d3419 Remove unused. 2021-05-06 10:07:08 -07:00
Dillon Kearns
6cac9fd556 Rename import alias. 2021-05-06 09:48:08 -07:00
Dillon Kearns
f00fff90d9 Rename constructor argument in example. 2021-05-06 07:52:37 -07:00
Dillon Kearns
881cc7ccbe Add integer matcher in api routes. 2021-05-06 07:34:51 -07:00
Dillon Kearns
6fab76ab96 Rename ApiHandler -> ApiRoute. 2021-05-06 07:26:21 -07:00
Dillon Kearns
b16f32c1fa Rename field. 2021-05-06 07:16:05 -07:00
Dillon Kearns
4d175558ce Remove obsolete generateFiles. 2021-05-06 07:14:49 -07:00
Dillon Kearns
8de8dd0c71 Wire in allRoutes to ApiRoutes at build-time. 2021-05-06 07:02:42 -07:00
Dillon Kearns
e9779cf9a6 Handle not found API response with a hardcoded not found body and 200 status code for now. 2021-05-05 17:04:21 -07:00
Dillon Kearns
6435b69421 Rename function. 2021-05-05 14:35:49 -07:00
Dillon Kearns
7c90a2eb9a Use DataSouce for ApiHandler responses. 2021-05-04 20:11:08 -07:00
Dillon Kearns
16b15bf4a4 Wire in initial handling for api requests. 2021-05-04 10:37:37 -07:00
Dillon Kearns
b733dd9dc5 Try absolute path on netlify. 2021-04-29 07:33:55 -07:00
Dillon Kearns
4ddf97bb91 Render time with a netlify function. 2021-04-29 07:27:19 -07:00
Dillon Kearns
17553550b4 Put Glob under DataSource namespace. 2021-04-28 14:05:08 -07:00
Dillon Kearns
5d8caf5d18 Update scaffold command. 2021-04-26 14:24:56 -07:00
Dillon Kearns
c7984cccfd Remove unused dependency. 2021-04-25 20:36:21 -07:00
Dillon Kearns
cf589a407b Run Regex matching in Elm for Glob module. 2021-04-25 19:39:54 -07:00
Dillon Kearns
735bdeb2af Fix error in slides project. 2021-04-24 16:10:10 -07:00
Dillon Kearns
38d6b65477 Add serverless request Page builder. 2021-04-24 16:01:31 -07:00
Dillon Kearns
2b78dd89bc Add new Page builder API functions. 2021-04-24 12:47:22 -07:00
Dillon Kearns
b16d012670 Unexpose Shared.Msg variants. 2021-04-23 16:52:35 -07:00
Dillon Kearns
1c96c1d99a Remove unused exports. 2021-04-23 16:26:24 -07:00
Dillon Kearns
521c3c0cc7 Rename StaticData -> Data. 2021-04-23 16:22:23 -07:00
Dillon Kearns
559c4b6337 Rename top-level functions from template -> page. 2021-04-23 15:54:07 -07:00
Dillon Kearns
ba6a3c6af4 Rename Template modules -> Page modules. 2021-04-23 15:46:37 -07:00
Dillon Kearns
7a30435888 Remove completed TODO. 2021-04-23 08:57:57 -07:00
Dillon Kearns
eb6ccbc1ef Add a builder API for manifest configs. 2021-04-23 08:45:05 -07:00
Dillon Kearns
dd7ad0d88b Add lang tag to manifest. 2021-04-23 08:22:29 -07:00
Dillon Kearns
938bbd1014 Add language tag dependency to docs example. 2021-04-23 07:12:00 -07:00
Dillon Kearns
11267b5f62 Serve hmr.js from framework assets (not user static folder). 2021-04-22 21:25:02 -07:00
Dillon Kearns
7e07a7ce2f Rearrange definitions. 2021-04-22 20:22:16 -07:00
Dillon Kearns
d3b1fbad4a Remove unused page. 2021-04-22 14:02:10 -07:00
Dillon Kearns
d08d0e7ff0 Wire in static payload to init and update. 2021-04-22 11:31:06 -07:00
Dillon Kearns
267246aa79 Update docs. 2021-04-21 21:46:16 -07:00
Dillon Kearns
78f7b8d21f Update example. 2021-04-21 19:53:28 -07:00
Dillon Kearns
1086618efd Fix overflow wrapping. 2021-04-21 19:52:43 -07:00
Dillon Kearns
93f2fdc6ff Update docs. 2021-04-21 19:02:34 -07:00
Dillon Kearns
f7fec11543 Update table of contents view. 2021-04-21 18:09:43 -07:00
Dillon Kearns
b9b65fe82b Update code span color. 2021-04-21 18:03:03 -07:00
Dillon Kearns
11f440b09f Add nested table of contents module. 2021-04-21 17:27:00 -07:00
Dillon Kearns
09aad643e1 Update docs. 2021-04-21 15:43:30 -07:00
Dillon Kearns
0e19e08f93 Remove comment. 2021-04-21 14:04:10 -07:00
Dillon Kearns
c1c95294d7 Render table of contents in docs page. 2021-04-21 13:57:53 -07:00
Dillon Kearns
97838472ae Bump block levels. 2021-04-21 13:38:45 -07:00
Dillon Kearns
e7c1c35c42 Add starting point for pulling in docs pages. 2021-04-21 13:34:59 -07:00
Dillon Kearns
f890a48653 Handle 404 response for content.json with page render. 2021-04-21 06:09:26 -07:00
Dillon Kearns
fd852d9b8b Update stream url. 2021-04-20 20:11:26 -07:00
Dillon Kearns
e1b4d90087 Rename function. 2021-04-20 14:57:28 -07:00
Dillon Kearns
93d8572ddf Rename Pages.StaticFile -> DataSource.File. 2021-04-20 14:27:36 -07:00
Dillon Kearns
65e6ef52dd Rename glob functions with ignore/capture instead of drop/keep to make it more intuitive. 2021-04-20 13:53:53 -07:00
Dillon Kearns
a082d9e291 Move HTTP-related DataSource API under DataSource.Http. 2021-04-20 13:52:54 -07:00
Dillon Kearns
84abfb4b2b DataSource.Request -> DataSource.DataSource. 2021-04-20 07:45:35 -07:00
Dillon Kearns
47fccf2cca Rename StaticHttp to DataSource. 2021-04-20 07:33:12 -07:00
Dillon Kearns
03fc86e577 Remove access to static data for canonicalSiteUrl for now. 2021-04-17 21:43:22 -07:00
Dillon Kearns
1d973ab495 Add CLI for elm-pages build. 2021-04-17 15:04:24 -07:00
Dillon Kearns
8d47b85908 Rename cli.js to build.js. 2021-04-17 14:40:02 -07:00
Dillon Kearns
938cf07c4a Try package-lock.json with no optionals. 2021-04-16 10:05:38 -07:00
Dillon Kearns
311f6f04a6 Update package.json. 2021-04-16 09:45:01 -07:00
Dillon Kearns
c60875f89f Wire in StaticData for update in elm-pages.com site. 2021-04-15 13:40:36 -07:00
Dillon Kearns
ed4cf2d2d4 Wire in navigation key. 2021-04-14 09:26:58 -07:00
Dillon Kearns
8de4fc7b12 Wire in sitemap using new SiteConfig. 2021-04-13 19:20:10 -07:00
Dillon Kearns
423e6de328 Wire in all Routes in SiteConfig. 2021-04-13 18:43:31 -07:00
Dillon Kearns
4744844dd1 Wire in manifest generator as just another file generator, but specified in the generated code. 2021-04-13 13:28:58 -07:00
Dillon Kearns
4e5c80ab91 Move definition. 2021-04-13 13:05:33 -07:00
Dillon Kearns
384f9043dc Fix type. 2021-04-12 20:29:27 -07:00
Dillon Kearns
3af6666671 Use generated Route type in SharedTemplate type. 2021-04-12 17:36:18 -07:00
Dillon Kearns
06a9883c15 Remove references to Shared.PageView. 2021-04-12 16:54:08 -07:00
Dillon Kearns
0434c7ebec Use map function from Document. 2021-04-12 16:50:23 -07:00
Dillon Kearns
f375c97679 Extract SharedTemplate type in preparation for including it as generated code. 2021-04-12 16:46:08 -07:00
Dillon Kearns
e65556f265 Refactor a template. 2021-04-12 15:33:00 -07:00
Dillon Kearns
0939d02ce7 Update package-lock. 2021-04-12 15:32:49 -07:00
Dillon Kearns
e83dd9d2c3 Handle showing content JSON errors. 2021-04-11 19:50:48 -07:00
Dillon Kearns
7375e55d34 Handle showing errors with new await syntax. 2021-04-11 19:42:26 -07:00
Dillon Kearns
c7c0e78912 Fix showCompiling id name inconsistencies and show at correct time. 2021-04-11 16:26:22 -07:00
Dillon Kearns
83933495fa Wait for content json request to come back before applying HMR update. 2021-04-11 15:40:32 -07:00
Dillon Kearns
7a019036ec Use module.hot.apply API to update content json when the new app is ready to receive ports. 2021-04-11 15:35:02 -07:00
Dillon Kearns
d951d59afc Remove obsolete markdown stuff. 2021-04-10 14:13:44 -07:00
Dillon Kearns
edbadddf7f Remove obsolete images folder in favor of just static folder. 2021-04-10 14:06:48 -07:00
Dillon Kearns
3c952f2be5 Remove more references to pathkey. 2021-04-10 13:55:46 -07:00
Dillon Kearns
cf1d03a2bb Remove more instances of pathkey. 2021-04-10 13:51:39 -07:00
Dillon Kearns
81c523bad6 Remove more references to NoMetadata. 2021-04-10 13:26:19 -07:00
Dillon Kearns
da14d2e88f Goodbye PathKey! 👋 2021-04-10 13:00:26 -07:00
Dillon Kearns
f47d2b1ed6 Remove dependency on Pages module in more places. 2021-04-10 12:57:58 -07:00
Dillon Kearns
31a5f2d8f6 Remove more references to Pages module. 2021-04-10 12:37:06 -07:00
Dillon Kearns
e71c073d95 Remove some references to Pages.pages and Pages.images. 2021-04-10 12:32:37 -07:00
Dillon Kearns
12b36d964f No more PathKey for PagePath! 2021-04-10 10:33:26 -07:00
Dillon Kearns
b1b339010c Wait to apply HMR update so that Elm can receive port with updated contentJson. 2021-04-10 09:07:35 -07:00
Dillon Kearns
66e43cb71b Turn off syntax highlighthing for now to test out performance. 2021-04-10 08:00:07 -07:00
Dillon Kearns
a0622db69d Move hmr loading indicator code into hmr.js and out of Elm code. 2021-04-09 16:36:18 -07:00
Dillon Kearns
a6514b844f Serve assets with npm package that does streaming and mime type handling. Serve up some files from the file system for simlicity. 2021-04-09 12:00:24 -07:00
Dillon Kearns
d9391cee53 Only apply HMR updates when content.json is free of errors. 2021-04-08 18:42:05 -07:00
Dillon Kearns
332be32410 Simplify and reuse article data source helpers. 2021-04-08 13:54:55 -07:00
Dillon Kearns
29c61434f2 Wire in elm-pages data source errors to error overlay. 2021-04-08 06:38:29 -07:00
Dillon Kearns
4c641d69ee Add wrapping to error overlay. 2021-04-08 06:04:56 -07:00
Dillon Kearns
7cbcfedaf9 Show error overlays. 2021-04-07 19:48:52 -07:00
Dillon Kearns
3e2b699c1f Send elm compiler errors as JSON. 2021-04-07 17:37:49 -07:00
Dillon Kearns
685b65435b Run prettier on markdown file. 2021-04-07 12:17:23 -07:00
Dillon Kearns
3fd9c06674 Ignore file temporarily. 2021-04-07 08:23:13 -07:00
Dillon Kearns
978305765e Hot reloads for content.json. 2021-04-07 08:22:46 -07:00
Dillon Kearns
2695be218e Remove commented code. 2021-04-07 08:16:06 -07:00
Dillon Kearns
80a2ea26b6 Wire in initial HMR for elm.js code. 2021-04-06 18:26:24 -07:00
Dillon Kearns
c7d26520cd Temporarily use a hardcoded data source for the time API since the API is flaky and slow. 2021-04-06 13:03:04 -07:00
Dillon Kearns
745d714a44 Add render function to StaticResponses module. 2021-04-05 20:58:28 -07:00
Dillon Kearns
89650a4eb1 Merge branch 'serverless' into static-files
# Conflicts:
#	examples/docs/package-lock.json
#	examples/docs/src/Template/BlogIndex.elm
#	examples/docs/src/Template/Page.elm
#	generator/src/cli.js
#	netlify.toml
#	package-lock.json
#	package.json
#	src/Pages/Internal/Platform/Cli.elm
#	tests/BetaStaticHttpRequestsTests.elm
#	tests/StaticHttpRequestsTests.elm
2021-04-05 19:49:08 -07:00
Dillon Kearns
a481b0fdf0 Remove comment. 2021-04-05 17:15:27 -07:00
Dillon Kearns
e6d15a133d Render landing page view. 2021-04-05 17:03:10 -07:00
Dillon Kearns
1332bca27b Remove unused frontmatter. 2021-04-05 17:03:01 -07:00
Dillon Kearns
b7f204330c Move page. 2021-04-05 16:50:29 -07:00
Dillon Kearns
5e8a07aad6 Remove hardcoding. 2021-04-05 16:50:22 -07:00
Dillon Kearns
0ab2b9921b Unvendor elm-ui. 2021-04-05 16:18:08 -07:00
Dillon Kearns
c4cba9fcf0 Use node version 15. 2021-04-05 15:23:21 -07:00
Dillon Kearns
45b51ceb89 Remove obsolete build command from CLI. 2021-04-05 15:11:16 -07:00
Dillon Kearns
ca9765b62a Remove more webpack-related files. 2021-04-05 15:09:34 -07:00
Dillon Kearns
f79612fedf Update dependencies. 2021-04-05 14:44:56 -07:00
Dillon Kearns
c9c63b8a3b Remove webpack dependencies! 🎉 2021-04-05 14:44:43 -07:00
Dillon Kearns
6bc4c8aab0 Remove unused code. 2021-04-05 14:25:37 -07:00
Dillon Kearns
3ccca84c0c Remove empty files. 2021-04-05 14:11:38 -07:00
Dillon Kearns
6333457501 Remove unused module. 2021-04-05 14:00:15 -07:00
Dillon Kearns
5d496c3834 Run entrypoint directly with generated code instead of wiring it in with a Main.elm. 2021-04-05 13:59:21 -07:00
Dillon Kearns
80e0f8db66 Wire through static http request for initial site config. 2021-04-05 10:51:06 -07:00
Dillon Kearns
d104f26ac0 Wire in new site config record. 2021-04-05 10:03:11 -07:00
Dillon Kearns
565c62bccb Wire in RouteParams to static payload. 2021-04-05 07:48:26 -07:00
Dillon Kearns
5532a7c29c Generalize generated routes with route params. 2021-04-05 07:20:12 -07:00
Dillon Kearns
1f7bb61452 Remove some hardcoding in the generated code. 2021-04-05 06:35:51 -07:00
Dillon Kearns
a74254773f Wire in route to staticData. 2021-04-04 20:47:25 -07:00
Dillon Kearns
90d39610d3 Handle a nested Page Template route with some hardcoding. 2021-04-04 18:23:48 -07:00
Dillon Kearns
1ded1ccab4 Add type alias. 2021-04-03 21:21:33 -07:00
Dillon Kearns
3c433d75d9 Wire in generate files request. 2021-04-03 19:25:21 -07:00
Dillon Kearns
eaf85e14bc Delete comment. 2021-04-02 16:20:02 -07:00
Dillon Kearns
bbbe9c4281 Remove obsolete code. 2021-04-02 16:19:48 -07:00
Dillon Kearns
4c94fb317d Uncomment global head tags. 2021-04-02 16:19:30 -07:00
Dillon Kearns
9749dacb11 Remove obsolete type. 2021-04-02 15:49:48 -07:00
Dillon Kearns
5e2f8e3720 Restore showcase view. 2021-04-02 15:47:07 -07:00
Dillon Kearns
a7cdddb41a Remove siteMetadata arguments for generateFiles. 2021-04-02 15:42:15 -07:00
Dillon Kearns
3372c04e0d Remove TemplateType. 2021-04-02 15:29:59 -07:00
Dillon Kearns
3ee8e5b165 Remove RenderedBody definition. 2021-04-02 15:21:52 -07:00
Dillon Kearns
1bc22f10b3 Remove RenderedBody references. 2021-04-02 15:21:17 -07:00
Dillon Kearns
c13fa23e12 Wire in urlToRoute. 2021-04-02 13:36:11 -07:00
Dillon Kearns
b244a70e44 Wire through route type. 2021-04-01 21:23:55 -07:00
Dillon Kearns
abcae65b36 Remove all references to Metadata. 2021-04-01 12:56:33 -07:00
Dillon Kearns
1e5d6b8a0e Add file path and glob handlers. 2021-03-31 19:55:28 -07:00
Dillon Kearns
11835f155f Handle incoming content.json requests in render serverless function. 2021-03-29 08:59:53 -07:00
Dillon Kearns
0c564bc5fe Clean up serverless render adapter code and return HTML error code. 2021-03-28 19:30:55 -07:00
Dillon Kearns
fd975ea45d Add a module for getting data from the incoming server request. 2021-03-28 19:27:03 -07:00
Dillon Kearns
75c894f897 Update package-lock. 2021-03-25 09:47:59 -07:00
Dillon Kearns
ec7ba930b9 Run renderer for the specific page being requested only, not all pages. 2021-03-25 08:04:59 -07:00
Dillon Kearns
d63ce72018 Use __dirname to resolve path. 2021-03-23 22:28:00 -07:00
Dillon Kearns
cf78609367 Copy elm-pages CLI compiled Elm code to functions folder for renderer. 2021-03-23 22:19:58 -07:00
Dillon Kearns
d685e0365e Change directory context for renderer. 2021-03-23 22:03:12 -07:00
Dillon Kearns
05e220b51d Update directory context in renderer function. 2021-03-23 21:03:10 -07:00
Dillon Kearns
03e6f963ad Get current time in landing page. 2021-03-23 20:12:37 -07:00
Dillon Kearns
71b32795e5 Add initial hardcoded serverless render prototype. 2021-03-23 19:34:12 -07:00
Dillon Kearns
be8d145d9d Update arguments in blog index module. 2021-03-23 16:26:31 -07:00
Dillon Kearns
f7e1e8d3cb Run elm-review fixes. 2020-12-07 08:41:10 -08:00
Dillon Kearns
27715ea9f3 Fix anchor links in docs site. 2020-10-28 07:44:14 -07:00
Dillon Kearns
dfa71340a2 Hide counter views and fix current path highlighting in docs page. 2020-10-26 11:09:26 -07:00
Dillon Kearns
b26d05b88c Generate Template.elm module. 2020-10-26 11:03:43 -07:00
Dillon Kearns
3aa978578b Update template modules file name. 2020-10-26 10:50:11 -07:00
Dillon Kearns
7478642190 Wire in OnPageChange to shared. 2020-10-25 12:06:08 -07:00
Dillon Kearns
3964dc43b6 Use Maybe instead of NoOp for SharedMsg's. 2020-10-25 11:24:52 -07:00
Dillon Kearns
b2926149ff Update docs. 2020-10-25 09:06:21 -07:00
Dillon Kearns
68a25f24c7 Rename template aliases. 2020-10-25 08:35:30 -07:00
Dillon Kearns
7fbcfb60d8 Add setup for local docs for generated module. 2020-10-25 08:22:50 -07:00
Dillon Kearns
28692cf003 Use new decoder in template module decoder. 2020-10-24 15:55:45 -07:00
Dillon Kearns
12d9decf04 Fix type variables in template modules. 2020-10-24 15:46:01 -07:00
Dillon Kearns
3442cf02a8 Merge branch 'master' into template-modules
# Conflicts:
#	.gitignore
#	examples/docs/src/Main.elm
2020-10-24 13:02:17 -07:00
Dillon Kearns
489de6cfbc Fix source-directories in examples. 2020-10-22 13:16:39 -07:00
Dillon Kearns
e59aebf6dc Move example plugin to different directory. 2020-10-21 20:00:59 -07:00
Dillon Kearns
0caa91db56 Add maskable icon. 2020-10-21 12:08:01 -07:00
Dillon Kearns
5c37a84054 Use cloudinary social icon in head tags. 2020-10-21 11:49:12 -07:00
Dillon Kearns
0a5569b5e7 Use cloudinary images for article covers. 2020-10-21 11:31:47 -07:00
Dillon Kearns
d00f326f5c Use cloudinary image for author image. 2020-10-21 11:17:10 -07:00
Dillon Kearns
68b80728fd Add PWA and favicon icons. 2020-10-21 10:36:31 -07:00
Dillon Kearns
291378bd85 Generate docs site using beta build. 2020-10-21 10:23:07 -07:00
Dillon Kearns
48c31bcca2 Get docs site compiling with elm-pages build/develop. 2020-10-20 19:30:52 -07:00
Dillon Kearns
61a46aef91 Add icons to manifest config. 2020-10-20 16:41:00 -07:00
Dillon Kearns
707e4837e1 Extract shared template function to collect functions in a single entrypoint. 2020-10-04 13:35:33 -07:00
Dillon Kearns
a9dc8c53e2 Remove unused constructor functions. 2020-10-01 12:01:54 -07:00
Dillon Kearns
3f0d3320c6 Add starting point for shared template. 2020-10-01 12:00:03 -07:00
Dillon Kearns
6b5b21e709 Update Template types. 2020-09-30 13:05:35 -07:00
Dillon Kearns
8182563f12 Narrow withLocalState signature. 2020-09-24 09:24:14 -07:00
Dillon Kearns
9bdfee82f6 Remove unused. 2020-09-24 09:12:14 -07:00
Dillon Kearns
222cd34f88 Remove obsolete type variables. 2020-09-24 09:10:56 -07:00
Dillon Kearns
9423b62a0c Add builder-style Template API. 2020-09-24 09:04:15 -07:00