personal-website/templates/base/index.html
2023-07-19 04:06:13 +03:00

49 lines
2.2 KiB
HTML

<!DOCTYPE HTML>
<html lang="en" dir="ltr">
<title>Greg Brzezinski</title>
<head>
<!-- TODO: Move css init to js -->
<!-- <link rel="stylesheet" type="text/css" href="res/dev-fs/wde/base.css">
<link rel="stylesheet" type="text/css" href="res/dev-fs/wde/wdeUI.css">
<link rel="stylesheet" type="text/css" href="res/dev-fs/wde/basic-widgets.css">
<link rel="stylesheet" type="text/css" href="res/dev-fs/wde/wde-scrollbar.css">
<link rel="stylesheet" type="text/css" href="res/dev-fs/wde/file-view.css">
<link rel="stylesheet" href="res/dev-fs/apps/Finder/finder.css">
<link rel="stylesheet" href="/res/dev-fs/apps/AboutMe/about-me.css">
<link rel="stylesheet" href="/res/dev-fs/apps/ImgViewer/img-viewer.css">
<link rel="stylesheet" href="/res/dev-fs/apps/BlogViewer/blog-viewer.css">
<script src="res/dev-fs/wde/dist/desktop.js"></script>
<script src="res/dev-fs/wde/decorat.js"></script>
<script src="res/dev-fs/wde/webfs.js"></script>
<script src="/res/dev-fs/wde/wde-scrollbar.js"></script>
<script src="/res/dev-fs/wde/file-view.js"></script> -->
<!-- <script src="res/dev-fs/wde/dist/desktop.js"></script> -->
<link rel="stylesheet" type="text/css" href="/res/dev-fs/dist/desktop_style.css">
<link rel="stylesheet" type="text/css" href="/res/dev-fs/dist/finder_style.css">
</head>
<body>
<script type="module">
import * as WebDesktopEnvironment from '/res/dev-fs/dist/desktop.js';
// console.log(WebDesktopEnvironment)
let kek = new WebDesktopEnvironment.default()
</script>
<wde-autostart>
{{ range $app := .autostart }}
<app app-path="{{ $app.AppPath }}">
<args>
{{ range $arg := $app.Args }}
<arg string="{{ $arg }}"></arg>
{{ end }}
</args>
</app>
{{ end }}
</wde-autostart>
<div id="applications"></div>
<div id="desktop-layer"></div>
<div id="windows-layer"></div>
</body>
</html>