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
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export const SearchProfile = () => {
className="flex gap-4"
>
<Input
placeholder="e.g. torvalds, sindresorhus"
placeholder="e.g., torvalds, sindresorhus"
value={login}
onChange={(event) => setLogin(event.target.value)}
disabled={loading}
Expand Down
2 changes: 1 addition & 1 deletion app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { GlobalRankingSection } from './components/global-ranking-section';
import InsightsCarousel from './components/insights-carousel';
import { LanguageRankingSection } from './components/language-ranking-section';
import { MessengerIntegrationSection } from './components/messenger-integration-section';
import { SearchProfile } from './components/search-profiile';
import { SearchProfile } from './components/search-profile';

export default function Home() {
return (
Expand Down
2 changes: 1 addition & 1 deletion app/profile/[login]/components/overview-page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { Link } from '@/components/link/link';
import type { PageProfileOverviewQuery } from '@/types/generated/graphql';

import NotFound from '../not-found';
import { UserContributionsList } from '../repositories/components/user-contriutions-list';
import { UserContributionsList } from '../repositories/components/user-contributions-list';
import { UserRepositoriesList } from '../repositories/components/user-repositories-list';
import { buildProfileTabSEO } from '../seo';
import { ProfileTimeline } from '../timeline/components/profile-timeline';
Expand Down
2 changes: 1 addition & 1 deletion app/profile/[login]/components/tooltips.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export const PersonaTooltip = () => (

export const GlobalRankTooltip = () => (
<div className="max-w-72">
This is your <b>highest rank</b> among {RANK_NAME.s}, {RANK_NAME.c}, and {RANK_NAME.f}. Go to the <b>Ranks</b> tab
This is their <b>highest rank</b> among {RANK_NAME.s}, {RANK_NAME.c}, and {RANK_NAME.f}. Go to the <b>Ranks</b> tab
to see detailed explanations of each ranking.
</div>
);
2 changes: 1 addition & 1 deletion app/profile/[login]/repositories/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { fetchProfilePageRepositories } from '@/graphql/helpers/fetch-profile-pa
import { LayoutLeftColumn } from '../components/layout-left-column';
import NotFound from '../not-found';
import { buildProfileTabSEO } from '../seo';
import { UserContributionsList } from './components/user-contriutions-list';
import { UserContributionsList } from './components/user-contributions-list';
import { UserRepositoriesList } from './components/user-repositories-list';

export async function generateMetadata({ params }: PageProps<'/profile/[login]/repositories'>): Promise<Metadata> {
Expand Down
2 changes: 1 addition & 1 deletion app/wa/privacy/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ export default function PrivacyPolicy() {
<section className="space-y-4">
<h2 className="text-2xl font-bold">5. How we store and protect data</h2>
<p>
Data is stored on <span className="font-medium">Digital Ocean Amsterdam Datacentr-3</span>
Data is stored on <span className="font-medium">Digital Ocean Amsterdam Datacenter-3</span>
&nbsp;in encrypted databases and is never sold. Access is restricted to authorised personnel only.
</p>
</section>
Expand Down
2 changes: 1 addition & 1 deletion badge/utils/get-contrast-text-color.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export function getContrastTextColor(bgColor: string): 'black' | 'white' {
// Calculate relative luminance (sRGB)
const luminance = (0.299 * r + 0.587 * g + 0.114 * b) / 255;

// If luminance is high → use black, otherwise use white
// If luminance is high → use black; otherwise, use white
return luminance > 0.5 ? 'black' : 'white';
}

Expand Down
2 changes: 1 addition & 1 deletion components/ranking-table/ranking-table.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { getCountryFlag } from '@/utils/get-country-flag';
import { getRankingConfigByType } from '@/utils/get-ranking-config-by-type';
import { RankDelta } from '../rank-delta/rank-delta';
import { UserCard } from '../user-card/user-card';
import { ClickableRow } from './clickale-row';
import { ClickableRow } from './clickable-row';

type RankingTableProps = {
rankingType: string;
Expand Down