File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ export default class LongPage extends Page {
1919 // });
2020 }
2121 update ( ) {
22- this . scroll && this . smoothScroll ( ) ;
22+ // this.scroll && this.smoothScroll();
2323 }
2424 destroy ( ) {
2525 // this.Revealer.observer.disconnect();
Original file line number Diff line number Diff line change @@ -17,20 +17,22 @@ export default class Page {
1717
1818 //add animations
1919
20- this . predestroy ( ) ;
20+ // this.predestroy();
2121 }
2222 createWebGL ( ) {
2323 this . createGeometry ?. call ( this ) ;
2424 this . createMaterial ?. call ( this ) ;
2525 this . createMesh ?. call ( this ) ;
2626 }
27- predestroy ( ) {
28- if ( ! canvas ) this . destroy ( ) ;
29- Canvas ?. navigate = ( ) => {
30- this . removeEventListeners && this . removeEventListeners ( ) ;
31- gsap . to ( this . element , { autoAlpha : 0 } ) ;
32- } ;
33- }
27+
28+ // predestroy() {
29+ // if (!canvas) this.destroy();
30+ // Canvas?.navigate = () => {
31+ // this.removeEventListeners && this.removeEventListeners();
32+ // gsap.to(this.element, { autoAlpha: 0 });
33+ // };
34+ // }
35+
3436 destroy ( ) { }
3537
3638 storePageAssets ( collection , entries ) {
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ class App extends Framework {
77 requestAnimationFrame ( this . update . bind ( this ) ) ;
88 window . onunload = ( ) => {
99 scrollTo ( 0 , 0 ) ;
10- Canvas ?. destroy ( ) ;
10+ // Canvas?.destroy();
1111 } ;
1212 }
1313
Original file line number Diff line number Diff line change 11html {
2- overflow : hidden ;
2+ // overflow: hidden;
33 font-size : calc (100vw / 1440 * 10 );
44
55 @include media (" <phone" ) {
@@ -13,14 +13,18 @@ body {
1313 min-height : 100vh ;
1414 user-select : none ;
1515 -webkit-user-drag : none ;
16- overflow : hidden ;
16+ // overflow: hidden;
17+ }
18+
19+ * {
20+ box-sizing : border-box ;
1721}
1822
1923::-webkit-scrollbar {
2024 display : none !important ;
2125}
2226
23- a {
27+ a {
2428 color : inherit ;
2529 text-decoration : none ;
2630}
@@ -53,6 +57,6 @@ canvas {
5357 }
5458}
5559
56- [data-reveal ]{
60+ [data-reveal ] {
5761 opacity : 0 ;
5862}
Original file line number Diff line number Diff line change 1616 font-weight : 400 ;
1717}
1818
19- %text-m {
20- @include media (" <phone" ) {
21- line-height : 1.2 ;
22- font-size : 1.4rem ;
23- }
24- }
25-
26- %text-l {
27- @include media (" <phone" ) {
28- font-size : clamp (0rem , 1.5rem , 20px );
29- line-height : 1.25 ;
30- }
31- }
32-
33- %text-xl {
34- font-size : 1.6rem ;
35- line-height : 1.2 ;
36- @include media (" <phone" ) {
37- font-size : 1rem ;
38- }
39- }
40-
41- %title-s {
42- font-size : 1.8rem ;
43- line-height : 1.2 ;
44- font-weight : 500 ;
45- @include media (" <phone" ) {
46- font-size : 1.1rem ;
47- }
48- }
49-
50- %title-m {
51- font-size : 2rem ;
52- line-height : 1.2 ;
53- @include media (" <phone" ) {
54- font-size : clamp (0rem , 1.4rem , 15px );
55- }
56- }
57-
58- %title-l {
59- font-size : 2rem ;
60- line-height : 1.2 ;
61- @include media (" <phone" ) {
62- font-size : clamp (0rem , 1.1rem , 15px );
63- }
64- }
65-
66- %title-xl {
67- font-size : 3rem ;
68- line-height : 1.5 ;
69- @include media (" <phone" ) {
70- font-size : clamp (0rem , 0.9rem , 15px );
71- line-height : 1.2 ;
72- }
73- }
You can’t perform that action at this time.
0 commit comments