|
26 | 26 | <div id="mySidenav" class="sidenav">
|
27 | 27 | <div style=" background: #101010;
|
28 | 28 | border-bottom: 2px solid #4c4c4c;
|
29 |
| - margin-bottom: 21px;"> |
30 |
| - <img src="logo.png" class="logoSideNav" alt="app logo"> |
| 29 | + margin-bottom: 21px; |
| 30 | + height: 124px; |
| 31 | + display: flex; |
| 32 | + flex-direction: column; |
| 33 | + justify-content: center; |
| 34 | + align-items: center;"> |
| 35 | + <h3 style="font-weight:100;margin: 0px;"><b>HVH </b>| Tabbed Web App</h3> |
| 36 | + |
31 | 37 | <span href="javascript:void(0)" class=" material-symbols-rounded closebtn" onclick="closeNav()"
|
32 | 38 | aria-label="close sidebar" id="NOEXCUSE">cancel</span>
|
33 |
| - <p style="color:#f1f1f1a3;font-size: 14px;text-align: center;">Tabbed Web App</p> |
| 39 | + <p style="color:#f1f1f1a3;font-size: 14px;text-align: center;">Demo</p> |
34 | 40 | </div>
|
35 |
| - <div class="side-button tablink" onclick="openPage('home',this)" id="defaultOpen" aria-label="open home page"> |
| 41 | + <div class="side-button tablink" onclick="openRoute('home',this)" id="defaultOpen" aria-label="open home page"> |
36 | 42 | <span class="material-symbols-rounded">home</span>
|
37 | 43 | <p>Home</p>
|
38 | 44 | </div>
|
39 |
| - <div class="side-button tablink" onclick="openPage('counterPage',this)" aria-label="open counter tab"> |
| 45 | + <div class="side-button tablink" onclick="openRoute('counterPage',this)" aria-label="open counter tab"> |
40 | 46 | <span class="material-symbols-rounded ">calculate</span>
|
41 | 47 | <p>Counter</p>
|
42 | 48 | </div>
|
43 |
| - <div class="side-button tablink" onclick="openPage('info',this)" aria-label="open info tab"> |
| 49 | + <div class="side-button tablink" onclick="openRoute('info',this)" aria-label="open info tab"> |
44 | 50 | <span class="material-symbols-rounded">info</span>
|
45 | 51 | <p>Your Info page</p>
|
46 | 52 | </div>
|
47 |
| - <div class="side-button tablink" style="color: rgba(255, 255, 255, 0.459);" onclick="openPage('github',this)" |
| 53 | + <div class="side-button tablink" style="color: rgba(255, 255, 255, 0.459);" onclick="openRoute('github',this)" |
48 | 54 | aria-label="open help page">
|
49 | 55 | <span class="material-symbols-rounded">code</span>
|
50 | 56 | <p style="color: rgba(255, 255, 255, 0.459);">Github and Stuff!</p>
|
|
62 | 68 | style="color: red;display: none;flex-wrap: wrap;flex-direction: row;align-content: center;align-items: center;justify-content: center;">
|
63 | 69 | <span class="material-symbols-rounded">wifi_off</span></span>
|
64 | 70 | <div class="headerButtonContainer">
|
| 71 | + <button class="dev_button_mobile" id="gotohomepage" onclick="goTo('TWA')" |
| 72 | + aria-label="go to Tabbed.web.app"> |
| 73 | + <span class="material-symbols-rounded clickable" style="font-size:18px">home</span> |
| 74 | + </button> |
65 | 75 | <button class="dev_button_mobile" id="installMobile" onclick="pwainstall()"
|
66 | 76 | aria-label="install to the device">
|
67 | 77 | <span class="material-symbols-rounded clickable" style="font-size:18px">install_mobile</span>
|
|
71 | 81 | </button>
|
72 | 82 | </div>
|
73 | 83 | </header>
|
74 |
| - <!-- HOME PAGE : START--> |
75 |
| - <section id="home" class="tabcontent"> |
76 |
| - |
77 |
| - <h1>Welcome to your first Tabbed Web App</h1> |
78 |
| - <hr style="width:70%"> |
79 |
| - <p>written entirely in HTML and Javascript</p><br> |
80 |
| - <p>This is just a demo, a boilerplate if you would...<br>Go out there, make it yours...<br>make it better! |
81 |
| - Make your product standout.<br> |
82 |
| - Have fun coding!! |
83 |
| - </p> |
84 |
| - </section> |
85 |
| - <!-- HOME PAGE : END && COUNTER PAGE : START --> |
86 |
| - <section id="counterPage" class="tabcontent"> |
87 |
| - <h3>Apparently every framework has this!</h3> |
88 |
| - <hr style="width:70%"> |
89 |
| - |
90 |
| - <p>Click Below to Increment the counter</p> |
91 |
| - <button class="dev_button clickable" style="height:50px" aria-label="Counter button" |
92 |
| - onclick="incrementCountby(1)"> |
93 |
| - Click Me! |
94 |
| - </button> |
95 |
| - <p id="counter">0</p> |
96 |
| - </section> |
97 |
| - <!-- COUNTER PAGE : END && INFO PAGE : START --> |
98 |
| - <section id="info" class="tabcontent"> |
99 |
| - <h3>Okay Alright, I am running out of things to write!</h3> |
100 |
| - <hr style="width:70%"> |
101 |
| - |
102 |
| - <p>Hey Jeff🔥! 👋🏽</p> |
103 |
| - <p>Check the github repo for updates!</p> |
104 |
| - <p>...Also run the lighthouse report for free fireworks! 🎆🎇</p> |
105 |
| - </section> |
106 |
| - <!-- INFO PAGE : END && GITHUB PAGE : START --> |
107 |
| - <section id="github" class="tabcontent"> |
108 |
| - <h3>Links to various extremely useful resources</h3> |
109 |
| - <hr style="width:70%"> |
110 |
| - |
111 |
| - |
112 |
| - <p>The Github Repo Page : <a href="https://github.com/havisVh/TabbedWebApp">Github.com</a></p> |
113 |
| - <p>Maskable.app : <a href="https://maskable.app/editor">Maskable App</a></p> |
114 |
| - <p>Learn more about PWAs : <a href="https://web.dev/progressive-web-apps/">web.dev</a></p> |
115 |
| - <p>Font and Icons : <a href="https://fonts.google.com/">Google Fonts</a></p> |
116 |
| - <hr style="width:100px"> |
117 |
| - <p>JS && CSS Minifier extension for VSCode: <a |
118 |
| - href="https://marketplace.visualstudio.com/items?itemName=olback.es6-css-minify">Visual Studio |
119 |
| - Marketplace</a></p> |
120 |
| - |
| 84 | + <section id="view" class="tabcontent"> |
121 | 85 |
|
| 86 | + <!-- Page Content Goes Here --> |
122 | 87 | </section>
|
123 |
| - <!-- GITHUB PAGE : END --> |
124 | 88 | <script>
|
125 | 89 | var count = 0;
|
126 | 90 | function incrementCountby(k) {
|
|
0 commit comments