summaryrefslogtreecommitdiff
path: root/projects.html
blob: 6ece9bd61e0bc24c879948d3404bdb139ba64235 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <meta
      name="description"
      content="Simon's website"
    />
    <title>s-oshea</title>
    <link href="css/style.css" rel="stylesheet" />
    <link href="css/layout.css" rel="stylesheet" />
    <link href="css/hamburger.css" rel="stylesheet" />

    <style>
     
      /************************************************
       * DESKTOP RULES 
       */
      @media screen and (min-width: 851px) {
      }

      /* 
       * MOBILE RULES
       */
      @media screen and (max-width: 850px) {
      }
    </style>
  </head>
  <body>
    <a href="#main" class="skipLink">Skip to main content</a>

    <header>
        <a href="index.html" class="logo" aria-label="Company Logo">s-oshea</a>

        <button
          id="hamburger"
          aria-label="Toggle mobile navigation menu"
          aria-expanded="false"
        >
          <span></span>
          <span></span>
          <span></span>
        </button>

        <nav>
          <a class="navLink activeTab" role="navigation" href="projects.html">projects</a>
          <a class="navLink" role="navigation" href="testimonials.html">testimonials</a>
          <a class="navLink" role="navigation" href="more.html">more</a>
        </nav>
    </header>

    <main id="main">
        <!-- project data inserted via script -->
    </main>

    <footer>
      <div id="footer-left">
        <a href="assets/resume.pdf">resume</a>
        <a href="https://www.linkedin.com/in/simon-o-shea/">linkedin</a>
        <a href="https://www.github.com/sotrali">github</a>
      </div>
      <div id="footer-right">
        <a href="mailto:vesspa0330@gmail.com">vesspa0330@gmail.com</a>
        <span>207 701 6630</span>
        <span id="clock"></span>
      </div>
    </footer>

    <script>
        const projectData = {
            "Comment Engine" : {
                "language" : "go",
                "url" : "",
                "description" : ""
            },
            "Dynamic DNS Client" : {
                "language" : "go",
                "url" : "",
                "description" : ""
            },
            "Color Code Conversion Tool" : {
                "language" : "python",
                "url" : "",
                "description" : ""
            },
        }

        // render all project data upon page load
        window.onload = () => {
            let main = document.getElementsByTagName('main')[0];
            for (projectName of Object.keys(projectData)) {
                main.insertAdjacentHTML('beforeend', `
                    <section>
                        <h1>${projectName}</h1>
                        <p>${projectData[projectName].language}</p>
                        <p>${projectData[projectName].description}</p>
                    </section>
                `);
            }
            
        }

    </script>

    <script src="js/hamburger.js"></script>
    <script src="js/clock.js"></script>

  </body>
</html>