File tree Expand file tree Collapse file tree 3 files changed +9
-23
lines changed
Expand file tree Collapse file tree 3 files changed +9
-23
lines changed Original file line number Diff line number Diff line change @@ -34,6 +34,7 @@ section {
3434 display : flex;
3535 flex-wrap : wrap;
3636 flex-direction : row;
37+ background-color : # 222 ;
3738}
3839.menu > div {
3940 display : flex;
Original file line number Diff line number Diff line change @@ -58,7 +58,14 @@ <h1>zesameri</h1>
5858 <div><div> tbd </div></div>
5959 </section>
6060
61- <footer class="footer" id="footer">
61+ <footer class="footer hero-footer" id="footer">
62+ <a class="footer__link--github" href="https://github.com/zesameri" target="_blank" rel="noopener noreferrer">i'm smart</a>
63+ <a class="footer__link--playlists" href="https://open.spotify.com/user/1286649958" target="_blank" rel="noopener noreferrer">vibes</a>
64+ <a class="footer__link--linkedin" href="https://www.linkedin.com/in/zesameri/" target="_blank" rel="noopener noreferrer">love me</a>
65+ <a class="footer__link--instagram" href="https://www.instagram.com/zesameri/" target="_blank" rel="noopener noreferrer">look at me</a>
66+ <div class="crumple" aria-hidden=""></div>
67+ </footer>
68+ <footer class="footer menu-footer" id="footer">
6269 <a class="footer__link--github" href="https://github.com/zesameri" target="_blank" rel="noopener noreferrer">i'm smart</a>
6370 <a class="footer__link--playlists" href="https://open.spotify.com/user/1286649958" target="_blank" rel="noopener noreferrer">vibes</a>
6471 <a class="footer__link--linkedin" href="https://www.linkedin.com/in/zesameri/" target="_blank" rel="noopener noreferrer">love me</a>
Original file line number Diff line number Diff line change 129129 const items = Array . from ( document . querySelectorAll ( '.item' ) ) ;
130130 const init = ( ( ) => items . forEach ( item => new ImgItem ( item ) ) ) ( ) ;
131131} ;
132-
133- $ ( window ) . scroll ( function ( ) {
134- var isMobile = window . matchMedia ( "only screen and (max-width: 850px)" ) . matches ||
135- / A n d r o i d | w e b O S | i P h o n e | i P a d | i P o d | B l a c k B e r r y | I E M o b i l e | O p e r a M i n i / i. test ( navigator . userAgent ) ;
136- var isOtherMediaQuery = window . matchMedia ( "only screen and (min-width:1080px)" ) . matches ;
137- if ( isMobile && ! isOtherMediaQuery ) {
138- // some code..
139- } else {
140- var hT = $ ( '#menu' ) . offset ( ) . top ,
141- hH = $ ( '#menu' ) . outerHeight ( ) ,
142- wH = $ ( window ) . height ( ) ,
143- wS = $ ( this ) . scrollTop ( ) ;
144-
145- if ( wS > ( hT + hH - wH ) ) {
146- $ ( '#footer' ) . addClass ( "menu-footer" ) ;
147- $ ( '#footer' ) . removeClass ( "hero-footer" ) ;
148- } else {
149- $ ( '#footer' ) . addClass ( "hero-footer" ) ;
150- $ ( '#footer' ) . removeClass ( "menu-footer" ) ;
151- }
152- }
153- } ) ;
You can’t perform that action at this time.
0 commit comments