Initial commit
This commit is contained in:
commit
cd689fde93
17 changed files with 1509 additions and 0 deletions
20
.config/dotnet-tools.json
Normal file
20
.config/dotnet-tools.json
Normal file
|
@ -0,0 +1,20 @@
|
|||
{
|
||||
"version": 1,
|
||||
"isRoot": true,
|
||||
"tools": {
|
||||
"paket": {
|
||||
"version": "9.0.2",
|
||||
"commands": [
|
||||
"paket"
|
||||
],
|
||||
"rollForward": false
|
||||
},
|
||||
"fable": {
|
||||
"version": "5.0.0-alpha.13",
|
||||
"commands": [
|
||||
"fable"
|
||||
],
|
||||
"rollForward": false
|
||||
}
|
||||
}
|
||||
}
|
42
build.fsx
Normal file
42
build.fsx
Normal file
|
@ -0,0 +1,42 @@
|
|||
#load "./.paket/load/net9.0/Build/build.group.fsx"
|
||||
|
||||
open Fake.Core
|
||||
open Fake.DotNet
|
||||
open Fake.JavaScript
|
||||
|
||||
System.Environment.GetCommandLineArgs()
|
||||
|> Array.toList
|
||||
|> Context.FakeExecutionContext.Create false "build.fsx"
|
||||
|> Context.RuntimeContext.Fake
|
||||
|> Context.setExecutionContext
|
||||
|
||||
Target.create "dev" (fun _ ->
|
||||
let fable = async {
|
||||
DotNet.exec (fun o -> o) "fable" "watch -o build -s" |> ignore
|
||||
}
|
||||
let vite = async {
|
||||
Npm.run "dev" (fun p -> p)
|
||||
}
|
||||
Async.Parallel [fable; vite]
|
||||
|> Async.RunSynchronously
|
||||
|> ignore
|
||||
)
|
||||
|
||||
Target.create "build" (fun _ ->
|
||||
DotNet.exec (fun o -> o) "fable" "-o build --noCache --optimize" |> ignore
|
||||
Npm.run "build" (fun p -> p)
|
||||
)
|
||||
|
||||
Target.create "clean" (fun _ ->
|
||||
DotNet.exec (fun o -> o)"fable" "clean -o build" |> ignore
|
||||
DotNet.exec (fun o -> o) "clean" |> ignore
|
||||
Fake.IO.Directory.delete "node_modules"
|
||||
Fake.IO.Directory.delete "bin"
|
||||
Fake.IO.Directory.delete "build"
|
||||
Fake.IO.Directory.delete "dist"
|
||||
Fake.IO.Directory.delete "obj"
|
||||
Fake.IO.Directory.delete "paket-files"
|
||||
Fake.IO.Directory.delete ".paket"
|
||||
)
|
||||
|
||||
Target.runOrDefaultWithArguments "dev"
|
15
davidontop.fsproj
Normal file
15
davidontop.fsproj
Normal file
|
@ -0,0 +1,15 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<PropertyGroup>
|
||||
<OutputType>Exe</OutputType>
|
||||
<TargetFramework>net9.0</TargetFramework>
|
||||
<RootNamespace>DOT</RootNamespace>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="src/Pages/*.fs" />
|
||||
<Compile Include="src/Components/Nav.fs" />
|
||||
<Compile Include="src/Routing.fs" />
|
||||
<Compile Include="src/Program.fs" />
|
||||
</ItemGroup>
|
||||
<Import Project=".paket\Paket.Restore.targets" />
|
||||
</Project>
|
16
index.html
Normal file
16
index.html
Normal file
|
@ -0,0 +1,16 @@
|
|||
<!doctype html>
|
||||
<html lang="en">
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<link rel="icon" type="image/png" href="/logo.png" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>DavidOnTop</title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div id="sutil-app"></div>
|
||||
<script type="module" src="/build/src/Program.js"></script>
|
||||
</body>
|
||||
|
||||
</html>
|
1008
package-lock.json
generated
Normal file
1008
package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load diff
13
package.json
Normal file
13
package.json
Normal file
|
@ -0,0 +1,13 @@
|
|||
{
|
||||
"name": "davidontop",
|
||||
"private": true,
|
||||
"version": "0.0.0",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"dev": "vite --clearScreen false",
|
||||
"build": "vite build"
|
||||
},
|
||||
"devDependencies": {
|
||||
"vite": "^6.3.5"
|
||||
}
|
||||
}
|
18
paket.dependencies
Normal file
18
paket.dependencies
Normal file
|
@ -0,0 +1,18 @@
|
|||
source https://api.nuget.org/v3/index.json
|
||||
storage: none
|
||||
|
||||
nuget Sutil
|
||||
nuget Fable.Browser.Dom
|
||||
nuget Fable.Core
|
||||
nuget Sutil.Router.Path
|
||||
|
||||
group Build
|
||||
source https://api.nuget.org/v3/index.json
|
||||
generate_load_scripts: true
|
||||
storage: none
|
||||
|
||||
nuget Fake.Core.Target
|
||||
nuget Fake.IO.FileSystem
|
||||
nuget Fake.JavaScript.Npm
|
||||
nuget Fake.DotNet.Cli
|
||||
nuget Fake.Core.Process
|
291
paket.lock
Normal file
291
paket.lock
Normal file
|
@ -0,0 +1,291 @@
|
|||
STORAGE: NONE
|
||||
NUGET
|
||||
remote: https://api.nuget.org/v3/index.json
|
||||
Fable.Browser.Blob (1.4) - restriction: >= netstandard2.0
|
||||
Fable.Core (>= 3.2.8) - restriction: >= netstandard2.0
|
||||
FSharp.Core (>= 4.7.2) - restriction: >= netstandard2.0
|
||||
Fable.Browser.Css (2.5) - restriction: >= netstandard2.0
|
||||
Fable.Browser.Dom (>= 2.16) - restriction: >= netstandard2.0
|
||||
Fable.Browser.Svg (>= 2.4) - restriction: >= netstandard2.0
|
||||
Fable.Core (>= 3.2.8) - restriction: >= netstandard2.0
|
||||
FSharp.Core (>= 4.7.2) - restriction: >= netstandard2.0
|
||||
Fable.Browser.Dom (2.19)
|
||||
Fable.Browser.Blob (>= 1.4) - restriction: >= netstandard2.0
|
||||
Fable.Browser.Event (>= 1.7) - restriction: >= netstandard2.0
|
||||
Fable.Browser.WebStorage (>= 1.3) - restriction: >= netstandard2.0
|
||||
Fable.Core (>= 3.2.8) - restriction: >= netstandard2.0
|
||||
FSharp.Core (>= 4.7.2) - restriction: >= netstandard2.0
|
||||
Fable.Browser.Event (1.7) - restriction: >= netstandard2.0
|
||||
Fable.Browser.Gamepad (>= 1.3) - restriction: >= netstandard2.0
|
||||
Fable.Core (>= 3.2.8) - restriction: >= netstandard2.0
|
||||
FSharp.Core (>= 4.7.2) - restriction: >= netstandard2.0
|
||||
Fable.Browser.Gamepad (1.3) - restriction: >= netstandard2.0
|
||||
Fable.Core (>= 3.2.8) - restriction: >= netstandard2.0
|
||||
FSharp.Core (>= 4.7.2) - restriction: >= netstandard2.0
|
||||
Fable.Browser.MediaQueryList (1.5) - restriction: >= netstandard2.0
|
||||
Fable.Browser.Dom (>= 2.16) - restriction: >= netstandard2.0
|
||||
Fable.Browser.Event (>= 1.6) - restriction: >= netstandard2.0
|
||||
Fable.Core (>= 3.2.8) - restriction: >= netstandard2.0
|
||||
FSharp.Core (>= 4.7.2) - restriction: >= netstandard2.0
|
||||
Fable.Browser.Svg (2.4) - restriction: >= netstandard2.0
|
||||
Fable.Browser.Dom (>= 2.16) - restriction: >= netstandard2.0
|
||||
Fable.Core (>= 3.2.8) - restriction: >= netstandard2.0
|
||||
FSharp.Core (>= 4.7.2) - restriction: >= netstandard2.0
|
||||
Fable.Browser.WebStorage (1.3) - restriction: >= netstandard2.0
|
||||
Fable.Browser.Event (>= 1.6) - restriction: >= netstandard2.0
|
||||
Fable.Core (>= 3.2.8) - restriction: >= netstandard2.0
|
||||
FSharp.Core (>= 4.7.2) - restriction: >= netstandard2.0
|
||||
Fable.Core (4.5)
|
||||
Fable.Promise (3.2) - restriction: >= netstandard2.0
|
||||
Fable.Core (>= 3.7.1) - restriction: >= netstandard2.0
|
||||
FSharp.Core (>= 4.7.2) - restriction: >= netstandard2.0
|
||||
Feliz.Engine (1.0.0-beta-004) - restriction: >= netstandard2.0
|
||||
FSharp.Core (>= 5.0) - restriction: >= netstandard2.0
|
||||
Feliz.Engine.Bulma (1.0.1) - restriction: >= netstandard2.0
|
||||
Feliz.Engine (>= 1.0.0-beta-004) - restriction: >= netstandard2.0
|
||||
FSharp.Core (>= 5.0.2) - restriction: >= netstandard2.0
|
||||
Feliz.Engine.Event (1.0.0-beta-004) - restriction: >= netstandard2.0
|
||||
Fable.Browser.Dom (>= 2.2) - restriction: >= netstandard2.0
|
||||
Feliz.Engine (>= 1.0.0-beta-004) - restriction: >= netstandard2.0
|
||||
FSharp.Core (>= 5.0) - restriction: >= netstandard2.0
|
||||
FSharp.Core (9.0.202) - restriction: >= netstandard2.0
|
||||
Sutil (2.0.16)
|
||||
Fable.Browser.Css (>= 2.5) - restriction: >= netstandard2.0
|
||||
Fable.Browser.Dom (>= 2.17) - restriction: >= netstandard2.0
|
||||
Fable.Browser.Event (>= 1.6) - restriction: >= netstandard2.0
|
||||
Fable.Browser.MediaQueryList (>= 1.5) - restriction: >= netstandard2.0
|
||||
Fable.Core (>= 3.7.1) - restriction: >= netstandard2.0
|
||||
Fable.Promise (>= 3.2) - restriction: >= netstandard2.0
|
||||
Feliz.Engine (>= 1.0.0-beta-004) - restriction: >= netstandard2.0
|
||||
Feliz.Engine.Bulma (>= 1.0.1) - restriction: >= netstandard2.0
|
||||
Feliz.Engine.Event (>= 1.0.0-beta-004) - restriction: >= netstandard2.0
|
||||
FSharp.Core (>= 5.0.2) - restriction: >= netstandard2.0
|
||||
Sutil.Router.Path (0.1)
|
||||
FSharp.Core (>= 8.0.101) - restriction: >= netstandard2.0
|
||||
Sutil (>= 2.0.11) - restriction: >= netstandard2.0
|
||||
|
||||
GROUP Build
|
||||
GENERATE-LOAD-SCRIPTS: ON
|
||||
STORAGE: NONE
|
||||
NUGET
|
||||
remote: https://api.nuget.org/v3/index.json
|
||||
BlackFox.VsWhere (1.1) - restriction: >= netstandard2.0
|
||||
FSharp.Core (>= 4.0.0.1) - restriction: >= net45
|
||||
FSharp.Core (>= 4.2.3) - restriction: && (< net45) (>= netstandard2.0)
|
||||
Microsoft.Win32.Registry (>= 4.7) - restriction: && (< net45) (>= netstandard2.0)
|
||||
Fake.Core.CommandLineParsing (6.1.3) - restriction: >= netstandard2.0
|
||||
FParsec (>= 1.1.1) - restriction: >= netstandard2.0
|
||||
FSharp.Core (>= 8.0.301) - restriction: >= netstandard2.0
|
||||
Fake.Core.Context (6.1.3) - restriction: >= netstandard2.0
|
||||
FSharp.Core (>= 8.0.301) - restriction: >= netstandard2.0
|
||||
Fake.Core.Environment (6.1.3) - restriction: >= netstandard2.0
|
||||
FSharp.Core (>= 8.0.301) - restriction: >= netstandard2.0
|
||||
Fake.Core.FakeVar (6.1.3) - restriction: >= netstandard2.0
|
||||
Fake.Core.Context (>= 6.1.3) - restriction: >= netstandard2.0
|
||||
FSharp.Core (>= 8.0.301) - restriction: >= netstandard2.0
|
||||
Fake.Core.Process (6.1.3)
|
||||
Fake.Core.Environment (>= 6.1.3) - restriction: >= netstandard2.0
|
||||
Fake.Core.FakeVar (>= 6.1.3) - restriction: >= netstandard2.0
|
||||
Fake.Core.String (>= 6.1.3) - restriction: >= netstandard2.0
|
||||
Fake.Core.Trace (>= 6.1.3) - restriction: >= netstandard2.0
|
||||
Fake.IO.FileSystem (>= 6.1.3) - restriction: >= netstandard2.0
|
||||
FSharp.Core (>= 8.0.301) - restriction: >= netstandard2.0
|
||||
System.Collections.Immutable (>= 8.0) - restriction: >= netstandard2.0
|
||||
Fake.Core.SemVer (6.1.3) - restriction: >= netstandard2.0
|
||||
FSharp.Core (>= 8.0.301) - restriction: >= netstandard2.0
|
||||
Fake.Core.String (6.1.3) - restriction: >= netstandard2.0
|
||||
FSharp.Core (>= 8.0.301) - restriction: >= netstandard2.0
|
||||
Fake.Core.Target (6.1.3)
|
||||
Fake.Core.CommandLineParsing (>= 6.1.3) - restriction: >= netstandard2.0
|
||||
Fake.Core.Context (>= 6.1.3) - restriction: >= netstandard2.0
|
||||
Fake.Core.Environment (>= 6.1.3) - restriction: >= netstandard2.0
|
||||
Fake.Core.FakeVar (>= 6.1.3) - restriction: >= netstandard2.0
|
||||
Fake.Core.Process (>= 6.1.3) - restriction: >= netstandard2.0
|
||||
Fake.Core.String (>= 6.1.3) - restriction: >= netstandard2.0
|
||||
Fake.Core.Trace (>= 6.1.3) - restriction: >= netstandard2.0
|
||||
FSharp.Control.Reactive (>= 5.0.2) - restriction: >= netstandard2.0
|
||||
FSharp.Core (>= 8.0.301) - restriction: >= netstandard2.0
|
||||
Fake.Core.Tasks (6.1.3) - restriction: >= netstandard2.0
|
||||
Fake.Core.Trace (>= 6.1.3) - restriction: >= netstandard2.0
|
||||
FSharp.Core (>= 8.0.301) - restriction: >= netstandard2.0
|
||||
Fake.Core.Trace (6.1.3) - restriction: >= netstandard2.0
|
||||
Fake.Core.Environment (>= 6.1.3) - restriction: >= netstandard2.0
|
||||
Fake.Core.FakeVar (>= 6.1.3) - restriction: >= netstandard2.0
|
||||
FSharp.Core (>= 8.0.301) - restriction: >= netstandard2.0
|
||||
Fake.Core.Xml (6.1.3) - restriction: >= netstandard2.0
|
||||
Fake.Core.String (>= 6.1.3) - restriction: >= netstandard2.0
|
||||
FSharp.Core (>= 8.0.301) - restriction: >= netstandard2.0
|
||||
Fake.DotNet.Cli (6.1.3)
|
||||
Fake.Core.Environment (>= 6.1.3) - restriction: >= netstandard2.0
|
||||
Fake.Core.Process (>= 6.1.3) - restriction: >= netstandard2.0
|
||||
Fake.Core.String (>= 6.1.3) - restriction: >= netstandard2.0
|
||||
Fake.Core.Trace (>= 6.1.3) - restriction: >= netstandard2.0
|
||||
Fake.DotNet.MSBuild (>= 6.1.3) - restriction: >= netstandard2.0
|
||||
Fake.DotNet.NuGet (>= 6.1.3) - restriction: >= netstandard2.0
|
||||
Fake.IO.FileSystem (>= 6.1.3) - restriction: >= netstandard2.0
|
||||
FSharp.Core (>= 8.0.301) - restriction: >= netstandard2.0
|
||||
Mono.Posix.NETStandard (>= 1.0) - restriction: >= netstandard2.0
|
||||
Newtonsoft.Json (>= 13.0.3) - restriction: >= netstandard2.0
|
||||
Fake.DotNet.MSBuild (6.1.3) - restriction: >= netstandard2.0
|
||||
BlackFox.VsWhere (>= 1.1) - restriction: >= netstandard2.0
|
||||
Fake.Core.Environment (>= 6.1.3) - restriction: >= netstandard2.0
|
||||
Fake.Core.Process (>= 6.1.3) - restriction: >= netstandard2.0
|
||||
Fake.Core.String (>= 6.1.3) - restriction: >= netstandard2.0
|
||||
Fake.Core.Trace (>= 6.1.3) - restriction: >= netstandard2.0
|
||||
Fake.IO.FileSystem (>= 6.1.3) - restriction: >= netstandard2.0
|
||||
FSharp.Core (>= 8.0.301) - restriction: >= netstandard2.0
|
||||
MSBuild.StructuredLogger (>= 2.1.815) - restriction: >= netstandard2.0
|
||||
Fake.DotNet.NuGet (6.1.3) - restriction: >= netstandard2.0
|
||||
Fake.Core.Environment (>= 6.1.3) - restriction: >= netstandard2.0
|
||||
Fake.Core.Process (>= 6.1.3) - restriction: >= netstandard2.0
|
||||
Fake.Core.SemVer (>= 6.1.3) - restriction: >= netstandard2.0
|
||||
Fake.Core.String (>= 6.1.3) - restriction: >= netstandard2.0
|
||||
Fake.Core.Tasks (>= 6.1.3) - restriction: >= netstandard2.0
|
||||
Fake.Core.Trace (>= 6.1.3) - restriction: >= netstandard2.0
|
||||
Fake.Core.Xml (>= 6.1.3) - restriction: >= netstandard2.0
|
||||
Fake.IO.FileSystem (>= 6.1.3) - restriction: >= netstandard2.0
|
||||
Fake.Net.Http (>= 6.1.3) - restriction: >= netstandard2.0
|
||||
FSharp.Core (>= 8.0.301) - restriction: >= netstandard2.0
|
||||
Newtonsoft.Json (>= 13.0.3) - restriction: >= netstandard2.0
|
||||
NuGet.Protocol (>= 6.10.1) - restriction: >= netstandard2.0
|
||||
Fake.IO.FileSystem (6.1.3)
|
||||
Fake.Core.String (>= 6.1.3) - restriction: >= netstandard2.0
|
||||
Fake.Core.Trace (>= 6.1.3) - restriction: >= netstandard2.0
|
||||
FSharp.Core (>= 8.0.301) - restriction: >= netstandard2.0
|
||||
Fake.JavaScript.Npm (6.1.3)
|
||||
Fake.Core.Process (>= 6.1.3) - restriction: >= netstandard2.0
|
||||
Fake.Testing.Common (>= 6.1.3) - restriction: >= netstandard2.0
|
||||
FSharp.Core (>= 8.0.301) - restriction: >= netstandard2.0
|
||||
Fake.Net.Http (6.1.3) - restriction: >= netstandard2.0
|
||||
Fake.Core.Trace (>= 6.1.3) - restriction: >= netstandard2.0
|
||||
FSharp.Core (>= 8.0.301) - restriction: >= netstandard2.0
|
||||
Fake.Testing.Common (6.1.3) - restriction: >= netstandard2.0
|
||||
Fake.Core.Trace (>= 6.1.3) - restriction: >= netstandard2.0
|
||||
FSharp.Core (>= 8.0.301) - restriction: >= netstandard2.0
|
||||
FParsec (1.1.1) - restriction: >= netstandard2.0
|
||||
FSharp.Core (>= 4.3.4) - restriction: || (>= net45) (>= netstandard2.0)
|
||||
System.ValueTuple (>= 4.4) - restriction: >= net45
|
||||
FSharp.Control.Reactive (6.1.2) - restriction: >= netstandard2.0
|
||||
FSharp.Core (>= 6.0.7) - restriction: >= netstandard2.0
|
||||
System.Reactive (>= 6.0.1) - restriction: >= netstandard2.0
|
||||
FSharp.Core (9.0.202) - restriction: >= netstandard2.0
|
||||
Microsoft.Bcl.AsyncInterfaces (9.0.4) - restriction: || (&& (>= net462) (>= netstandard2.0)) (>= net472) (&& (< net8.0) (>= netstandard2.0))
|
||||
System.Threading.Tasks.Extensions (>= 4.5.4) - restriction: || (>= net462) (&& (>= netstandard2.0) (< netstandard2.1))
|
||||
Microsoft.Bcl.Cryptography (9.0.4) - restriction: || (&& (>= net462) (< net472) (>= netstandard2.0)) (&& (>= net462) (>= net8.0)) (&& (< net472) (>= netstandard2.0) (< netstandard2.1)) (&& (>= net8.0) (< net9.0)) (&& (>= net8.0) (< netstandard2.1)) (&& (< net8.0) (>= netstandard2.1))
|
||||
System.Formats.Asn1 (>= 9.0.4) - restriction: || (>= net462) (&& (>= net8.0) (< net9.0)) (&& (< net8.0) (>= netstandard2.0))
|
||||
System.Memory (>= 4.5.5) - restriction: || (>= net462) (&& (< net8.0) (>= netstandard2.0))
|
||||
System.Runtime.CompilerServices.Unsafe (>= 6.0) - restriction: || (>= net462) (&& (< net8.0) (>= netstandard2.0))
|
||||
Microsoft.Build.Framework (17.13.9) - restriction: >= netstandard2.0
|
||||
Microsoft.Win32.Registry (>= 5.0) - restriction: && (< net472) (< net9.0) (>= netstandard2.0)
|
||||
System.Memory (>= 4.5.5) - restriction: && (< net472) (< net9.0) (>= netstandard2.0)
|
||||
System.Runtime.CompilerServices.Unsafe (>= 6.0) - restriction: || (>= net472) (&& (< net9.0) (>= netstandard2.0))
|
||||
System.Security.Principal.Windows (>= 5.0) - restriction: && (< net472) (< net9.0) (>= netstandard2.0)
|
||||
Microsoft.Build.Utilities.Core (17.13.9) - restriction: >= netstandard2.0
|
||||
Microsoft.Build.Framework (>= 17.13.9) - restriction: >= netstandard2.0
|
||||
Microsoft.IO.Redist (>= 6.0.1) - restriction: >= net472
|
||||
Microsoft.NET.StringTools (>= 17.13.9) - restriction: >= netstandard2.0
|
||||
Microsoft.Win32.Registry (>= 5.0) - restriction: && (< net472) (< net9.0) (>= netstandard2.0)
|
||||
System.Collections.Immutable (>= 8.0) - restriction: >= netstandard2.0
|
||||
System.Configuration.ConfigurationManager (>= 8.0) - restriction: >= netstandard2.0
|
||||
System.Memory (>= 4.5.5) - restriction: || (>= net472) (&& (< net9.0) (>= netstandard2.0))
|
||||
System.Runtime.CompilerServices.Unsafe (>= 6.0) - restriction: || (>= net472) (&& (< net9.0) (>= netstandard2.0))
|
||||
System.Security.Principal.Windows (>= 5.0) - restriction: && (< net472) (< net9.0) (>= netstandard2.0)
|
||||
System.Text.Encoding.CodePages (>= 7.0) - restriction: && (< net472) (< net9.0) (>= netstandard2.0)
|
||||
Microsoft.IO.Redist (6.1.3) - restriction: >= net472
|
||||
System.Buffers (>= 4.6.1) - restriction: >= net472
|
||||
System.Memory (>= 4.6.3) - restriction: >= net472
|
||||
Microsoft.NET.StringTools (17.13.9) - restriction: >= netstandard2.0
|
||||
System.Memory (>= 4.5.5) - restriction: || (>= net472) (&& (< net9.0) (>= netstandard2.0))
|
||||
System.Runtime.CompilerServices.Unsafe (>= 6.0) - restriction: || (>= net472) (&& (< net9.0) (>= netstandard2.0))
|
||||
Microsoft.NETCore.Platforms (7.0.4) - restriction: || (&& (< monoandroid) (>= net8.0) (< netcoreapp2.1) (< netstandard2.1) (< xamarintvos) (< xamarinwatchos)) (&& (>= netcoreapp2.0) (< netcoreapp2.1)) (&& (>= netcoreapp2.1) (< netcoreapp3.0))
|
||||
Microsoft.Win32.Registry (5.0) - restriction: || (&& (< net45) (>= netstandard2.0)) (&& (< net472) (< net9.0) (>= netstandard2.0))
|
||||
System.Buffers (>= 4.5.1) - restriction: || (&& (>= monoandroid) (< netstandard1.3)) (>= monotouch) (&& (< net46) (< netcoreapp2.0) (>= netstandard2.0)) (>= xamarinios) (>= xamarinmac) (>= xamarintvos) (>= xamarinwatchos)
|
||||
System.Memory (>= 4.5.4) - restriction: || (&& (< monoandroid) (>= netcoreapp2.0) (< netcoreapp2.1) (< xamarinios) (< xamarinmac) (< xamarintvos) (< xamarinwatchos)) (&& (< net46) (< netcoreapp2.0) (>= netstandard2.0) (< xamarinios) (< xamarinmac) (< xamarintvos) (< xamarinwatchos)) (>= uap10.1)
|
||||
System.Security.AccessControl (>= 5.0) - restriction: || (&& (>= monoandroid) (< netstandard1.3)) (&& (< monoandroid) (>= netcoreapp2.0)) (>= monotouch) (&& (< net46) (< netcoreapp2.0) (>= netstandard2.0)) (>= net461) (>= netcoreapp2.1) (>= uap10.1) (>= xamarinios) (>= xamarinmac) (>= xamarintvos) (>= xamarinwatchos)
|
||||
System.Security.Principal.Windows (>= 5.0) - restriction: || (&& (>= monoandroid) (< netstandard1.3)) (&& (< monoandroid) (>= netcoreapp2.0)) (>= monotouch) (&& (< net46) (< netcoreapp2.0) (>= netstandard2.0)) (>= net461) (>= netcoreapp2.1) (>= uap10.1) (>= xamarinios) (>= xamarinmac) (>= xamarintvos) (>= xamarinwatchos)
|
||||
Mono.Posix.NETStandard (1.0) - restriction: >= netstandard2.0
|
||||
MSBuild.StructuredLogger (2.2.472) - restriction: >= netstandard2.0
|
||||
Microsoft.Build.Framework (>= 17.5) - restriction: >= netstandard2.0
|
||||
Microsoft.Build.Utilities.Core (>= 17.5) - restriction: >= netstandard2.0
|
||||
System.Collections.Immutable (>= 8.0) - restriction: >= netstandard2.0
|
||||
System.Memory (>= 4.6) - restriction: && (< net8.0) (>= netstandard2.0)
|
||||
System.Runtime.CompilerServices.Unsafe (>= 6.1) - restriction: && (< net8.0) (>= netstandard2.0)
|
||||
Newtonsoft.Json (13.0.3) - restriction: >= netstandard2.0
|
||||
NuGet.Common (6.13.2) - restriction: >= netstandard2.0
|
||||
NuGet.Frameworks (>= 6.13.2) - restriction: >= netstandard2.0
|
||||
System.Collections.Immutable (>= 8.0) - restriction: >= netstandard2.0
|
||||
NuGet.Configuration (6.13.2) - restriction: >= netstandard2.0
|
||||
NuGet.Common (>= 6.13.2) - restriction: >= netstandard2.0
|
||||
System.Security.Cryptography.ProtectedData (>= 4.4) - restriction: && (< net472) (>= netstandard2.0)
|
||||
NuGet.Frameworks (6.13.2) - restriction: >= netstandard2.0
|
||||
NuGet.Packaging (6.13.2) - restriction: >= netstandard2.0
|
||||
Newtonsoft.Json (>= 13.0.3) - restriction: >= netstandard2.0
|
||||
NuGet.Configuration (>= 6.13.2) - restriction: >= netstandard2.0
|
||||
NuGet.Versioning (>= 6.13.2) - restriction: >= netstandard2.0
|
||||
System.Formats.Asn1 (>= 8.0.1) - restriction: || (&& (< net472) (>= netstandard2.0)) (>= net8.0)
|
||||
System.Memory (>= 4.5.5) - restriction: >= net472
|
||||
System.Security.Cryptography.Pkcs (>= 6.0.4) - restriction: || (&& (< net472) (>= netstandard2.0)) (>= net8.0)
|
||||
System.Text.Json (>= 8.0.5) - restriction: || (>= net472) (&& (< net8.0) (>= netstandard2.0))
|
||||
NuGet.Protocol (6.13.2) - restriction: >= netstandard2.0
|
||||
NuGet.Packaging (>= 6.13.2) - restriction: >= netstandard2.0
|
||||
System.Text.Json (>= 8.0.5) - restriction: || (>= net472) (&& (< net8.0) (>= netstandard2.0))
|
||||
NuGet.Versioning (6.13.2) - restriction: >= netstandard2.0
|
||||
System.Buffers (4.6.1) - restriction: || (&& (>= monoandroid) (< netstandard1.3) (>= netstandard2.0)) (&& (>= monotouch) (>= netstandard2.0)) (&& (< net45) (< netcoreapp2.0) (>= netstandard2.0)) (&& (>= net462) (>= net8.0)) (&& (>= net462) (>= netstandard2.0)) (&& (< net462) (>= netstandard2.0) (< netstandard2.1)) (>= net472) (&& (>= net8.0) (< netstandard2.1)) (&& (< net8.0) (>= netstandard2.0)) (&& (< netcoreapp2.1) (>= netstandard2.0) (< netstandard2.1)) (&& (>= netstandard2.0) (>= xamarintvos)) (&& (>= netstandard2.0) (>= xamarinwatchos)) (>= xamarinios) (>= xamarinmac)
|
||||
System.Collections.Immutable (9.0.4) - restriction: >= netstandard2.0
|
||||
System.Memory (>= 4.5.5) - restriction: || (>= net462) (&& (< net8.0) (>= netstandard2.0))
|
||||
System.Runtime.CompilerServices.Unsafe (>= 6.0) - restriction: || (>= net462) (&& (< net8.0) (>= netstandard2.0))
|
||||
System.Configuration.ConfigurationManager (9.0.4) - restriction: >= netstandard2.0
|
||||
System.Diagnostics.EventLog (>= 9.0.4) - restriction: >= net8.0
|
||||
System.Security.Cryptography.ProtectedData (>= 9.0.4) - restriction: || (&& (< net462) (>= netstandard2.0)) (>= net8.0)
|
||||
System.Diagnostics.EventLog (9.0.4) - restriction: >= net8.0
|
||||
System.Formats.Asn1 (9.0.4) - restriction: || (&& (>= net462) (>= net8.0)) (&& (< net462) (>= netstandard2.0)) (&& (< net472) (>= netstandard2.0)) (&& (>= net8.0) (< net9.0)) (&& (>= net8.0) (< xamarintvos) (< xamarinwatchos)) (&& (>= netcoreapp3.0) (< xamarintvos) (< xamarinwatchos)) (>= netstandard2.1)
|
||||
System.Buffers (>= 4.5.1) - restriction: || (>= net462) (&& (< net8.0) (>= netstandard2.0))
|
||||
System.Memory (>= 4.5.5) - restriction: || (>= net462) (&& (< net8.0) (>= netstandard2.0))
|
||||
System.ValueTuple (>= 4.5) - restriction: >= net462
|
||||
System.IO.Pipelines (9.0.4) - restriction: || (&& (>= net462) (>= netstandard2.0)) (>= net472) (&& (< net8.0) (>= netstandard2.0))
|
||||
System.Buffers (>= 4.5.1) - restriction: || (>= net462) (&& (< net8.0) (>= netstandard2.0))
|
||||
System.Memory (>= 4.5.5) - restriction: || (>= net462) (&& (< net8.0) (>= netstandard2.0))
|
||||
System.Threading.Tasks.Extensions (>= 4.5.4) - restriction: || (>= net462) (&& (< net8.0) (>= netstandard2.0))
|
||||
System.Memory (4.6.3) - restriction: || (&& (< monoandroid) (>= netcoreapp2.0) (< netcoreapp2.1) (< xamarinios) (< xamarinmac) (< xamarintvos) (< xamarinwatchos)) (&& (< net45) (< netcoreapp2.0) (>= netstandard2.0) (< xamarinios) (< xamarinmac) (< xamarintvos) (< xamarinwatchos)) (&& (>= net462) (>= net8.0)) (&& (>= net462) (>= netstandard2.0)) (&& (< net462) (>= netstandard2.0) (< netstandard2.1)) (>= net472) (&& (>= net8.0) (< netstandard2.1)) (&& (< net8.0) (>= netstandard2.0)) (&& (< net9.0) (>= netstandard2.0)) (&& (>= netstandard2.0) (>= uap10.1))
|
||||
System.Buffers (>= 4.6.1) - restriction: || (>= net462) (&& (< netcoreapp2.1) (>= netstandard2.0) (< netstandard2.1))
|
||||
System.Numerics.Vectors (>= 4.6.1) - restriction: || (>= net462) (&& (< netcoreapp2.1) (>= netstandard2.0) (< netstandard2.1))
|
||||
System.Runtime.CompilerServices.Unsafe (>= 6.1.2) - restriction: || (>= net462) (&& (< netcoreapp2.1) (>= netstandard2.0) (< netstandard2.1))
|
||||
System.Numerics.Vectors (4.6.1) - restriction: || (&& (>= net462) (>= netstandard2.0)) (&& (< netcoreapp2.1) (>= netstandard2.0) (< netstandard2.1))
|
||||
System.Reactive (6.0.1) - restriction: >= netstandard2.0
|
||||
System.Threading.Tasks.Extensions (>= 4.5.4) - restriction: || (>= net472) (&& (< net6.0) (>= netstandard2.0)) (>= uap10.1)
|
||||
System.Runtime.CompilerServices.Unsafe (6.1.2) - restriction: || (&& (>= net462) (>= netstandard2.0)) (&& (< net462) (>= netstandard2.0) (< netstandard2.1)) (>= net472) (&& (>= net8.0) (< netstandard2.1)) (&& (< net8.0) (>= netstandard2.0)) (&& (< net8.0) (>= netstandard2.1)) (&& (< net9.0) (>= netstandard2.0)) (&& (< netcoreapp2.1) (>= netstandard2.0) (< netstandard2.1))
|
||||
System.Security.AccessControl (6.0.1) - restriction: || (&& (>= monoandroid) (< netstandard1.3) (>= netstandard2.0)) (&& (< monoandroid) (>= netcoreapp2.0)) (&& (>= monotouch) (>= netstandard2.0)) (&& (< net45) (>= net461) (>= netstandard2.0)) (&& (< net45) (< netcoreapp2.0) (>= netstandard2.0)) (>= netcoreapp2.1) (&& (>= netstandard2.0) (>= uap10.1)) (&& (>= netstandard2.0) (>= xamarintvos)) (&& (>= netstandard2.0) (>= xamarinwatchos)) (>= xamarinios) (>= xamarinmac)
|
||||
System.Security.Principal.Windows (>= 5.0) - restriction: || (>= net461) (&& (< net6.0) (>= netstandard2.0))
|
||||
System.Security.Cryptography.Cng (5.0) - restriction: || (&& (< net462) (>= netstandard2.0) (< netstandard2.1)) (&& (>= net8.0) (< netstandard2.1)) (&& (< net8.0) (>= netstandard2.1))
|
||||
Microsoft.NETCore.Platforms (>= 5.0) - restriction: && (< monoandroid) (>= netcoreapp2.0) (< netcoreapp2.1) (< netstandard2.1) (< xamarintvos) (< xamarinwatchos)
|
||||
System.Formats.Asn1 (>= 5.0) - restriction: && (>= netcoreapp3.0) (< xamarinios) (< xamarinmac) (< xamarintvos) (< xamarinwatchos)
|
||||
System.Security.Cryptography.Pkcs (9.0.4) - restriction: || (&& (< net472) (>= netstandard2.0)) (>= net8.0)
|
||||
Microsoft.Bcl.Cryptography (>= 9.0.4) - restriction: || (>= net462) (&& (>= net8.0) (< net9.0)) (&& (< net8.0) (>= netstandard2.1)) (&& (>= netstandard2.0) (< netstandard2.1))
|
||||
System.Buffers (>= 4.5.1) - restriction: && (< net462) (>= netstandard2.0) (< netstandard2.1)
|
||||
System.Formats.Asn1 (>= 9.0.4) - restriction: || (&& (< net462) (>= netstandard2.0) (< netstandard2.1)) (&& (>= net8.0) (< net9.0)) (&& (< net8.0) (>= netstandard2.1))
|
||||
System.Memory (>= 4.5.5) - restriction: && (< net462) (>= netstandard2.0) (< netstandard2.1)
|
||||
System.Runtime.CompilerServices.Unsafe (>= 6.0) - restriction: || (&& (< net462) (>= netstandard2.0) (< netstandard2.1)) (&& (< net8.0) (>= netstandard2.1))
|
||||
System.Security.Cryptography.Cng (>= 5.0) - restriction: || (&& (< net462) (>= netstandard2.0) (< netstandard2.1)) (&& (< net8.0) (>= netstandard2.1))
|
||||
System.Security.Cryptography.ProtectedData (9.0.4) - restriction: || (&& (< net462) (>= netstandard2.0)) (&& (< net472) (>= netstandard2.0)) (>= net8.0)
|
||||
System.Memory (>= 4.5.5) - restriction: && (< net462) (< net8.0) (>= netstandard2.0)
|
||||
System.Security.Principal.Windows (5.0) - restriction: || (&& (>= monoandroid) (< netstandard1.3) (>= netstandard2.0)) (&& (< monoandroid) (>= netcoreapp2.0)) (&& (>= monotouch) (>= netstandard2.0)) (&& (< net45) (>= net461) (>= netstandard2.0)) (&& (< net45) (< netcoreapp2.0) (>= netstandard2.0)) (&& (>= net461) (>= netcoreapp2.0)) (&& (< net472) (< net9.0) (>= netstandard2.0)) (>= netcoreapp2.1) (&& (>= netstandard2.0) (>= uap10.1)) (&& (>= netstandard2.0) (>= xamarintvos)) (&& (>= netstandard2.0) (>= xamarinwatchos)) (>= xamarinios) (>= xamarinmac)
|
||||
Microsoft.NETCore.Platforms (>= 5.0) - restriction: || (&& (>= netcoreapp2.0) (< netcoreapp2.1)) (&& (>= netcoreapp2.1) (< netcoreapp3.0))
|
||||
System.Text.Encoding.CodePages (9.0.4) - restriction: && (< net472) (< net9.0) (>= netstandard2.0)
|
||||
System.Memory (>= 4.5.5) - restriction: || (>= net462) (&& (< net8.0) (>= netstandard2.0))
|
||||
System.Runtime.CompilerServices.Unsafe (>= 6.0) - restriction: || (>= net462) (&& (< net8.0) (>= netstandard2.0))
|
||||
System.Text.Encodings.Web (9.0.4) - restriction: || (&& (>= net462) (>= netstandard2.0)) (>= net472) (&& (< net8.0) (>= netstandard2.0))
|
||||
System.Buffers (>= 4.5.1) - restriction: || (>= net462) (&& (< net8.0) (>= netstandard2.0))
|
||||
System.Memory (>= 4.5.5) - restriction: || (>= net462) (&& (< net8.0) (>= netstandard2.0))
|
||||
System.Runtime.CompilerServices.Unsafe (>= 6.0) - restriction: || (>= net462) (&& (< net8.0) (>= netstandard2.0))
|
||||
System.Text.Json (9.0.4) - restriction: || (>= net472) (&& (< net8.0) (>= netstandard2.0))
|
||||
Microsoft.Bcl.AsyncInterfaces (>= 9.0.4) - restriction: || (>= net462) (&& (< net8.0) (>= netstandard2.0))
|
||||
System.Buffers (>= 4.5.1) - restriction: || (>= net462) (&& (< net8.0) (>= netstandard2.0))
|
||||
System.IO.Pipelines (>= 9.0.4) - restriction: || (>= net462) (&& (>= net8.0) (< net9.0)) (&& (< net8.0) (>= netstandard2.0))
|
||||
System.Memory (>= 4.5.5) - restriction: || (>= net462) (&& (< net8.0) (>= netstandard2.0))
|
||||
System.Runtime.CompilerServices.Unsafe (>= 6.0) - restriction: || (>= net462) (&& (< net8.0) (>= netstandard2.0))
|
||||
System.Text.Encodings.Web (>= 9.0.4) - restriction: || (>= net462) (&& (>= net8.0) (< net9.0)) (&& (< net8.0) (>= netstandard2.0))
|
||||
System.Threading.Tasks.Extensions (>= 4.5.4) - restriction: || (>= net462) (&& (< net8.0) (>= netstandard2.0))
|
||||
System.ValueTuple (>= 4.5) - restriction: >= net462
|
||||
System.Threading.Tasks.Extensions (4.6.3) - restriction: || (&& (>= net462) (>= netstandard2.0)) (>= net472) (&& (< net6.0) (>= netstandard2.0)) (&& (< net8.0) (>= netstandard2.0)) (&& (>= netstandard2.0) (< netstandard2.1)) (&& (>= netstandard2.0) (>= uap10.1))
|
||||
System.Runtime.CompilerServices.Unsafe (>= 6.1.2) - restriction: || (>= net462) (&& (< netcoreapp2.1) (>= netstandard2.0) (< netstandard2.1))
|
||||
System.ValueTuple (4.6.1) - restriction: || (&& (>= net462) (>= net8.0)) (&& (>= net462) (>= netstandard2.0)) (>= net472)
|
4
paket.references
Normal file
4
paket.references
Normal file
|
@ -0,0 +1,4 @@
|
|||
Sutil
|
||||
Fable.Browser.Dom
|
||||
Fable.Core
|
||||
Sutil.Router.Path
|
BIN
public/logo-transparent.png
Executable file
BIN
public/logo-transparent.png
Executable file
Binary file not shown.
After Width: | Height: | Size: 13 KiB |
BIN
public/logo.png
Executable file
BIN
public/logo.png
Executable file
Binary file not shown.
After Width: | Height: | Size: 6.5 KiB |
31
src/Components/Nav.fs
Normal file
31
src/Components/Nav.fs
Normal file
|
@ -0,0 +1,31 @@
|
|||
module DOT.Components.Nav
|
||||
|
||||
open Sutil
|
||||
open type Feliz.length
|
||||
|
||||
let view() =
|
||||
Html.div [
|
||||
Attr.style [
|
||||
Css.backgroundColor "oklch(0.2 0 0)"
|
||||
Css.displayFlex
|
||||
Css.justifyContentSpaceAround
|
||||
Css.alignItemsCenter
|
||||
Css.positionFixed
|
||||
Css.zIndex 5
|
||||
Css.top 0
|
||||
Css.height (rem 3)
|
||||
Css.width (vw 100)
|
||||
]
|
||||
|
||||
Html.div [
|
||||
Html.img [
|
||||
// TODO
|
||||
]
|
||||
]
|
||||
Html.div [
|
||||
|
||||
]
|
||||
Html.div [
|
||||
|
||||
]
|
||||
]
|
6
src/Pages/About.fs
Normal file
6
src/Pages/About.fs
Normal file
|
@ -0,0 +1,6 @@
|
|||
module DOT.Pages.About
|
||||
|
||||
open Sutil
|
||||
|
||||
let view() =
|
||||
Html.div []
|
6
src/Pages/Index.fs
Normal file
6
src/Pages/Index.fs
Normal file
|
@ -0,0 +1,6 @@
|
|||
module DOT.Pages.Index
|
||||
|
||||
open Sutil
|
||||
|
||||
let view() =
|
||||
Html.div []
|
7
src/Pages/NotFound.fs
Normal file
7
src/Pages/NotFound.fs
Normal file
|
@ -0,0 +1,7 @@
|
|||
module DOT.Pages.NotFound
|
||||
|
||||
open Sutil
|
||||
|
||||
let view() =
|
||||
Html.div []
|
||||
|
16
src/Program.fs
Normal file
16
src/Program.fs
Normal file
|
@ -0,0 +1,16 @@
|
|||
module DOT.Program
|
||||
|
||||
open DOT.Components
|
||||
open DOT.Routing
|
||||
open Sutil
|
||||
open Sutil.CoreElements
|
||||
open Sutil.Router
|
||||
|
||||
|
||||
let view() =
|
||||
fragment [
|
||||
Nav.view()
|
||||
Router.renderRouter router getHandlerFromUrl
|
||||
]
|
||||
|
||||
view() |> Program.mount
|
16
src/Routing.fs
Normal file
16
src/Routing.fs
Normal file
|
@ -0,0 +1,16 @@
|
|||
module DOT.Routing
|
||||
|
||||
open System
|
||||
open System.Reflection
|
||||
open Sutil
|
||||
open Sutil.Router
|
||||
|
||||
let router = Router.createRouter()
|
||||
let Link<'a> = Router.Link router []
|
||||
let navigate = Router.navigate router
|
||||
|
||||
let getHandlerFromUrl(url: string list) =
|
||||
match url with
|
||||
| [] -> Pages.Index.view()
|
||||
| ["about"] -> Pages.About.view()
|
||||
| _ -> Pages.NotFound.view()
|
Loading…
Add table
Add a link
Reference in a new issue