Skip to content
Snippets Groups Projects
Commit 802fe880 authored by Oskar Marquardt's avatar Oskar Marquardt
Browse files

Initial commit

parent 7e14d754
Branches
No related tags found
No related merge requests found
Pipeline #22103 passed
elm-stuff/
ZZZ_meta/
\ No newline at end of file
elm.json 0 → 100644
{
"type": "application",
"source-directories": [
"src"
],
"elm-version": "0.19.1",
"dependencies": {
"direct": {
"elm/browser": "1.0.2",
"elm/core": "1.0.5",
"elm/html": "1.0.0",
"elm/http": "2.0.0",
"elm/json": "1.1.3",
"elm/svg": "1.0.1",
"elm/url": "1.0.0"
},
"indirect": {
"elm/bytes": "1.0.8",
"elm/file": "1.0.5",
"elm/time": "1.0.0",
"elm/virtual-dom": "1.0.3"
}
},
"test-dependencies": {
"direct": {},
"indirect": {}
}
}
<!DOCTYPE html> <!DOCTYPE HTML>
<html> <html>
<head> <head>
<meta charset="utf-8"> <meta charset="UTF-8">
<meta name="generator" content="GitLab Pages"> <meta name="viewport" content="width=device-width, initial-scale=1">
<title>Plain HTML site using GitLab Pages</title> <script src="main.js"></script>
<link rel="stylesheet" href="style.css"> <link
</head> rel="stylesheet"
<body> href="https://cdn.jsdelivr.net/npm/bulma@1.0.0/css/bulma.min.css"
<div class="navbar"> >
<a href="https://pages.gitlab.io/plain-html/">Plain HTML Example</a> </head>
<a href="https://gitlab.com/pages/plain-html/">Repository</a> <body>
<a href="https://gitlab.com/pages/">Other Examples</a> <div id="myapp"></div>
</div> <script>
var app = Elm.Main.init();
<h1>Hello World!</h1> </script>
</body>
<p> </html>
This is a simple plain-HTML website on GitLab Pages, without any fancy static site generator. \ No newline at end of file
</p>
</body>
</html>
body {
font-family: sans-serif;
margin: auto;
max-width: 1280px;
}
.navbar {
background-color: #313236;
border-radius: 2px;
max-width: 800px;
}
.navbar a {
color: #aaa;
display: inline-block;
font-size: 15px;
padding: 10px;
text-decoration: none;
}
.navbar a:hover {
color: #ffffff;
}
module Main exposing (..)
import Browser
import Html exposing (..)
import Html.Attributes exposing (..)
main : Program () Model Msg
main =
Browser.document
{ init = init
, view = view
, update = update
, subscriptions = subscriptions
}
init : () -> ( Model, Cmd Msg )
init _ =
( {}
, Cmd.none
)
type alias Model = {}
type Msg
= Nothing
update : Msg -> Model -> ( Model, Cmd Msg )
update msg model =
( model, Cmd.none )
view : Model -> Browser.Document Msg
view model =
{ title = "TBD"
, body =
[ div [] []
]
}
subscriptions : Model -> Sub Msg
subscriptions _ =
Sub.none
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment