Commit Graph

413 Commits

Author SHA1 Message Date
Dillon Kearns
947ce8bac5 Add Github link in navbar. 2019-09-22 10:35:49 -07:00
Dillon Kearns
3f6e0c0d3d Upgrade markdown parser. 2019-09-22 10:27:50 -07:00
Dillon Kearns
f30c46a26c Update blog post. 2019-09-21 19:15:53 -07:00
Dillon Kearns
8448bb60b6 Update content. 2019-09-21 11:34:53 -07:00
Dillon Kearns
7855e1b348 Fix alignment for bullet lists. 2019-09-21 11:11:18 -07:00
Dillon Kearns
e2ebb4f4dc Update content. 2019-09-21 10:56:43 -07:00
Dillon Kearns
5ab9575944 Update markdown parser. 2019-09-21 10:44:26 -07:00
Dillon Kearns
765c7e7b7d Update elm-markdown version and use elm-oembed. 2019-09-19 14:21:06 -07:00
Dillon Kearns
16c90be195 Update landing page. 2019-09-17 18:07:28 -07:00
Dillon Kearns
50d858bf9f Fix some errors in js code. 2019-09-16 18:37:26 -07:00
Dillon Kearns
1bf3213933 Setup jsconfig.json to check TypeScript against js files. 2019-09-16 15:22:05 -07:00
Dillon Kearns
86caa4946b Rename generated file to Pages, and former Pages module to Pages.Platform. 2019-09-15 21:51:16 -07:00
Dillon Kearns
7dc33ce9ab Rename task. 2019-09-15 21:47:49 -07:00
Dillon Kearns
313ae0e08c Move modules over in preparation for elm package publish. 2019-09-15 16:05:40 -07:00
Dillon Kearns
e3fafa927f Use opaque type for Document. 2019-09-15 15:00:14 -07:00
Dillon Kearns
1b6eb7fd4c Refactor type. 2019-09-15 14:51:07 -07:00
Dillon Kearns
1c1e63e611 Delete unused module. 2019-09-15 13:34:53 -07:00
Dillon Kearns
2b06f0dc9f Correctly generate with or without index. 2019-09-15 13:29:43 -07:00
Dillon Kearns
9a2f1c3753 Return PagePath instead of String from Directory index function. 2019-09-15 13:23:50 -07:00
Dillon Kearns
800e933e12 Track whether directory has index or not to allow getting index. 2019-09-15 13:19:39 -07:00
Dillon Kearns
d4a112b0e5 Use directory index helper for current page link helper. 2019-09-15 12:36:43 -07:00
Dillon Kearns
dd86ac052f Generate directories instead of list of sub-paths. 2019-09-15 12:14:17 -07:00
Dillon Kearns
ca101aec90 Reference local project in example docs. 2019-09-15 11:23:20 -07:00
Dillon Kearns
098f96810f Remove obsolete file. 2019-09-15 11:22:44 -07:00
Dillon Kearns
1c6ec272da Highlight current pages with primary color. 2019-09-15 10:53:58 -07:00
Dillon Kearns
8ae0e9e97a Highlight current page in navbar. 2019-09-15 10:49:20 -07:00
Dillon Kearns
a3cc710dd2 Underline current page in docs sidebar. 2019-09-15 10:39:13 -07:00
Dillon Kearns
5e9167353b Pass PagePath for current page to view. 2019-09-15 10:32:38 -07:00
Dillon Kearns
4623ecf7a5 Pass List PagePath instead of List (List String) to view function. 2019-09-13 17:53:32 -07:00
Dillon Kearns
8ce8792a94 Add missing pieces for PagePath/ImagePath refactor. 2019-09-13 14:43:40 -07:00
Dillon Kearns
b050743915 Use different type for PagePath and ImagePath. 2019-09-13 14:25:25 -07:00
Dillon Kearns
42b88ccaf1 Include elm-oembed NPM package. 2019-09-11 05:32:29 -07:00
Dillon Kearns
40b920853c Update blog post view. 2019-09-09 21:33:02 -07:00
Dillon Kearns
eb7165cfc4 Update styling. 2019-09-09 21:22:55 -07:00
Dillon Kearns
21fa164f39 Add overflow scroll to editor web component. 2019-09-09 20:58:20 -07:00
Dillon Kearns
61f5f2e01f Update blog index view. 2019-09-09 20:41:36 -07:00
Dillon Kearns
0b70ad9d58 Add blog index page. 2019-09-09 20:32:11 -07:00
Dillon Kearns
519e47b8db Add authors data as elm module. 2019-09-09 20:21:11 -07:00
Dillon Kearns
e08e68677f Add author page. 2019-09-09 20:10:50 -07:00
Dillon Kearns
9853ed206f Add avatar image to blog posts. 2019-09-09 19:04:41 -07:00
Dillon Kearns
c0bc9cf8eb Move metadata parser into Metadata module. 2019-09-09 16:55:45 -07:00
Dillon Kearns
709216777a Remove unnecessary type variable. 2019-09-09 16:36:01 -07:00
Dillon Kearns
a163b97591 Update elm-pages version. 2019-09-09 16:35:37 -07:00
Dillon Kearns
4372996d2d Display published date for articles. 2019-09-09 15:21:13 -07:00
Dillon Kearns
1c5749d1cf Add published metadata to blog posts. 2019-09-09 15:17:19 -07:00
Dillon Kearns
11c3503a25 Update meta tags for elm-pages site. 2019-09-09 14:57:18 -07:00
Dillon Kearns
de15e11c00 Update elm-package to latest version. 2019-09-08 13:47:17 -07:00
Dillon Kearns
958bc73ce9 Remove all references to image assets. 2019-09-07 12:23:11 +05:30
Dillon Kearns
e95c07b091 Clean up some meta tags on www. 2019-09-07 11:49:14 +05:30
Dillon Kearns
17b03bdcde Change type of image urls in meta tag helpers to be Pages.Path. 2019-09-07 11:03:43 +05:30
Dillon Kearns
073ec3a4c6 Add pathKey type variable to head tags. 2019-09-07 10:50:57 +05:30
Dillon Kearns
a6b25bb53d Update generator code to use new Path type. 2019-09-06 15:49:48 +05:30
Dillon Kearns
1fa5dba75e Change Path type to use phantom type for resource kind. 2019-09-06 14:38:11 +05:30
Dillon Kearns
172d96e6f0 Manually edit generated code with new Path type experiment. 2019-09-06 14:17:33 +05:30
Dillon Kearns
4c138c8b49 Add todo description. 2019-09-06 10:17:20 +05:30
Dillon Kearns
9fa568b121 Remove unused imports. 2019-09-06 10:17:05 +05:30
Dillon Kearns
939fed6111 Prepare to remove Pages.Parser helper module. 2019-09-06 10:00:52 +05:30
Dillon Kearns
23861c1b8f Change theme color. 2019-09-06 09:38:47 +05:30
Dillon Kearns
6732cd0625 Regenerate. 2019-09-06 09:34:17 +05:30
Dillon Kearns
487f50b4be Render toc in docs view. 2019-09-06 07:16:42 +05:30
Dillon Kearns
2f48c7702e Add table of contents. 2019-09-04 08:49:53 +05:30
Dillon Kearns
4070fc5598 Add a table of contents. 2019-09-01 19:59:25 +05:30
Dillon Kearns
1a5f7d8817 Add native shim to make ES5 compiled code work with service worker, see https://stackoverflow.com/a/41671440. 2019-08-30 17:54:12 +05:30
Dillon Kearns
2dacc6ae56 Validate links in markdown renderer. 2019-08-30 17:31:45 +05:30
Dillon Kearns
7f4631ade1 Update to latest markdown parser. 2019-08-30 17:16:44 +05:30
Dillon Kearns
f3f43c58e7 Change type of index docs page. 2019-08-30 17:06:27 +05:30
Dillon Kearns
690def59ab Adjust style. 2019-08-30 17:05:08 +05:30
Dillon Kearns
7ac9c680c4 Update markdown parser. 2019-08-30 17:04:45 +05:30
Dillon Kearns
5055975f30 Show blog post titles. 2019-08-30 12:18:14 +05:30
Dillon Kearns
f2a41f1726 Add article. 2019-08-30 11:32:42 +05:30
Dillon Kearns
661e51fda1 Remove unused files after moving to prism from codemirror. 2019-08-30 10:57:28 +05:30
Dillon Kearns
3cc3ef7425 Remove unused babel plugin. 2019-08-30 10:54:37 +05:30
Dillon Kearns
e070a2f960 Add prism js. 2019-08-30 10:49:10 +05:30
Dillon Kearns
2d04fb7696 Add code mirror highlighting. 2019-08-30 08:35:20 +05:30
Dillon Kearns
76a5ef2887 Update content. 2019-08-29 00:13:37 +05:30
Dillon Kearns
805eb070d5 Update spacing between list items. 2019-08-28 10:49:08 +05:30
Dillon Kearns
16eae627c4 Update to latest markdown parser. 2019-08-28 10:48:17 +05:30
Dillon Kearns
d420ef9028 Clean up renderer. 2019-08-28 10:32:11 +05:30
Dillon Kearns
a8426f433a Update to latest markdown parser. 2019-08-28 10:24:07 +05:30
Dillon Kearns
0dfaf10583 Clean up markdown renderer. 2019-08-28 10:23:06 +05:30
Dillon Kearns
8d2fd9b366 Extract markdown renderer to module. 2019-08-28 09:58:49 +05:30
Dillon Kearns
ac63dff4f8 Delete unused file. 2019-08-28 09:55:27 +05:30
Dillon Kearns
af1c6eaff2 Bump elm-pages version in docs site. 2019-08-28 09:50:28 +05:30
Dillon Kearns
fdb0c3e4d2 Address linter warnings. 2019-08-28 09:49:41 +05:30
Dillon Kearns
760b2c3dc4 Move over to markdown parsing. 2019-08-28 09:44:50 +05:30
Dillon Kearns
2c289193f4 Replace index.emu with markdown file. 2019-08-28 09:22:23 +05:30
Dillon Kearns
d1710cbf4b Finish styling for new markdown index. 2019-08-28 09:20:47 +05:30
Dillon Kearns
08db91a234 Bring in latest markdown parser. 2019-08-28 09:16:42 +05:30
Dillon Kearns
8a3251e443 Configure view for boxes blocks. 2019-08-28 09:15:35 +05:30
Dillon Kearns
ef994a55a0 Create a new markdown index page starting point. 2019-08-28 08:47:21 +05:30
Dillon Kearns
d99746f4f6 Remove debug statements. 2019-08-27 18:36:06 +05:30
Dillon Kearns
1df9d96774 Reduce spacing between page blocks. 2019-08-27 18:21:57 +05:30
Dillon Kearns
3aae520e14 Include latest markdown parser. 2019-08-27 18:17:31 +05:30
Dillon Kearns
96c9484be3 Remove unused file. 2019-08-27 14:48:21 +05:30
Dillon Kearns
486f15a9e5 Update styles for headers in docs. 2019-08-27 14:36:08 +05:30
Dillon Kearns
343a5f4e0a Replace markup file structure with markdown version. 2019-08-27 14:29:35 +05:30
Dillon Kearns
4b35b20843 Add back docs sidebar. 2019-08-27 14:27:38 +05:30
Dillon Kearns
d659690e08 Make markdown file structure page a Doc page. 2019-08-27 14:16:29 +05:30
Dillon Kearns
f976aabf4a Add gradient to navbar. 2019-08-27 12:23:44 +05:30
Dillon Kearns
69542b4df9 Make intellij plugin happy. 2019-08-27 12:11:36 +05:30
Dillon Kearns
32f9333f13 Remove file from package that was causing editor conflict. 2019-08-27 12:09:55 +05:30
Dillon Kearns
ce317f9c1b Address some more linter warnings. 2019-08-27 10:55:16 +05:30
Dillon Kearns
65279492d0 Address some linter warnings. 2019-08-27 10:50:22 +05:30
Dillon Kearns
65fe4d3730 Update markdown parser dependency. 2019-08-27 10:50:16 +05:30
Dillon Kearns
9d50c31384 Update content. 2019-08-27 10:50:02 +05:30
Dillon Kearns
f4395db117 Wiret up latest markdown parser. 2019-08-25 08:35:38 -07:00
Dillon Kearns
ca26edf043 Change font color. 2019-08-24 21:39:15 -07:00
Dillon Kearns
933e8f6d96 Update to latest markdown parser. 2019-08-24 21:38:45 -07:00
Dillon Kearns
aef8e715dc Remove file that should have been ignored. 2019-08-24 20:40:13 -07:00
Dillon Kearns
066a0bea5a Style headers in markdown parser. 2019-08-24 19:46:04 -07:00
Dillon Kearns
525426549e Add a simple markdown parser. 2019-08-24 19:43:52 -07:00
Dillon Kearns
452685fe4f Copy over elm-markdown-parser package locally. 2019-08-24 19:33:33 -07:00
Dillon Kearns
c646faae03 Add annotation. 2019-08-24 19:33:18 -07:00
Dillon Kearns
c41d30efbd Add hardcoded markdown document. 2019-08-24 19:29:19 -07:00
Dillon Kearns
ef92c2aa37 Move docs site over to new version. 2019-08-24 18:58:48 -07:00
Dillon Kearns
46bf960bae Remove obsolete files. 2019-08-20 20:45:45 -07:00
Dillon Kearns
24ff8933e4 Change root route style. 2019-08-19 18:56:55 -07:00
Dillon Kearns
7938a520e9 Bump some dependencies. 2019-08-19 16:40:05 -07:00
Dillon Kearns
7fae251977 Remove unused file. 2019-08-19 16:38:30 -07:00
Dillon Kearns
be2e29de6c Use sourceIcon from manifest config. 2019-08-19 16:34:48 -07:00
Dillon Kearns
713d9f0690 Remove file that will be generated in elm-stuff folder. 2019-08-19 14:50:50 -07:00
Dillon Kearns
1d936829d2 Change generated code style. 2019-08-19 14:50:33 -07:00
Dillon Kearns
c022531ff2 Clean up hand-generated file. 2019-08-19 10:18:56 -07:00
Dillon Kearns
62cd55d076 Remove comment. 2019-08-19 09:32:24 -07:00
Dillon Kearns
bf26b89283 Move cliApplication helper to Pages module. 2019-08-19 09:32:09 -07:00
Dillon Kearns
a951201205 Add temporary nodejs file used to run elm app. 2019-08-19 08:55:42 -07:00
Dillon Kearns
e1065522e6 Use new Pages interface with temporary hand-generated code. 2019-08-19 08:54:28 -07:00
Dillon Kearns
bef1d41402 Update package dependencies. 2019-08-18 16:27:34 -07:00
Dillon Kearns
af1a0eac92 Include styles in docs site. 2019-08-17 07:20:27 -07:00
Dillon Kearns
62f39d22f6 Update to latest elm-package code. 2019-08-17 06:06:42 -07:00
Dillon Kearns
36a535b37c Remove favicons dependency that's obsolete after webpack version. 2019-08-15 15:58:34 -07:00
Dillon Kearns
020228f8ed Use favicons webpack plugin. 2019-08-15 15:51:19 -07:00
Dillon Kearns
2cba862b67 Clean up formatting. 2019-08-11 08:10:53 -07:00
Dillon Kearns
fd0d44836a Reduce logo size. 2019-08-11 07:58:16 -07:00
Dillon Kearns
4b531afb4f Add docs sidebar and some starting pages. 2019-08-10 18:14:13 -07:00
Dillon Kearns
e94ceee02a Make doc sidebar view helper. 2019-08-10 17:23:12 -07:00
Dillon Kearns
b488387001 Pass metadata in to view function. 2019-08-10 17:22:49 -07:00
Dillon Kearns
f19f53164f Add missing case branch. 2019-08-10 16:44:43 -07:00
Dillon Kearns
a9ebd1e7e5 Dasherize anchor fragment ids. 2019-08-10 14:25:31 -07:00
Dillon Kearns
4a985ef544 Add Subheading block with anchor links. 2019-08-10 13:59:55 -07:00
Dillon Kearns
29a767f1c7 Add doc pages to doc site. 2019-08-10 11:37:52 -07:00
Dillon Kearns
670f840b03 Show svg icon in navbar. 2019-08-10 10:38:00 -07:00
Dillon Kearns
8af4fac3de Add gradient to SVG definition. 2019-08-10 10:28:15 -07:00
Dillon Kearns
8555ea2763 Add svg view. 2019-08-10 09:56:29 -07:00
Dillon Kearns
eb620ec194 Add flex-wrap to values to make it mobile-friendly. 2019-08-09 16:17:14 -07:00
Dillon Kearns
e19fa08a49 Update to latest elm-ui. 2019-08-09 12:30:41 -07:00
Dillon Kearns
7ae452fdfa Point to apple touch icon. 2019-08-09 12:19:07 -07:00
Dillon Kearns
cf2e1dacc7 Fix color conversion in manifest file. 2019-08-09 12:10:15 -07:00
Dillon Kearns
facc652b3c Write icons to manifest.webmanifest file. 2019-08-09 11:59:41 -07:00
Dillon Kearns
d7130e6798 Add helper for generating logo assets. 2019-08-09 10:27:21 -07:00
Dillon Kearns
c3d3a93710 Add stubbed service-worker.js to make parcel happy. 2019-08-08 21:42:25 -07:00
Dillon Kearns
e92d9c9e9f Register service worker in index.html. 2019-08-08 21:39:36 -07:00
Dillon Kearns
42aac98497 Add script to generate service-worker from workbox as part of npm run build. 2019-08-08 21:34:40 -07:00
Dillon Kearns
c1d42c05f2 Add workbox config. 2019-08-08 21:27:54 -07:00
Dillon Kearns
1efa1df106 Add netlify.toml config file. 2019-08-08 19:13:13 -07:00
Dillon Kearns
6230e101d4 Change inline code font. 2019-08-08 19:06:19 -07:00
Dillon Kearns
ed50582a1a Remove some sample articles from docs site. 2019-08-08 19:01:01 -07:00
Dillon Kearns
cdf962f9d2 Address some lighthouse warnings. 2019-08-08 18:58:43 -07:00
Dillon Kearns
590e09de5d Add prototype code for generating manifest.webmanifest file. 2019-08-08 18:23:20 -07:00
Dillon Kearns
8ee4912707 Rewrite type annotation. 2019-08-08 17:48:23 -07:00
Dillon Kearns
761ff24a36 Add http-server dependency. 2019-08-08 17:48:03 -07:00
Dillon Kearns
d0d415820d Rename some variables. 2019-08-08 16:48:03 -07:00
Dillon Kearns
9b0b6915db Update dependencies. 2019-08-05 21:45:24 -07:00
Dillon Kearns
8b44dde693 Remove obsolete line of code. 2019-08-05 18:12:34 -07:00
Dillon Kearns
c681834fc4 Remove unused import. 2019-08-05 18:09:42 -07:00
Dillon Kearns
c2bc4be5fb Extract helper module in preparation for npm package extraction. 2019-08-05 18:08:01 -07:00
Dillon Kearns
91a8c0e0bc Update dependencies. 2019-08-05 16:18:40 -07:00
Dillon Kearns
ad41434ae1 Rename function. 2019-08-05 16:01:56 -07:00
Dillon Kearns
9ec5923ea1 Rename variables. 2019-08-05 16:01:32 -07:00
Dillon Kearns
3a5dc7c12f Rename type. 2019-08-05 16:00:17 -07:00
Dillon Kearns
d6f80065a7 Remove elm yaml parser dependency. 2019-08-05 15:20:30 -07:00
Dillon Kearns
6cc1401b52 Regenerate file with new format. 2019-08-05 15:18:23 -07:00
Dillon Kearns
728fef16af Use Json decoding instead of Yaml decoding for markdown frontmatter. 2019-08-05 15:17:18 -07:00
Dillon Kearns
8883167f8c Remove unused Msg constructors. 2019-08-05 14:13:05 -07:00
Dillon Kearns
a44a8f2270 Add another link for reference. 2019-08-05 13:50:12 -07:00
Dillon Kearns
e68b950af5 Add todo comment. 2019-08-05 13:49:38 -07:00
Dillon Kearns
a58bb00119 Add song builder function. 2019-08-05 13:30:30 -07:00
Dillon Kearns
44e08be4d9 Extract out common type. 2019-08-05 13:29:30 -07:00
Dillon Kearns
bc590bbf0e Add song to open graph. 2019-08-05 13:25:42 -07:00
Dillon Kearns
72da19ad93 Use MimeType alias. 2019-08-05 13:20:21 -07:00
Dillon Kearns
5754443168 Use audio tags if provided. 2019-08-05 13:19:33 -07:00
Dillon Kearns
4c33914cdc Use helper function to build common OpenGraph data. 2019-08-05 13:10:18 -07:00
Dillon Kearns
d3480e2a81 Add more types to OpenGraph helper. 2019-08-05 12:59:31 -07:00
Dillon Kearns
3a1d525692 Fix typo. 2019-08-05 12:03:47 -07:00
Dillon Kearns
e1aeda7a47 Add OpenGraph book type. 2019-08-05 12:02:44 -07:00
Dillon Kearns
5f7681157c Use OpenGraph helper for articles. 2019-08-05 11:56:25 -07:00
Dillon Kearns
21be10642a Add OpenGraph article helper. 2019-08-05 11:53:20 -07:00
Dillon Kearns
1e4eccdfb2 Update OpenGraph website helper. 2019-08-05 11:30:54 -07:00
Dillon Kearns
3790c65a2b Rename Pages.program to Pages.application. 2019-08-05 11:14:29 -07:00
Dillon Kearns
3a54c7de1c Remove siteUrl argument from Pages.application. 2019-08-05 11:13:42 -07:00
Dillon Kearns
51f24dcc9b Add meta description helper function. 2019-08-05 10:57:14 -07:00
Dillon Kearns
437018ddf6 Use meta property for OpenGraph helpers. 2019-08-05 10:43:02 -07:00
Dillon Kearns
13a057252a Add og:title to OpenGraph helper. 2019-08-05 10:34:22 -07:00
Dillon Kearns
b2e58c7a95 Create open graph meta tag helper. 2019-08-05 10:32:10 -07:00
Dillon Kearns
2acf317245 Add OpenGraph helper module. 2019-08-05 10:21:02 -07:00
Dillon Kearns
7ed754ab53 Finish twitter app card data. 2019-08-05 09:00:53 -07:00
Dillon Kearns
af48f9a414 Update doc comments. 2019-08-05 08:50:37 -07:00
Dillon Kearns
d3e75ad0c7 Use social meta helper in docs site. 2019-08-05 08:49:25 -07:00
Dillon Kearns
5c1da0cb77 Handle all the summary card attributes. 2019-08-05 08:44:31 -07:00
Dillon Kearns
c365139e7d Add some more types to the twitter cards types. 2019-08-05 08:10:24 -07:00
Dillon Kearns
70a253935f Create social meta helper starting point. 2019-08-05 07:53:01 -07:00
Dillon Kearns
77fbfdf2c4 Update page title. 2019-08-05 07:30:12 -07:00
Dillon Kearns
a512076195 Replace Head.node with more constrainted tag helpers. 2019-08-05 07:28:02 -07:00
Dillon Kearns
f952e91658 Rename HeadTag module and type. 2019-08-05 07:11:55 -07:00
Dillon Kearns
3f32ba15e6 Update docs meta tags. 2019-08-05 07:03:02 -07:00
Dillon Kearns
7a0c494fe0 Add value. 2019-08-04 21:26:04 -07:00
Dillon Kearns
1f0c2af273 Move Pages.elm module to elm package directory. 2019-08-04 20:00:19 -07:00
Dillon Kearns
cef5329b75 Add -f to rm command to avoid error. 2019-08-04 19:56:58 -07:00
Dillon Kearns
a2e6cec504 Update copy. 2019-08-04 19:36:21 -07:00
Dillon Kearns
c71eb3a3f1 Update landing page. 2019-08-04 19:26:04 -07:00
Dillon Kearns
28944dcfc9 Add some values. 2019-08-04 17:50:55 -07:00
Dillon Kearns
9389ac95f4 Add some content. 2019-08-04 10:33:58 -07:00
Dillon Kearns
46630fda34 Create starting point for docs site. 2019-08-02 21:19:02 -07:00