Skip to content

Commit

Permalink
Upgrade vitepress to latest version
Browse files Browse the repository at this point in the history
  • Loading branch information
ryan-haskell committed Jan 4, 2024
1 parent 725be0e commit ef6ce81
Show file tree
Hide file tree
Showing 4 changed files with 1,346 additions and 1,065 deletions.
5 changes: 4 additions & 1 deletion docs/.vitepress/config.js → docs/.vitepress/config.mjs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import { defineConfig } from 'vitepress'

const version = '0.19.4'

const sidebar = [
Expand Down Expand Up @@ -49,7 +51,7 @@ const sidebar = [
}
]

export default {
export default defineConfig({
title: 'Elm Land',
description: 'Reliable web apps for everyone. A production-ready framework for building Elm applications. Build your next app with confidence, step by step.',
head: [
Expand Down Expand Up @@ -117,3 +119,4 @@ export default {
lastUpdatedText: 'Updated on'
}
}
)
4 changes: 2 additions & 2 deletions docs/news/hello-world.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ In the top-left corner, he added "ML family" (things like Haskell or OCaml) and

Evan suggested that there's an ideal place, somewhere in the top-right corner of the graph, where a language could be __both usable _and_ easy to maintain__. To represent that ideal spot, Evan drew a little rainbow:

![A graph, showing a happy rainbow in the top right, that looks oddly like the Elm Land logo...](../public/images/news/hello-world/empty-graph.jpg)
![A graph, showing a happy rainbow in the top right, that looks oddly like the Elm Land logo...](/images/news/hello-world/empty-graph.jpg)

Evan asked the audience another question: how do we get __those functional programmers__ to this happy place? After a brief pause, he revealed that it was a trick question: this goal might not make sense.

Expand All @@ -61,7 +61,7 @@ Why isn't this Evan's goal? Here's how he explains the problem in his talk:
Instead, Evan suggested a different goal: Set out to __improve the maintainability__ for the huge number of folks doing frontend web development. This led to a brand new arrow being drawn on the graph instead:

![An arrow pointing from JS to a happy rainbow logo](../public//images/news/hello-world/js-to-rainbow.jpg)
![An arrow pointing from JS to a happy rainbow logo](/images/news/hello-world/js-to-rainbow.jpg)

At its core, Elm is about making reliable apps more accessible to everyone. The goal of _Elm Land_ is to return to the guiding principles that Evan outlined in his talk:
- __Gradual learning__ - Make things welcoming for folks getting started
Expand Down

0 comments on commit ef6ce81

Please sign in to comment.