feat: add some works

This commit is contained in:
Dmitriy Pleshevskiy 2022-03-21 23:04:28 +03:00
parent 58c0f976af
commit 24de15be58
2 changed files with 36 additions and 4 deletions

View File

@ -4,11 +4,19 @@ PAR := $(MAKE) -j 128
watch:
$(PAR) hr ts-w
build: ts
start:
node target/scripts/main.mjs
hr:
deno run -A ~/sandbox/hr/server.ts target static
ts:
npx tsc
ts-w:
NODE_ENV=develop npx tsc-watch --onSuccess "node target/scripts/main.mjs"
NODE_ENV=develop npx tsc-watch --onSuccess "make start"
clean:
rm -rf target

View File

@ -1,8 +1,32 @@
import { PageLayout } from "../components/page_layout.mjs";
import { AnyNode } from "ren";
import { div, p } from "../utils.mjs";
import { AnyNode, Ea } from "ren";
import { div, h3, li, ul } from "../utils.mjs";
import { Context } from "../context.mjs";
export function WorksPage(ctx: Context): AnyNode {
return PageLayout(ctx, div({ class: "content-width" }, p("Works")));
return PageLayout(
ctx,
div({ class: "content-width responsive-typography" }, [
h3("Одни из моих последних работ"),
ul([
li(Ea("a", { href: "https://github.com/pleshevskiy/ren" }, "ren")),
li(Ea("a", { href: "https://github.com/pleshevskiy/hwt" }, "hwt")),
li(
Ea(
"a",
{ href: "https://github.com/pleshevskiy/sonic-channel" },
"sonic-channel"
)
),
li(Ea("a", { href: "https://github.com/pleshevskiy/migra" }, "migra")),
li(
Ea(
"a",
{ href: "https://github.com/pleshevskiy/itconfig-rs" },
"itconfig-rs"
)
),
]),
])
);
}