Compare commits

..

No commits in common. "8cb9b62b9dc03ab5390d10f26c4af69addb66755" and "7776c82ca1eaafc81ff48eb2330b22890accd610" have entirely different histories.

8 changed files with 16 additions and 41 deletions

11
main.go
View File

@ -79,10 +79,14 @@ func main() {
}
websiteapp.Route(apps.Group("/storage"), &appsStorage)
// personalpropsroute.Route(apps.Group("/personalproperties"))
}
app := router.Group("application")
{
// app.GET("test", func(ctx *gin.Context) {
// ctx.Status(http.StatusOK)
// })
persPropApp := app.Group("personal-properties")
{
persPropApp.GET("render", func(ctx *gin.Context) {
@ -128,7 +132,14 @@ func main() {
router.GET("/test", func(ctx *gin.Context) {
ctx.HTML(200, "kek/kek.tmpl", gin.H{})
})
// router.GET("/room/:roomid", roomGET)
// router.POST("/room-post/:roomid", roomPOST)
// router.GET("/stream/:roomid", streamRoom)
// port := os.Getenv("PORT")
// if port == "" {
// port = "8080"
// }
if err := router.Run(":8080"); err != nil {
log.Panicf("error: %s", err)
}

BIN
resources/sys/wde/icons/about-me.png (Stored with Git LFS)

Binary file not shown.

BIN
resources/sys/wde/icons/desktop.png (Stored with Git LFS)

Binary file not shown.

BIN
resources/sys/wde/icons/folder.png (Stored with Git LFS)

Binary file not shown.

BIN
resources/sys/wde/icons/trash.png (Stored with Git LFS)

Binary file not shown.

View File

@ -41,10 +41,6 @@ class WebDesktopEnvironment{
WebDesktopEnvironment.LoadApp("finder", () =>{
console.log("lel")
new FileView("/kek", mobileDesktop.querySelector(".FileTileView"), Finder.Click)
mobileDesktop.querySelector('#about-me').addEventListener('click', (event) => {
WebDesktopEnvironment.Open("personal-properties", [])
})
})
}).then(()=>{

View File

@ -289,7 +289,6 @@
/* overflow-x: hidden; */
scrollbar-width: none; /* Firefox */
-ms-overflow-style: none; /* Internet Explorer 10+ */
}
.FileTileView::-webkit-scrollbar { /* WebKit */
@ -314,17 +313,4 @@
width: 32px;
height: 32px;
background-image: url("sys/wde/icons/folder.png");
background-size: cover;
image-rendering: optimizeSpeed; /* STOP SMOOTHING, GIVE ME SPEED */
image-rendering: -moz-crisp-edges; /* Firefox */
image-rendering: -o-crisp-edges; /* Opera */
image-rendering: -webkit-optimize-contrast; /* Chrome (and eventually Safari) */
image-rendering: pixelated; /* Universal support since 2021 */
image-rendering: optimize-contrast; /* CSS3 Proposed */
-ms-interpolation-mode: nearest-neighbor; /* IE8+ */
}
.FileTileTitle{
}

View File

@ -7,18 +7,9 @@
</div>
</div>
<div id="toolbar">
<div id="about-me" class="FileTile" >
<div class="FileTileIcon NoClick" style="background-image: url('./res/sys/wde/icons/about-me.png');"></div>
<div class="FileTileTitle NoClick">About Me</div>
</div>
<div id="Home" class="FileTile">
<div class="FileTileIcon NoClick" style="background-image: url('./res/sys/wde/icons/desktop.png');"></div>
<div class="FileTileTitle NoClick">Home</div>
</div>
<div id="Home" class="FileTile">
<div class="FileTileIcon NoClick" style="background-image: url('./res/sys/wde/icons/trash.png');"></div>
<div class="FileTileTitle NoClick">Close</div>
</div>
<button>Back</button>
<button>Home</button>
<button>Close</button>
</div>
{{ end }}