File tree Expand file tree Collapse file tree 3 files changed +48
-47
lines changed Expand file tree Collapse file tree 3 files changed +48
-47
lines changed Original file line number Diff line number Diff line change 55 < meta name ="viewport " content ="width=device-width, initial-scale=1.0, maximum-scale=1.0 " />
66 < title > blobs</ title >
77 < script src ="https://unpkg.com/blobs/v2 "> </ script >
8+ < meta property ="og:url " content ="https://blobs.dev " />
9+ < meta property ="og:type " content ="website " />
10+ < meta property ="og:title " content ="blobs " />
11+ < meta property ="og:description " content ="Random blob generator " />
12+ < meta property ="og:image " content ="https://blobs.dev/assets/logo.png " />
813 </ head >
914 < body >
1015 < style >
6671 if ( ! mobileElem ) return ;
6772 console . log ( window . innerWidth ) ;
6873
69- mobileElem . innerHTML = blobs2 . svg (
70- {
71- seed : Math . random ( ) ,
72- extraPoints : 4 ,
73- randomness : 6 ,
74- size : Math . min ( 600 , window . innerWidth - 100 ) ,
75- } ,
76- {
77- stroke : "black" ,
78- strokeWidth : - 10 ,
79- } ,
80- ) ;
74+ mobileElem . innerHTML = blobs2 . svg ( {
75+ seed : Math . random ( ) ,
76+ extraPoints : 4 ,
77+ randomness : 6 ,
78+ size : Math . min ( 600 , window . innerWidth - 100 ) ,
79+ } ) ;
8180 }
8281
8382 refresh ( ) ;
You can’t perform that action at this time.
0 commit comments