Update landing page.

This commit is contained in:
Dillon Kearns 2021-05-29 12:49:57 -07:00
parent ac7dcaf5b2
commit 43509610d2

View File

@ -131,7 +131,7 @@ landingView =
[]
, firstSection
{ heading = "Pull in typed Elm data to your pages"
, body = "Whether your data is coming from markdown files, APIs, a CMS, or all at once, elm-pages lets you pull in just the data you need for a page."
, 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."
, buttonText = "Check out the Docs"
, buttonLink = Route.Docs__Section__ { section = Nothing }
, svgIcon = "M12 6.253v13m0-13C10.832 5.477 9.246 5 7.5 5S4.168 5.477 3 6.253v13C4.168 18.477 5.754 18 7.5 18s3.332.477 4.5 1.253m0-13C13.168 5.477 14.754 5 16.5 5c1.747 0 3.332.477 4.5 1.253v13C19.832 18.477 18.247 18 16.5 18c-1.746 0-3.332.477-4.5 1.253"
@ -193,9 +193,9 @@ all =
(DataSource.File.request filePath DataSource.File.body)
(repo projectName)
)
|> Glob.ignore (Glob.literal "projects/")
|> Glob.match (Glob.literal "projects/")
|> Glob.capture Glob.wildcard
|> Glob.ignore (Glob.literal ".txt")
|> Glob.match (Glob.literal ".txt")
|> Glob.captureFilePath
|> Glob.toDataSource
|> DataSource.resolve