|
| 1 | +import lustre/attribute.{attribute} |
| 2 | +import lustre/element/html |
| 3 | +import website/component |
| 4 | + |
| 5 | +pub fn view() { |
| 6 | + component.page("About", [ |
| 7 | + html.div([attribute.class("mx-auto max-w-3xl")], [ |
| 8 | + html.h1( |
| 9 | + [attribute.class("text-3xl font-bold leading-tight text-center")], |
| 10 | + [html.text("About me")], |
| 11 | + ), |
| 12 | + ]), |
| 13 | + html.div( |
| 14 | + [attribute.class("mx-auto max-w-4xl py-8 leading-8")], |
| 15 | + [ |
| 16 | + html.p([attribute.class("text-xl")], [ |
| 17 | + html.span([attribute.class("text-2xl font-bold")], [ |
| 18 | + html.text( |
| 19 | + "I'm Gears; a programmer, Minecraft enthusiast, YouTuber and nerd.", |
| 20 | + ), |
| 21 | + ]), |
| 22 | + html.br([]), |
| 23 | + html.br([]), |
| 24 | + html.text( |
| 25 | + "The programming language I know most about, and therefore use the most, is JavaScript/TypeScript. However, I also know Ruby, MCFunction and Golang, and dabble in Rust and Python.", |
| 26 | + ), |
| 27 | + html.br([]), |
| 28 | + html.text("I make "), |
| 29 | + html.a( |
| 30 | + [ |
| 31 | + attribute.target("_blank"), |
| 32 | + attribute.class("text-blue-500 underline"), |
| 33 | + attribute.href("https://youtube.com/@Gearsdatapacks"), |
| 34 | + ], |
| 35 | + [html.text("YouTube videos")], |
| 36 | + ), |
| 37 | + html.text( |
| 38 | + " about my ongoing struggle with Minecraft datapacks, as well as other fun Minecraft content.", |
| 39 | + ), |
| 40 | + html.br([]), |
| 41 | + html.text( |
| 42 | + "Projects I've made include a programming language with Minecraft datapacks (not alone), and a Datapack Package Manager.", |
| 43 | + ), |
| 44 | + html.br([]), |
| 45 | + html.text("More information on the "), |
| 46 | + html.a( |
| 47 | + [ |
| 48 | + attribute.class("font-bold hover:underline"), |
| 49 | + attribute.href("/projects/"), |
| 50 | + ], |
| 51 | + [html.text("projects")], |
| 52 | + ), |
| 53 | + html.text("page."), |
| 54 | + ]), |
| 55 | + ], |
| 56 | + ), |
| 57 | + ]) |
| 58 | +} |
0 commit comments