aboutsummaryrefslogtreecommitdiff
path: root/toolbar.html
blob: 41eccb2be0e5b8208efb0ab6f63cb1b0e8525bd9 (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
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <meta http-equiv="x-ua-compatible" content="ie=edge">
  <title>Projects by Navan</title>
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <link rel="icon" sizes="192x192" href="https://material.io/static/images/simple-lp/favicons/components-192x192.png">
  <link rel="shortcut icon" href="https://material.io/static/images/simple-lp/favicons/components-72x72.png">

  <link rel="stylesheet"
        href="https://cdnjs.cloudflare.com/ajax/libs/normalize/6.0.0/normalize.min.css">
  <link href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700" rel="stylesheet">
  <link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons">
  <link rel="stylesheet"
        href="https://unpkg.com/material-components-web@0.9.1/dist/material-components-web.min.css">
  <link rel="stylesheet" href="app.css">
</head>
<body class="mdc-typography">
  <header id="shrine-header"
          class="mdc-toolbar mdc-toolbar--fixed mdc-theme--text-primary-on-background">
    <div class="mdc-toolbar__row">
      <section class="mdc-toolbar__section mdc-toolbar__section--align-start">
        <a id="shrine-nav-icon" class="material-icons mdc-ripple-surface" href="#"
           aria-label="Click to show the navigation menu"
           aria-controls="shrine-nav-menu"
           data-mdc-auto-init="MDCRipple"
           data-mdc-ripple-is-unbounded>menu</a>
        <h1 id="shrine-logo" class="mdc-toolbar__title"><span>Navan Chauhan</span></h1>
      </section>
    </div>
  </header>

  <aside id="shrine-nav-menu" class="mdc-temporary-drawer" data-mdc-auto-init="MDCTemporaryDrawer">
    <nav class="mdc-temporary-drawer__drawer">
      <header class="mdc-temporary-drawer__header"></header>
      <nav class="mdc-temporary-drawer__content mdc-list">
        <a class="mdc-list-item" href="https://navanchauhan.github.io">Home</a>
        <a class="mdc-list-item" href="#">Projects</a>
        <a class="mdc-list-item" href="#">Contact Me</a>
      </nav>
    </nav>
  </aside>
  <script
    src="https://unpkg.com/material-components-web@0.9.1/dist/material-components-web.min.js">
  </script>
  <script>
    mdc.autoInit()
    document.getElementById('shrine-nav-icon').addEventListener('click', function(evt) {
      evt.preventDefault();
      document.getElementById('shrine-nav-menu').MDCTemporaryDrawer.open = true;
    });
  </script>
</body>
</html>