feat: added website template

This commit is contained in:
Nick 2025-06-22 19:25:27 -05:00
parent ac4fca8fe6
commit 27781d3d0f
34 changed files with 13 additions and 1 deletions

View file

@ -9,5 +9,6 @@ builtins.attrValues {
; ;
inherit (pkgs.elmPackages) inherit (pkgs.elmPackages)
elm-language-server elm-language-server
elm-review
; ;
} }

1
templates/website/.envrc Executable file
View file

@ -0,0 +1 @@
use flake

1
templates/website/.gitignore vendored Executable file
View file

@ -0,0 +1 @@
.direnv

0
templates/website/backend/.gitignore vendored Normal file → Executable file
View file

2
templates/website/backend/backend.cabal Normal file → Executable file
View file

@ -6,5 +6,7 @@ executable main
main-is: Main.hs main-is: Main.hs
build-depends: build-depends:
, base , base
, scotty
, wai-cors
default-language: Haskell2010 default-language: Haskell2010
hs-source-dirs: src hs-source-dirs: src

0
templates/website/backend/src/Main.hs Normal file → Executable file
View file

0
templates/website/flake.lock generated Normal file → Executable file
View file

0
templates/website/flake.nix Normal file → Executable file
View file

0
templates/website/frontend/.gitignore vendored Normal file → Executable file
View file

0
templates/website/frontend/README.md Normal file → Executable file
View file

0
templates/website/frontend/elm-land.json Normal file → Executable file
View file

3
templates/website/frontend/elm.json Normal file → Executable file
View file

@ -11,6 +11,7 @@
"elm/browser": "1.0.2", "elm/browser": "1.0.2",
"elm/core": "1.0.5", "elm/core": "1.0.5",
"elm/html": "1.0.0", "elm/html": "1.0.0",
"elm/http": "2.0.0",
"elm/json": "1.1.3", "elm/json": "1.1.3",
"elm/svg": "1.0.1", "elm/svg": "1.0.1",
"elm/url": "1.0.0", "elm/url": "1.0.0",
@ -22,6 +23,8 @@
}, },
"indirect": { "indirect": {
"avh4/elm-color": "1.0.0", "avh4/elm-color": "1.0.0",
"elm/bytes": "1.0.8",
"elm/file": "1.0.5",
"elm/parser": "1.1.0", "elm/parser": "1.1.0",
"elm/random": "1.0.0", "elm/random": "1.0.0",
"elm/regex": "1.0.0", "elm/regex": "1.0.0",

View file

View file

View file

View file

0
templates/website/frontend/src/Config/Style/Fonts.elm Normal file → Executable file
View file

0
templates/website/frontend/src/Config/Style/Glow.elm Normal file → Executable file
View file

View file

View file

View file

View file

0
templates/website/frontend/src/Effect.elm Normal file → Executable file
View file

6
templates/website/frontend/src/Pages/Home_.elm Normal file → Executable file
View file

@ -1,9 +1,13 @@
module Pages.Home_ exposing (Model, Msg, page) module Pages.Home_ exposing (Model, Msg, page)
import Effect exposing (Effect) import Effect exposing (Effect)
import Route exposing (Route) import Element as E exposing (..)
import Element.Background as B exposing (..)
import Element.Border as D exposing (..)
import Html import Html
import Html.Attributes exposing (..)
import Page exposing (Page) import Page exposing (Page)
import Route exposing (Route)
import Shared import Shared
import View exposing (View) import View exposing (View)

0
templates/website/frontend/src/Pages/NotFound_.elm Normal file → Executable file
View file

0
templates/website/frontend/src/Shared.elm Normal file → Executable file
View file

0
templates/website/frontend/src/Shared/Model.elm Normal file → Executable file
View file

0
templates/website/frontend/src/Shared/Msg.elm Normal file → Executable file
View file

0
templates/website/frontend/src/View.elm Normal file → Executable file
View file

0
templates/website/frontend/src/interop.ts Normal file → Executable file
View file

0
templates/website/parts/config/devshells.nix Normal file → Executable file
View file

0
templates/website/parts/config/packages.nix Normal file → Executable file
View file

0
templates/website/parts/config/pre-commit.nix Normal file → Executable file
View file

0
templates/website/parts/default.nix Normal file → Executable file
View file