Skip to content

Commit c09ce34

Browse files
committed
Fix top-bar logo click: add onclick to home screen logo, add cursor:pointer to CSS
1 parent 9f4732e commit c09ce34

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

app/src/main/assets/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
<div id="home" class="page page-home">
1616
<div class="top-bar">
17-
<img src="logo.png" alt="MechaRams"/>
17+
<img src="logo.png" alt="MechaRams" onclick="goHome()"/>
1818
<div>
1919
<div class="bar-name">MechaRams 999</div>
2020
<div class="bar-sub">Cheshire High School FRC</div>

app/src/main/assets/styles.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ body{font-family:'Nunito',Arial,sans-serif;color:#fff;overscroll-behavior:none;}
1919
3. SHARED COMPONENTS -- top bar, section labels
2020
=============================================== */
2121
.top-bar{background:#111;width:100%;padding:10px 16px;display:flex;align-items:center;gap:12px;border-bottom:2px solid #cc0000;flex-shrink:0;}
22-
.top-bar img{width:44px;height:44px;object-fit:contain;border-radius:8px;flex-shrink:0;}
22+
.top-bar img{width:44px;height:44px;object-fit:contain;border-radius:8px;flex-shrink:0;cursor:pointer;}
2323
.bar-name{font-family:'Fredoka One',cursive;font-size:17px;color:#cc0000;letter-spacing:.5px;}
2424
.bar-name-sm{font-size:13px;}
2525
.bar-sub{font-size:10px;color:#fff;letter-spacing:1px;text-transform:uppercase;margin-top:1px;}

0 commit comments

Comments
 (0)