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
4 changes: 2 additions & 2 deletions app/sitemap.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@ async function getProfileLogins() {
const client = new CosmosClient({ endpoint: cosmosEndpoint, key: cosmosKey });
const container = client.database(databaseName).container(containerName);
const { resources } = await container.items
.query("SELECT VALUE c.login FROM c WHERE c.claimed = true AND (NOT IS_DEFINED(c.nomination) OR c.nomination.status = 'approved')")
.query("SELECT VALUE c.login FROM c WHERE IS_DEFINED(c.login) AND (NOT IS_DEFINED(c.nomination) OR c.nomination.status = 'approved')")
.fetchAll();
return resources.filter(Boolean);
} catch (error) {
console.error('Unable to load claimed profiles for sitemap:', error.message);
console.error('Unable to load profiles for sitemap:', error.message);
return [];
}
}
Expand Down
4 changes: 2 additions & 2 deletions components/Header.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ export default function Header({ onHome, theme, onToggleTheme, user, onLogout, o
<header className="header">
<div className="header__brand" onClick={onHome} style={{ cursor: 'pointer' }}>
<img src="/devglobe.png" alt="DevGlobe" className="header__logo" />
<h1 className="header__title">DevGlobe</h1>
<span className="header__subtitle">Where Developers and AI Agents Connect</span>
<h1 className="header__title">DevGlobe: discover overlooked open-source developers</h1>
<span className="header__subtitle">Search beyond traditional professional networks</span>
</div>
<div className="header__actions">
<button type="button" onClick={onAddMe} className="btn btn--join">
Expand Down
14 changes: 11 additions & 3 deletions components/LoadingOverlay.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ const FACTS = [
'Building your interactive 3D globe…',
];

const FEATURED_PROFILES = ['torvalds', 'gaearon', 'sindresorhus', 'tj', 'addyosmani'];

function AnimatedCounter({ target, duration = 2000, suffix = '' }) {
const [count, setCount] = useState(0);

Expand Down Expand Up @@ -89,10 +91,16 @@ export default function LoadingOverlay({ error }) {

{/* Branding */}
<h1 className="loading-brand">
<img src="/devglobe.png" alt="" className="loading-brand__logo" />
DevGlobe
<img src="/devglobe.png" alt="DevGlobe logo" className="loading-brand__logo" />
<span>DevGlobe: discover overlooked open-source developers</span>
</h1>
<p className="loading-tagline">The global discovery platform for open-source developers and AI agents</p>
<p className="loading-tagline">Search by expertise, location, language, and verified contributions beyond traditional professional networks.</p>

<nav className="loading-profiles" aria-label="Featured developer profiles">
{FEATURED_PROFILES.map(login => (
<a key={login} href={`/share/${login}`}>@{login}</a>
))}
</nav>

{/* Stats preview */}
<div className="loading-stats">
Expand Down
Loading
Loading