import HtmlWriter

main = do
      generateWebsite "/home/user_nameeee/testHTML/" [index_html]

index_html = File "index.html" $
      html [
            heading [
                  title "Test page",
                  stylesheet "style.css"
            ],
            javascript "var x = 10; var y = 20;",
            body [
                  Tag "nav" [] [
                        a "index.html" "Homepage",
                        a "contacts.html" "Contacts",
                        a "heyheyehy.html" "Hey hey hey!"
                  ],
                  Tag "foo" ["class" ==> "newHey"] [
                        p "Who am I?",
                        p "What is my class?"
                  ],
                  h1 "I'm just an header",
                  p "bar bar bar",
                  img "dog.png" "I can't find your dog",
                  button "press me, please" "quit()",
                  divis [
                        img "tower.png" "can't see the tower",
                        p "Laaaaand"
                  ],
                  footer [
                        p "contact me if you want"
                  ]
            ]
      ]
