From 216d10b85b78e13b48fce5eabf124cc577317c24 Mon Sep 17 00:00:00 2001 From: Mark Gerrard Date: Tue, 10 Mar 2026 14:40:45 +0000 Subject: [PATCH] init --- README.md | 16 ++++++++++++++++ elm-land.json | 27 +++++++++++++++++++++++++++ elm.json | 25 +++++++++++++++++++++++++ src/Pages/Home_.elm | 11 +++++++++++ 4 files changed, 79 insertions(+) create mode 100644 README.md create mode 100644 elm-land.json create mode 100644 elm.json create mode 100644 src/Pages/Home_.elm diff --git a/README.md b/README.md new file mode 100644 index 0000000..311c3ce --- /dev/null +++ b/README.md @@ -0,0 +1,16 @@ +# learning +> Built with [Elm Land](https://elm.land) 🌈 + +## Local development + +```bash +# Requires Node.js v18+ (https://nodejs.org) +npx elm-land server +``` + +## Deploying to production + +Elm Land projects are most commonly deployed as static websites. + +Please visit [the "Deployment" guide](https://elm.land/guide/deploying) to learn more +about deploying your app for free using Netlify or Vercel. \ No newline at end of file diff --git a/elm-land.json b/elm-land.json new file mode 100644 index 0000000..3d9c0d7 --- /dev/null +++ b/elm-land.json @@ -0,0 +1,27 @@ +{ + "app": { + "elm": { + "development": { "debugger": true }, + "production": { "debugger": false } + }, + "env": [], + "html": { + "attributes": { + "html": { "lang": "en" }, + "head": {} + }, + "title": "Elm Land", + "meta": [ + { "charset": "UTF-8" }, + { "http-equiv": "X-UA-Compatible", "content": "IE=edge" }, + { "name": "viewport", "content": "width=device-width, initial-scale=1.0" } + ], + "link": [], + "script": [] + }, + "router": { + "useHashRouting": false + }, + "proxy": null + } +} \ No newline at end of file diff --git a/elm.json b/elm.json new file mode 100644 index 0000000..5868b5e --- /dev/null +++ b/elm.json @@ -0,0 +1,25 @@ +{ + "type": "application", + "source-directories": [ + "src", + ".elm-land/src" + ], + "elm-version": "0.19.1", + "dependencies": { + "direct": { + "elm/browser": "1.0.2", + "elm/core": "1.0.5", + "elm/html": "1.0.0", + "elm/json": "1.1.3", + "elm/url": "1.0.0" + }, + "indirect": { + "elm/time": "1.0.0", + "elm/virtual-dom": "1.0.3" + } + }, + "test-dependencies": { + "direct": {}, + "indirect": {} + } +} diff --git a/src/Pages/Home_.elm b/src/Pages/Home_.elm new file mode 100644 index 0000000..945a2e3 --- /dev/null +++ b/src/Pages/Home_.elm @@ -0,0 +1,11 @@ +module Pages.Home_ exposing (page) + +import Html +import View exposing (View) + + +page : View msg +page = + { title = "Homepage" + , body = [ Html.text "Hello, world!" ] + }