Commit 1001edd4 authored by Serafino Pirronitto's avatar Serafino Pirronitto
Browse files

Added landing page with buttons for choosing one version, over the other

parent 28ebcd60
Loading
Loading
Loading
Loading

public/index.html

0 → 100644
+48 −0
Original line number Diff line number Diff line
<!DOCTYPE html>
<html>
    <head>
        <meta charset="UTF-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <link rel="stylesheet" href="stylings.css" type="text/css" />
    </head>
    <body>
        <div id ="container">
            <button id="official" type="button"> Official document</button>
            <button id="editing" type="button"> Editing section</button>
        </div>
        <style type="text/css">
            body, html {
                height: 100%;
                margin: 0;
                display: flex;
                justify-content: center;
                align-items: center;
                font-family: Arial, sans-serif;
            }

            #container {
                display: flex;
                justify-content: center;
                align-items: center;
                flex-direction: column;
            }
            button {
                margin: 10px;
                padding: 10px;
                border-radius: 10px;
                border: 1px;
                font-size: 20px;
                font-weight: bold;
                cursor: pointer;
            }
        </style>
        <script type="text/javascript">
            document.getElementById("official").addEventListener("click", function() {
                window.location.href = "official/0--1.html";
            });
            document.getElementById("editing").addEventListener("click", function() {
                window.location.href = "editing/0--1.html";
            });
        </script>
    </body>
</html>
 No newline at end of file