2626 < link rel ="stylesheet " href ="landing.css ">
2727</ head >
2828< body >
29+ <!-- Navigation Header -->
30+ < header class ="site-header ">
31+ < nav class ="site-nav ">
32+ < div class ="nav-container ">
33+ <!-- Brand Section -->
34+ < a href ="/ " class ="nav-brand ">
35+ < img src ="images/positron.svg " alt ="Positron logo " class ="nav-logo ">
36+ < span class ="nav-title "> Positron</ span >
37+ </ a >
38+
39+ <!-- Navigation Links -->
40+ < div class ="nav-links ">
41+ < a href ="start.html " class ="nav-link ">
42+ < svg class ="nav-link-icon " fill ="none " stroke ="currentColor " stroke-width ="2 " viewBox ="0 0 24 24 ">
43+ < path stroke-linecap ="round " stroke-linejoin ="round " d ="M13 10V3L4 14h7v7l9-11h-7z "/>
44+ </ svg >
45+ Getting Started
46+ </ a >
47+ < a href ="add-to-path.html " class ="nav-link ">
48+ < svg class ="nav-link-icon " fill ="none " stroke ="currentColor " stroke-width ="2 " viewBox ="0 0 24 24 ">
49+ < path stroke-linecap ="round " stroke-linejoin ="round " d ="M9 12h6m-6 4h6m2 5H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z "/>
50+ </ svg >
51+ Guides
52+ </ a >
53+ < a href ="troubleshooting.html " class ="nav-link ">
54+ < svg class ="nav-link-icon " fill ="none " stroke ="currentColor " stroke-width ="2 " viewBox ="0 0 24 24 ">
55+ < path stroke-linecap ="round " stroke-linejoin ="round " d ="M8.228 9c.549-1.165 2.03-2 3.772-2 2.21 0 4 1.343 4 3 0 1.4-1.278 2.575-3.006 2.907-.542.104-.994.54-.994 1.093m0 3h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z "/>
56+ </ svg >
57+ Help
58+ </ a >
59+ < a href ="download.html " class ="nav-link nav-link-cta ">
60+ < svg class ="nav-link-icon " fill ="none " stroke ="currentColor " stroke-width ="2 " viewBox ="0 0 24 24 ">
61+ < path stroke-linecap ="round " stroke-linejoin ="round " d ="M7 16a4 4 0 01-.88-7.903A5 5 0 1115.9 6L16 6a5 5 0 011 9.9M9 19l3 3m0 0l3-3m-3 3V10 "/>
62+ </ svg >
63+ Download
64+ </ a >
65+ </ div >
66+
67+ <!-- Mobile Menu Button -->
68+ < button class ="nav-mobile-toggle " aria-label ="Toggle navigation menu ">
69+ < svg fill ="none " stroke ="currentColor " viewBox ="0 0 24 24 ">
70+ < path stroke-linecap ="round " stroke-linejoin ="round " stroke-width ="2 " d ="M4 6h16M4 12h16M4 18h16 "/>
71+ </ svg >
72+ </ button >
73+ </ div >
74+ </ nav >
75+ </ header >
76+
2977 < main >
3078 <!-- Hero Section -->
3179 < section class ="hero-section ">
32- <!-- Navigation Header -->
33- < header class ="site-header ">
34- < nav class ="site-nav ">
35- < div class ="nav-container ">
36- <!-- Brand Section -->
37- < a href ="/ " class ="nav-brand ">
38- < img src ="images/positron.svg " alt ="Positron logo " class ="nav-logo ">
39- < span class ="nav-title "> Positron</ span >
40- </ a >
41-
42- <!-- Navigation Links -->
43- < div class ="nav-links ">
44- < a href ="start.html " class ="nav-link ">
45- < svg class ="nav-link-icon " fill ="none " stroke ="currentColor " stroke-width ="2 " viewBox ="0 0 24 24 ">
46- < path stroke-linecap ="round " stroke-linejoin ="round " d ="M13 10V3L4 14h7v7l9-11h-7z "/>
47- </ svg >
48- Getting Started
49- </ a >
50- < a href ="add-to-path.html " class ="nav-link ">
51- < svg class ="nav-link-icon " fill ="none " stroke ="currentColor " stroke-width ="2 " viewBox ="0 0 24 24 ">
52- < path stroke-linecap ="round " stroke-linejoin ="round " d ="M9 12h6m-6 4h6m2 5H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z "/>
53- </ svg >
54- Guides
55- </ a >
56- < a href ="troubleshooting.html " class ="nav-link ">
57- < svg class ="nav-link-icon " fill ="none " stroke ="currentColor " stroke-width ="2 " viewBox ="0 0 24 24 ">
58- < path stroke-linecap ="round " stroke-linejoin ="round " d ="M8.228 9c.549-1.165 2.03-2 3.772-2 2.21 0 4 1.343 4 3 0 1.4-1.278 2.575-3.006 2.907-.542.104-.994.54-.994 1.093m0 3h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z "/>
59- </ svg >
60- Help
61- </ a >
62- < a href ="download.html " class ="nav-link nav-link-cta ">
63- < svg class ="nav-link-icon " fill ="none " stroke ="currentColor " stroke-width ="2 " viewBox ="0 0 24 24 ">
64- < path stroke-linecap ="round " stroke-linejoin ="round " d ="M7 16a4 4 0 01-.88-7.903A5 5 0 1115.9 6L16 6a5 5 0 011 9.9M9 19l3 3m0 0l3-3m-3 3V10 "/>
65- </ svg >
66- Download
67- </ a >
68- </ div >
69-
70- <!-- Mobile Menu Button -->
71- < button class ="nav-mobile-toggle " aria-label ="Toggle navigation menu ">
72- < svg fill ="none " stroke ="currentColor " viewBox ="0 0 24 24 ">
73- < path stroke-linecap ="round " stroke-linejoin ="round " stroke-width ="2 " d ="M4 6h16M4 12h16M4 18h16 "/>
74- </ svg >
75- </ button >
76- </ div >
77- </ nav >
78- </ header >
79-
8080 <!-- Background layer with gradient and orbs -->
8181 < div class ="hero-background ">
8282 < div class ="gradient-orb gradient-orb-blue " style ="top: 5rem; left: -10rem; "> </ div >
@@ -486,5 +486,24 @@ <h3 class="footer-heading">Posit</h3>
486486 </ div >
487487 </ footer >
488488 </ main >
489+
490+ < script >
491+ // Add scroll effect to navigation header
492+ const header = document . querySelector ( '.site-header' ) ;
493+ let lastScroll = 0 ;
494+
495+ window . addEventListener ( 'scroll' , ( ) => {
496+ const currentScroll = window . pageYOffset ;
497+
498+ // Add scrolled class when user scrolls down
499+ if ( currentScroll > 50 ) {
500+ header . classList . add ( 'scrolled' ) ;
501+ } else {
502+ header . classList . remove ( 'scrolled' ) ;
503+ }
504+
505+ lastScroll = currentScroll ;
506+ } ) ;
507+ </ script >
489508</ body >
490509</ html >
0 commit comments