home.gno
3.38 Kb · 77 lines
1package home
2
3import (
4 "gno.land/p/mason/md"
5)
6
7const (
8 gnomeArt1 = ` /\
9 / \
10 ,,,,,
11 (o.o)
12 (\_/)
13 -"-"-`
14 dgnonut = `
15 #$$$$$$$$*
16 #$$@@@@@@@@@@$$$#
17 #$$@@@@@@@@@@@@@$$$$#
18 #$$$@@@@$$$$$$$$$$$$$$$$*
19 #$$$$$$$$$$$$$$$$$$$$$$$$$#!
20 #$$$$$$$$$############$$$$$##*
21 !##$$$$$$####**********#####$###*
22 =##$$$$$###****!!!!!!!!!***######*!
23 *##$$$###***!!!!!!==!!!!!!**######*=
24 !*#######***!!!=;;;;;====!!!!**####**
25 !*#######**!!!==;;::::::;;==!!!**###**!
26 !*######***!==;::~~~~~~:::;;=!!!***#***=
27 =**#####**!!==;::~-,,,,,--~:;;=!!!******!
28 !**####***!==;:~-,.. ..,,-~:;==!!******!;
29 ;!**###***!!=;:~-,. ..-~:;==!!*****!=
30 =!*******!!==::-. .,-::==!!*****!=
31 =!*******!!=;:~, .-~:;=!!!****!=:
32 ~=!*******!==;:-. .,-:;=!!!****!=;
33 :=!*******!==;~,. ,-:;==!!!***!=;
34 :=!******!!==:~, ,-:;=!!!***!!=;
35 :=!!*****!!=;:~, ,~:;=!!****!!=;-
36 :=!!!****!!==;~, -~;==!!****!!=;-
37 :;=!!*****!!=;:- -:;=!!*****!!=:-
38 ~;=!!!****!!==;~ :;=!!*****!!!;:-
39 ~;==!!****!!!==: ;=!!******!!=;:,
40 ~:==!!!****!!!=;~ :=!********!!=;:.
41 -:;==!!*****!!!!; =!*********!==;:
42 ,~;==!!*******!!== =**#####****!==:~
43 ,~:;=!!!!*********! **#######***!!=;~-
44 -~;;=!!!!**********! *##$$$$$###***!!=:~.
45 ,~:;==!!!****##########$$$$$$$$###****!=;:~
46 -~:;==!!!***####$$$$$$@@@@@$$$###**!!=;:~,
47 ,-~:;=!!!***####$$$$@@@@@@$$$$##**!!!=;:-.
48 -~:;;=!!!***###$$$$$@@@@$$$$##***!!=;:-.
49 .-~:;;=!!!***###$$$$$$$$$$$##***!==;:~-
50 .-~:;==!!!!**####$$$$$$$###**!!==;:~-
51 ,-~::;==!!!!***########****!!==;:~-.
52 ,-~:;;==!!!!!***********!!!==;:~,.
53 ,,~~::;====!!!!!!!!!!!!!==;::~,.
54 .,-~::;;;===!!!!!!!!===;::~-,.
55 ,--~~:;;;;========;;::~--.
56 .,,-~~:::::::::::~~~-,,.
57 ..,---~~~~~~~~~--,..
58 ..,,,,,,,,,...
59 ...`
60)
61
62func Render(path string) string {
63 home := md.New()
64 home.H1("Mason's Realm")
65
66 home.Im("https://cdn.esawebb.org/archives/images/screen/weic2428a.jpg", "Placeholder")
67 home.P("Welcome to my realm. " + md.Link("github", "https://github.com/masonmcbride"))
68
69 home.H3("Dgnonut")
70 home.Code(dgnonut)
71
72 home.H3("More")
73 home.Code(gnomeArt1)
74 home.Bullet("Credit to " + md.Link("JJOptimist", "https://gno.land/r/jjoptimist/home") + " for this gnome art.")
75 home.Bullet("I'm testing out my markdown system.")
76 return home.Render()
77}