File tree Expand file tree Collapse file tree 3 files changed +0
-114
lines changed
Expand file tree Collapse file tree 3 files changed +0
-114
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -84,16 +84,6 @@ function handleSubmit(event, showLoading = false) {
8484 const starCount = currentStars ;
8585
8686
87- // TEMPORARY SNOW LOGIC //
88- const parser = new DOMParser ( ) ;
89- const newDoc = parser . parseFromString ( html , 'text/html' ) ;
90-
91- const existingCanvas = document . getElementById ( 'snow-canvas' ) ;
92- document . body . innerHTML = newDoc . body . innerHTML ;
93- if ( existingCanvas ) {
94- document . body . insertBefore ( existingCanvas , document . body . firstChild ) ;
95- }
96- // END TEMPORARY SNOW LOGIC //
9787
9888 // Wait for next tick to ensure DOM is updated
9989 setTimeout ( ( ) => {
Original file line number Diff line number Diff line change 3737 </title >
3838 <script src =" https://cdn.tailwindcss.com" ></script >
3939 <script src =" /static/js/utils.js" ></script >
40- <script src =" /static/js/snow.js" ></script >
41- <style >
42- #snow-canvas {
43- position : fixed ;
44- top : 0 ;
45- left : 0 ;
46- pointer-events : none ;
47- z-index : 10 ;
48- width : 100% ;
49- height : 100% ;
50- }
51- </style >
5240 {% block extra_head %}{% endblock %}
5341 </head >
5442 <body class =" bg-[#FFFDF8] min-h-screen flex flex-col" >
55- <canvas id =" snow-canvas" ></canvas >
5643 {% include 'components/navbar.jinja' %}
5744 <!-- Main content wrapper -->
5845 <main class =" flex-1 w-full" >
You can’t perform that action at this time.
0 commit comments