This commit is contained in:
darius 2024-09-12 16:08:30 +02:00
parent 4e7d37a23a
commit 6f7f567f8e
3 changed files with 6 additions and 10 deletions

BIN
web/assets/pdf/cv.pdf Normal file

Binary file not shown.

View File

@ -22,15 +22,6 @@ func Navbar() g.Node {
b.NavbarAHref("/", "Home"),
b.NavbarAHref("/about", "Wie ben ik"),
b.NavbarAHref("/projects", "projecten"),
b.NavbarDropdown(
"placeholder",
b.Hoverable,
b.NavbarAHref("#1", "item 1"),
b.NavbarAHref("#2", "item 2"),
b.NavbarAHref("#3", "item 3"),
b.NavbarDivider(),
b.NavbarAHref("#4", "divided item"),
),
),
b.NavbarEnd(
b.NavbarItem(

View File

@ -17,5 +17,10 @@ func AboutPageHandler(w http.ResponseWriter, r *http.Request) {
func createAboutBody(w http.ResponseWriter, r *http.Request) g.Node {
return Body()
return Body(
IFrame(
Src("/assets/pdf/cv.pdf"),
Class("h-screen w-screen"),
),
)
}