File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ function start_animation() {
99 const centerX = width / 2
1010 const centerY = height / 2
1111
12- const svg = document . getElementById ( 'scene ' )
12+ const svg = document . getElementById ( 'hero-animation ' )
1313 svg . setAttribute ( 'viewBox' , `0 0 ${ width } ${ height } ` )
1414 svg . setAttribute ( 'width' , width )
1515 svg . setAttribute ( 'height' , height )
Original file line number Diff line number Diff line change 9494< body class ="bg-gray-200 font-grotesk-regular ">
9595 < div
9696 class ="font-grotesk-bold h-screen flex items-center justify-center bg-cover bg-no-repeat bg-center bg-odd-hero relative ">
97- < svg id ="scene " viewBox ="0 0 1920 1080 " preserveAspectRatio ="xMidYMid slice "
97+ < svg id ="hero-animation " viewBox ="0 0 1920 1080 " preserveAspectRatio ="xMidYMid slice "
9898 class ="absolute inset-0 w-full h-full z-0 "> </ svg >
9999
100100 <!-- Centered overlay SVG -->
Original file line number Diff line number Diff line change 7777 list-style-type : upper-alpha;
7878}
7979
80- svg {
80+ # hero-animation {
8181 width : 100% ;
8282 height : 100% ;
8383 background-color : # 4ddfff ;
You can’t perform that action at this time.
0 commit comments