Skip to content

Commit 80a5bfe

Browse files
style: format code with Black, isort, Prettier and Ruff Formatter (#195)
This commit fixes the style issues introduced in 4f2d253 according to the output from Black, isort, Prettier and Ruff Formatter. Details: None Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>
1 parent 4f2d253 commit 80a5bfe

3 files changed

Lines changed: 38 additions & 8 deletions

File tree

docs/script.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ async function fetchAndPrepareUsers() {
169169
*/
170170
async function loadFeaturedUser() {
171171
try {
172-
const res = await fetch('featured.json', { cache: 'no-store' });
172+
const res = await fetch('featured.json', {cache: 'no-store'});
173173
if (!res.ok) {
174174
return;
175175
}

docs/styles.css

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -401,12 +401,17 @@ h1 {
401401
right: -50%;
402402
width: 200%;
403403
height: 200%;
404-
background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
404+
background: radial-gradient(
405+
circle,
406+
rgba(255, 255, 255, 0.1) 0%,
407+
transparent 70%
408+
);
405409
animation: pulse 15s ease-in-out infinite;
406410
}
407411

408412
@keyframes pulse {
409-
0%, 100% {
413+
0%,
414+
100% {
410415
transform: scale(1);
411416
opacity: 0.5;
412417
}

layouts/layout.html

Lines changed: 30 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -377,16 +377,41 @@ <h2>🔍 Find Your Favorite Developer</h2>
377377

378378
<main class="main-content">
379379
<!-- Featured User Section -->
380-
<section id="featuredUserSection" class="featured-user-section" style="display: none;">
380+
<section
381+
id="featuredUserSection"
382+
class="featured-user-section"
383+
style="display: none"
384+
>
381385
<div class="featured-badge">⭐ Featured Developer of the Month</div>
382386
<div class="featured-content">
383-
<a href="" id="featuredUserLink" target="_blank" rel="noopener" class="featured-avatar-link">
384-
<img id="featuredUserAvatar" src="" alt="Featured developer avatar" class="featured-avatar" />
387+
<a
388+
href=""
389+
id="featuredUserLink"
390+
target="_blank"
391+
rel="noopener"
392+
class="featured-avatar-link"
393+
>
394+
<img
395+
id="featuredUserAvatar"
396+
src=""
397+
alt="Featured developer avatar"
398+
class="featured-avatar"
399+
/>
385400
</a>
386401
<div class="featured-info">
387402
<h2 id="featuredUserName" class="featured-name"></h2>
388-
<a href="" id="featuredUserLoginLink" target="_blank" rel="noopener" class="featured-login"></a>
389-
<p id="featuredUserLocation" class="featured-location" style="display: none;">
403+
<a
404+
href=""
405+
id="featuredUserLoginLink"
406+
target="_blank"
407+
rel="noopener"
408+
class="featured-login"
409+
></a>
410+
<p
411+
id="featuredUserLocation"
412+
class="featured-location"
413+
style="display: none"
414+
>
390415
<span class="location-icon">📍</span>
391416
<span class="location-text"></span>
392417
</p>

0 commit comments

Comments
 (0)