Commit Graph

16 Commits

Author SHA1 Message Date
Gabriel Gonzalez
6a70f133a1
Version 1.19.1 → 1.20.0 (#767) 2018-12-29 11:48:21 -06:00
Gabriel Gonzalez
f8e31956e9
Fix first example on dhall-lang.org (#762)
Several people commented that they had difficulty with the first example:

* They didn't realize that the mistake was supposed to be typo because they
  never found it
* They didn't realize they were supposed to progress to the next tab

This changes fixes those two issues
2018-12-21 08:52:42 -06:00
Gabriel Gonzalez
2635c582eb
Add contributing instructions for the website (#760)
This is so that I can link people to the `README` if they are interested in
improving the site
2018-12-20 10:36:10 -08:00
Gabriel Gonzalez
374f42ad98
Fix live editor for dhall-lang.org (#759)
Setting the `display: none` style for `textarea`s makes them uneditable
2018-12-17 18:10:41 -08:00
Gabriel Gonzalez
34e1d79eaa
Additional fixes to dhall-lang.org (#758)
This updates `dhall-lang.org` with the following main changes:

* Greater emphasis on Dhall as a YAML alternative
    * New tagline: "A non-repetitive alternative to YAML"
    * YAML output now selected by default
* More prounounced call to action (i.e. "Get Started" button)
    * Now located in both navbar and in final section
* Fixed issues identified by Chrome's audit tool
    * Better SEO
    * Textual header
    * Alternative text for images
    * Slight improvements to Javascript loading
* Better support for mobile browsers
    * The input/output code panes will now vertically stack
2018-12-17 09:43:07 -08:00
Basile Henry
145d150e25 Fix link (#755) 2018-12-13 07:07:05 -08:00
Gabriel Gonzalez
615eccb10d
Expand main page with high-level reasons to adopt Dhall (#754)
This adds four new sections to the page after the live demo which highlight
the common themes that I notice people use when communicating the value of
Dhall to others on social media:

* The first section emphasizes the element of delight in using the language for
  people who are into elegance and quality

* The second section focuses on more pragmatic people who are sick of YAML and
  just want a reasonable alternative that they can convince their manager to
  adopt

* The third section appeals to the LangSec crowd that wants an uncompromising
  and secure foundation for what they are buliding

* The last section targeted at the skeptic who thinks that Dhall is an ivory
  tower language not suited for real-world problems.

The second crowd (YAML emigrants) is the audience that I'm targeting the
most strongly at the moment, but I didn't want to lead with a negative reason
adopt by focusing on the limitations of YAML, so I put the section on delight
first so that we could start with a more positive tone.
2018-12-13 06:44:33 -08:00
Gabriel Gonzalez
dfd9822e77
Add new "Type" and "YAML" output tabs to live demo (#753)
This moves the type annotation into a separate tab, both to avoid
the type cluttering the default output tab and to allow a display
mode that focuses on highlighting just the type.

This also adds a "YAML" output tab to gently suggest to the user
that Dhall is intended to be an alternative to YAML.  Unfortunately,
we can't use the Haskell `yaml` package to render to YAML when
building with GHCJS, but we can still perform the JSON-to-YAML
conversion in JavaScript.
2018-12-12 16:53:24 -08:00
Gabriel Gonzalez
ed30a6a394
Fix link to built-in operators on website (#751) 2018-12-11 05:19:03 -08:00
Gabriel Gonzalez
00315c1449
Fix kubernetes logo in list of integrations (#750)
The logo is an SVG file, not a PNG
2018-12-11 05:17:07 -08:00
Gabriel Gonzalez
d7d8139d39
Expand "Try dhall" into dhall-lang.org home page (#747)
This expands the "Try dhall" page to serve as a functional home page for
"dhall-lang.org" in the short term by making the following changes:

* Adding a navigation bar to the top that links to useful resources and
  official integrations
* Adding a quick summary explaining what Dhall is
2018-12-10 12:28:19 -08:00
Basile Henry
cdef63b28e try-dhall: Remove .pub from example private key (#748) 2018-12-10 08:28:08 -08:00
Gabriel Gonzalez
67ebf6efd6
Minify Javascript code generated by GHCJS (#745)
This reduces the size of the generated JavaScript code from ~15 MB to ~6 MB
2018-12-10 07:21:41 -08:00
Gabriel Gonzalez
c1e1ab1a13
Add an example of using imports (#746)
We can import expressions from `https://prelude.dhall-lang.org`
now that it provides CORS support.  See:

https://github.com/dhall-lang/dhall-lang/pull/315
2018-12-10 06:55:28 -08:00
Gabriel Gonzalez
e75469983d
Add "Try Dhall" examples and JSON output (#742)
This change sthe layout to a side-by-side split-pane output
and also adds tabs for each pane:

* Tabs for the left pane let you switch between examples
* Tabs for the right pane let you switch between output modes
2018-12-09 08:24:33 -08:00
Gabriel Gonzalez
cf69f5a953
Add "Try Dhall" project (#739)
This adds three new Nix build products:

* `try-dhall-static` - The static assets for "Try Dhall"
* `try-dhall-server` - A script which serves the static assets for local
   debugging
* `tarball-try-dhall` - A tarball of the static assets

This is powered by a new small `dhall-try` package which is also included
in this change.
2018-12-06 18:00:03 -08:00