Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ async function fetchAndPrepareUsers() {
*/
async function loadFeaturedUser() {
try {
const res = await fetch('featured.json', { cache: 'no-store' });
const res = await fetch('featured.json', {cache: 'no-store'});
if (!res.ok) {
return;
}
Expand Down
9 changes: 7 additions & 2 deletions docs/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -401,12 +401,17 @@ h1 {
right: -50%;
width: 200%;
height: 200%;
background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
background: radial-gradient(
circle,
rgba(255, 255, 255, 0.1) 0%,
transparent 70%
);
animation: pulse 15s ease-in-out infinite;
}

@keyframes pulse {
0%, 100% {
0%,
100% {
transform: scale(1);
opacity: 0.5;
}
Expand Down
35 changes: 30 additions & 5 deletions layouts/layout.html
Original file line number Diff line number Diff line change
Expand Up @@ -377,16 +377,41 @@ <h2>🔍 Find Your Favorite Developer</h2>

<main class="main-content">
<!-- Featured User Section -->
<section id="featuredUserSection" class="featured-user-section" style="display: none;">
<section
id="featuredUserSection"
class="featured-user-section"
style="display: none"
>
<div class="featured-badge">⭐ Featured Developer of the Month</div>
<div class="featured-content">
<a href="" id="featuredUserLink" target="_blank" rel="noopener" class="featured-avatar-link">
<img id="featuredUserAvatar" src="" alt="Featured developer avatar" class="featured-avatar" />
<a
href=""
id="featuredUserLink"
target="_blank"
rel="noopener"
class="featured-avatar-link"
>
<img
id="featuredUserAvatar"
src=""
alt="Featured developer avatar"
class="featured-avatar"
/>
</a>
<div class="featured-info">
<h2 id="featuredUserName" class="featured-name"></h2>
<a href="" id="featuredUserLoginLink" target="_blank" rel="noopener" class="featured-login"></a>
<p id="featuredUserLocation" class="featured-location" style="display: none;">
<a
href=""
id="featuredUserLoginLink"
target="_blank"
rel="noopener"
class="featured-login"
></a>
<p
id="featuredUserLocation"
class="featured-location"
style="display: none"
>
<span class="location-icon">📍</span>
<span class="location-text"></span>
</p>
Expand Down
Loading