You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: examples/docs/app/Route/Index.elm
+8-8Lines changed: 8 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@ import Head
7
7
importHead.SeoasSeo
8
8
importHtml.StyledasHtmlexposing (..)
9
9
importHtml.Styled.AttributesasAttrexposing (css)
10
-
importLink
10
+
importLinkexposing (Link)
11
11
importPages.Url
12
12
importPagesMsgexposing (PagesMsg)
13
13
importRouteexposing (Route)
@@ -118,7 +118,7 @@ landingView =
118
118
{ heading ="Pull in typed Elm data to your pages"
119
119
, body ="Whether your data is coming from markdown files, APIs, a CMS, or all of the above, elm-pages lets you pull in just the data you need for a page. No loading spinners, no Msg or update logic, just define your data and use it in your view."
, body ="Make sure your site previews look polished with the type-safe SEO API. `elm-pages build` pre-renders HTML for your pages. And your SEO tags get access to the page's BackendTasks."
, body ="With server-rendered routes, you can seamlessly pull in user-specific data from your backend and hydrate it into a dynamic Elm application. No API layer required. You can access incoming HTTP requests from your server-rendered routes, and even use the Session API to manage key-value pairs through signed cookies."
235
235
, buttonText ="Learn about server-rendered routes"
, body ="elm-pages uses progressively enhanced web standards. The Web has had a way to send data to backends for decades, no need to re-invent the wheel! Just modernize it with some progressive enhancement. You define your Form and validations declaratively, and elm-pages gives you client-side validations and state with no Model/init/update wiring whatsoever. You can even derive pending/optimistic UI from the in-flight form submissions (which elm-pages manages and exposes to you for free as well!)."
0 commit comments