https://domlink.deployments.hotsocket.fyi/

about window :)

Changed files
+12 -3
src
+11 -2
src/desktop.ts
··· 1 - import { Body, Button, Column, Input, Row } from "./domlink.ts"; 1 + import { Body, Button, Column, Input, Link, Row } from "./domlink.ts"; 2 2 import { resolveMiniDoc } from "./support/slingshot.ts"; 3 3 import { Window } from "./windowing_mod.ts"; 4 4 import { Feed } from "./windows/bluesky/feed.ts"; 5 5 6 + const about = new Window("About", 150).with( 7 + new Column().with( 8 + new Row().with(`"Domlink"/toybox project by `, new Link("@hotsocket.fyi").to("https://bsky.app/profile/hotsocket.fyi")), 9 + new Link("Source code here!").to("https://tangled.sh/@hotsocket.fyi/domlink"), 10 + "Copyrighted by default(?), no license chosen or anything atp." 11 + ) 12 + ).closable(false); // haha 13 + 6 14 const userInput = new Input(); 7 15 const authorFeedWindowCreator = new Row().with( 8 16 userInput, ··· 14 22 }) 15 23 ); 16 24 const instantiator = new Column().with( 17 - authorFeedWindowCreator 25 + authorFeedWindowCreator, 18 26 ).style((x) => x.maxWidth = "100ch"); 19 27 20 28 Body.with( 21 29 instantiator, 30 + about 22 31 );
+1 -1
src/windowing_mod.ts
··· 27 27 titleBar: TitleBar; 28 28 content = new Container().class("LWindowContent"); 29 29 30 - constructor(title: string = "New Window", width: number = 400, height: number = 300) { 30 + constructor(title: string = "New Window", height: number = 300, width: number = 400) { 31 31 super(); 32 32 this.class("LWindow"); 33 33 this.titleBar = new TitleBar(title, ()=>{this.wraps.remove();});