Skip to content

Commit d7bf3e6

Browse files
committed
fix "Page" not displaying on homepage on chrome
https://issues.chromium.org/issues/389084438
1 parent 51befbf commit d7bf3e6

File tree

1 file changed

+33
-17
lines changed

1 file changed

+33
-17
lines changed

examples/official-site/sqlpage/templates/shell-home.handlebars

Lines changed: 33 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -227,23 +227,8 @@
227227
font-size: 4rem;
228228
margin-bottom: 15px;
229229
font-weight: 800;
230-
color: transparent;
231-
background:
232-
linear-gradient(180deg,
233-
rgba(255, 255, 255, .8) 0%,
234-
rgba(172, 179, 211, 0.9) 100%),
235-
linear-gradient(135deg,
236-
#ccc 0%,
237-
#ccc 45%,
238-
#fff 50%,
239-
#ccc 55%,
240-
#ccc 100%);
241-
background-blend-mode: multiply;
242-
background-size: 100% 100%, 400% 100%;
243-
background-clip: text;
244230
letter-spacing: -1px;
245231
transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
246-
animation: shimmer 25s linear infinite;
247232
transform: scale(1) translateX(0) translateY(0) translateZ(0);
248233
}
249234
@@ -859,6 +844,36 @@
859844
grid-template-columns: 1fr;
860845
}
861846
}
847+
848+
/* SWORD METAL EFFECT */
849+
.sword {
850+
color: transparent;
851+
background:
852+
linear-gradient(180deg,
853+
rgba(255, 255, 255, .8) 0%,
854+
rgba(172, 179, 211, 0.9) 100%),
855+
linear-gradient(135deg,
856+
#ccc 0%,
857+
#ccc 45%,
858+
#fff 50%,
859+
#ccc 55%,
860+
#ccc 100%);
861+
background-blend-mode: multiply;
862+
background-size: 100% 100%, 400% 100%;
863+
background-clip: text;
864+
-webkit-background-clip: text;
865+
animation: shimmer 25s linear infinite;
866+
}
867+
868+
@keyframes shimmer {
869+
0% {
870+
background-position: 400% 0;
871+
}
872+
873+
100% {
874+
background-position: -400% 0;
875+
}
876+
}
862877
</style>
863878
</head>
864879

@@ -877,7 +892,7 @@
877892
</div>
878893

879894
<div class="text-content">
880-
<h1><span>SQL</span><span class="words"><span>Page</span><span>
895+
<h1 class="sword"><span>SQL</span><span class="words"><span class="sword">Page</span><span>
881896
Website</span><span>
882897
App</span><span>
883898
Tools</span><span>
@@ -1003,7 +1018,8 @@
10031018
</a>
10041019
<a href="https://youtube.com/@sqlpage" aria-label="YouTube">
10051020
<svg width="24" height="24" viewBox="0 0 24 24" fill="currentColor">
1006-
<path d="M19.615 3.184c-3.604-.246-11.631-.245-15.23 0-3.897.266-4.356 2.62-4.385 8.816.029 6.185.484 8.549 4.385 8.816 3.6.245 11.626.246 15.23 0 3.897-.266 4.356-2.62 4.385-8.816-.029-6.185-.484-8.549-4.385-8.816zm-10.615 12.816v-8l8 3.993-8 4.007z"/>
1021+
<path
1022+
d="M19.615 3.184c-3.604-.246-11.631-.245-15.23 0-3.897.266-4.356 2.62-4.385 8.816.029 6.185.484 8.549 4.385 8.816 3.6.245 11.626.246 15.23 0 3.897-.266 4.356-2.62 4.385-8.816-.029-6.185-.484-8.549-4.385-8.816zm-10.615 12.816v-8l8 3.993-8 4.007z" />
10071023
</svg>
10081024
</a>
10091025
</div>

0 commit comments

Comments
 (0)