Skip to content

Commit

Permalink
Minor updates to renderAboutMe function
Browse files Browse the repository at this point in the history
  • Loading branch information
Ivan Ursulovic authored and Ivan Ursulovic committed Dec 20, 2024
1 parent 7e8de8c commit 2f45a55
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions examples/gno.land/r/ursulovic/home/home.gno
Original file line number Diff line number Diff line change
Expand Up @@ -71,13 +71,16 @@ func Render(path string) string {
}

func renderAboutMe() string {
var out strings.Builder
out.WriteString(md.H1(`Ivan's Homepage`))
out.WriteString(md.H4(aboutMe))

return out.String()
var out strings.Builder
out.WriteString(md.H3("About me"))

aboutMe := "Hello everyone, my name is Ivan Ursulovic. I am a Computer Engineering graduate from the School of Computing at Union University. I have experience working as a backend ASP.NET developer, but beyond that, I am a big Web3 enthusiast!"
out.WriteString(md.Paragraph(aboutMe)) // Use md.Paragraph instead of md.H4

return out.String()
}


func renderPhrase() string {
var out strings.Builder
phrase := phrases[int(std.GetHeight())%len(phrases)]
Expand Down

0 comments on commit 2f45a55

Please sign in to comment.