Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #59 from elm-land/release/0.18.2
π¦ Release β Elm Land v0.19.0
- Loading branch information
Showing
150 changed files
with
12,233 additions
and
3,684 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
dist | ||
node_modules | ||
node_modules | ||
.vitepress/cache |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
<template> | ||
<div class="grid"> | ||
<a class="news-post grid__tile" v-for="tile in tiles" target="_blank" rel="noopener" :href="toUrl(tile.id)"> | ||
<h3 v-text="tile.title"></h3> | ||
<img :src="tile.src" alt="Screenshot" width="320" height="180" /> | ||
</a> | ||
</div> | ||
</template> | ||
|
||
|
||
<script> | ||
export default { | ||
data: () => ({ | ||
tiles: [ | ||
{ kind: "official", title: "π± Hello, world!", id: "01-hello-world", src: "/images/guide/hello-world.jpg" }, | ||
{ kind: "official", title: "π Pages and routes", id: "02-pages-and-routes", src: "/images/guide/pages-and-routes.gif" }, | ||
{ kind: "official", title: "π’ User input", id: "03-user-input", src: "/images/guide/user-input.gif" }, | ||
{ kind: "official", title: "π£ REST APIs", id: "04-rest-apis", src: "/images/guide/rest-apis.gif" }, | ||
{ kind: "official", title: "π User auth", id: "05-user-auth", src: "/images/guide/user-auth.gif" }, | ||
{ kind: "official", title: "π Query Parameters", id: "06-query-parameters", src: "/images/guide/query-parameters.gif" }, | ||
{ kind: "official", title: "𧱠Working with JS", id: "07-working-with-js", src: "/images/examples/working-with-js.gif" }, | ||
{ kind: "official", title: "πͺ Nested Layouts", id: "08-nested-layouts", src: "/images/examples/nested-layouts.gif" }, | ||
{ kind: "official", title: "𧩠TypeScript Interop", id: "10-typescript-interop", src: "/images/examples/typescript.gif" }, | ||
{ kind: "official", title: "π¨ Error Reporting", id: "11-error-reporting", src: "/images/examples/sentry.gif" }, | ||
{ kind: "official", title: "π¨ Using Elm UI", id: "12-elm-ui", src: "/images/examples/elm-ui.jpg" }, | ||
{ kind: "official", title: "π©βπ¨ Using Elm CSS", id: "13-elm-css", src: "/images/examples/elm-css.jpg" }, | ||
{ kind: "official", title: "π SCSS & Assets", id: "14-scss-and-assets", src: "/images/examples/scss.jpg" }, | ||
{ kind: "official", title: "π€· Custom 404 Pages", id: "15-custom-404-pages", src: "/images/examples/404.jpg" }, | ||
{ kind: "official", title: "#οΈβ£ Hash-based Routing", id: "16-hash-based-routing", src: "/images/guide/pages-and-routes.gif" }, | ||
] | ||
}), | ||
methods: { | ||
toUrl: (id) => { | ||
return `https://github.com/elm-land/elm-land/tree/main/examples/${id}` | ||
} | ||
} | ||
} | ||
</script> | ||
|
||
<style> | ||
.grid { | ||
display: grid; | ||
gap: 2rem; | ||
justify-content: center; | ||
grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); | ||
} | ||
.grid__tile { | ||
display: flex; | ||
flex-direction: column; | ||
gap: 1rem; | ||
padding: 1rem; | ||
margin: 0; | ||
} | ||
.grid__tile h3 { | ||
padding: 0; | ||
margin: 0; | ||
} | ||
.grid__tile img { | ||
border-radius: 4px; | ||
margin: 0; | ||
flex-grow: 1; | ||
} | ||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<template> | ||
<h3 v-text="title"></h3> | ||
</template> | ||
|
||
|
||
<script> | ||
export default { | ||
props: { | ||
title: String | ||
} | ||
} | ||
</script> |
Oops, something went wrong.