File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -145,6 +145,10 @@ <h1 class="font-public-sans font-bold text-6xl sm:text-8xl md:text-[120px] mb-4
145145 'url(https://media4.giphy.com/media/v1.Y2lkPTc5MGI3NjExajBxOWE4NWI3YnllaDlrNGF1YzdqdzN4ZnB1N2htMGV2bWowcGdkNyZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw/epRJD2s3WklPvxe5kM/giphy.gif)' , // ゴールドラッシュ
146146 'url(https://media1.giphy.com/media/v1.Y2lkPTc5MGI3NjExZTBpMjhhbDlwMG15Zmd5Y2p4cXY0N3k1MzNra25xdTB1eXNzcXN5cCZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw/HlszHDwXM6r0mGlByr/giphy.gif)' , // サイケデリック
147147 ] ;
148+ gifs . forEach ( function ( g ) {
149+ var img = new Image ( ) ;
150+ img . src = g . replace ( / ^ u r l \( [ " ' ] ? | [ " ' ] ? \) $ / g, '' ) ;
151+ } ) ;
148152 var positions = [ 'center 20%' , 'center 50%' , 'center 80%' ] ;
149153 var idx = Math . floor ( Math . random ( ) * gifs . length ) ;
150154 var els = document . querySelectorAll ( '.gif-text' ) ;
You can’t perform that action at this time.
0 commit comments