@@ -1407,8 +1407,39 @@ <h2 class="text-2xl font-bold font-mono text-zinc-900 dark:text-zinc-100">aerpaw
14071407⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢻⣿⣿⡇⢸⣿⣿⣿⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
14081408⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸⣿⣿⡇⢸⣿⣿⣿⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
14091409⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠉⠉⠀⠘⠛⠛⠋⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀` ;
1410- console . log ( "%c" + tetoAscii , "color: #FF3366; font-family: monospace; font-size: 8px; line-height: 1.1; font-weight: bold;" ) ;
1411- console . log ( "%cI ❤️ teto" , "color: #FF3366; font-family: monospace; font-size: 12px; font-weight: bold;" ) ;
1410+
1411+ const blankStyle = "color: rgba(255, 51, 102, 0.08); font-family: monospace; font-size: 8px; line-height: 1.15;" ;
1412+ const dotStyle = "color: rgb(255, 51, 102); font-family: monospace; font-size: 8px; line-height: 1.15; font-weight: bold;" ;
1413+
1414+ tetoAscii . split ( "\n" ) . forEach ( ( line ) => {
1415+ const parts = [ ] ;
1416+ const styles = [ ] ;
1417+ let currentType = null ;
1418+ let currentStr = "" ;
1419+
1420+ for ( const char of line ) {
1421+ const isBlank = char === "⠀" || char === " " ;
1422+ const type = isBlank ? "blank" : "dots" ;
1423+
1424+ if ( type !== currentType ) {
1425+ if ( currentStr ) {
1426+ parts . push ( "%c" + currentStr ) ;
1427+ styles . push ( currentType === "blank" ? blankStyle : dotStyle ) ;
1428+ }
1429+ currentStr = char ;
1430+ currentType = type ;
1431+ } else {
1432+ currentStr += char ;
1433+ }
1434+ }
1435+ if ( currentStr ) {
1436+ parts . push ( "%c" + currentStr ) ;
1437+ styles . push ( currentType === "blank" ? blankStyle : dotStyle ) ;
1438+ }
1439+ console . log ( parts . join ( "" ) , ...styles ) ;
1440+ } ) ;
1441+
1442+ console . log ( "%cChimera Kasane Teto is watching your console! 🥖" , "color: #FF3366; font-family: monospace; font-size: 12px; font-weight: bold;" ) ;
14121443
14131444
14141445 const style = document . createElement ( "style" ) ;
0 commit comments