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
@@ -1,6 +1,7 @@
'use client';

import { FlamingoLogoIcon } from '../../icons-v2-generated/logos/flamingo-logo-icon';
import { BRAND_NAME } from '../../../utils/platform-identity';
import { FlamingoMarkIcon } from '../../icons-v2-generated/logos/flamingo-mark-icon';
import { OpenframeLogoIcon } from '../../icons-v2-generated/logos/openframe-logo-icon';

/** OpenFrame logo + wordmark, shown at the top of the auth screens. */
Expand All @@ -18,17 +19,20 @@ export function OpenFrameWordmark() {
}

export interface PoweredByFlamingoProps {
/** Keep the small 56×16 logo at every breakpoint (default grows to 83×24 from tablet up). */
/** Keep the small size at every breakpoint (default grows from tablet up). */
compact?: boolean;
}

/** "Powered by Flamingo" footer mark. */
/**
* "Powered by flamingo" footer mark: the mark, then the name as TEXT in the wordmark font (`BRAND_NAME`), never a
* picture of the word, so a rename or a font change reaches it with no new artwork.
*/
export function PoweredByFlamingo({ compact = false }: PoweredByFlamingoProps) {
return (
<div className="flex items-center gap-[var(--spacing-system-xs)] text-ods-text-secondary">
<span className="text-h6">Powered by</span>
{/* logo is 416×120 (≈3.47:1) — set explicit w/h so it isn't squashed to a square. */}
<FlamingoLogoIcon className={compact ? 'h-4 w-14' : 'h-4 w-14 md:h-6 md:w-[83px]'} />
<FlamingoMarkIcon className={compact ? 'h-4 w-4' : 'h-4 w-4 md:h-5 md:w-5'} color="currentColor" />
<span className="text-wordmark">{BRAND_NAME}</span>
</div>
);
}
Original file line number Diff line number Diff line change
Expand Up @@ -812,7 +812,6 @@ export const ICON_LOADERS: Readonly<Record<string, () => Promise<IconModule>>> =
Flag01Icon: () => import('./map-and-travel/flag-01-icon').then(module => ({ default: module.Flag01Icon })),
Flag02Icon: () => import('./map-and-travel/flag-02-icon').then(module => ({ default: module.Flag02Icon })),
Flag03Icon: () => import('./map-and-travel/flag-03-icon').then(module => ({ default: module.Flag03Icon })),
FlamingoLogoIcon: () => import('./logos/flamingo-logo-icon').then(module => ({ default: module.FlamingoLogoIcon })),
FlamingoMarkIcon: () => import('./logos/flamingo-mark-icon').then(module => ({ default: module.FlamingoMarkIcon })),
FlashAutoIcon: () => import('./audio-and-visual/flash-auto-icon').then(module => ({ default: module.FlashAutoIcon })),
FlashIcon: () => import('./audio-and-visual/flash-icon').then(module => ({ default: module.FlashIcon })),
Expand Down

Large diffs are not rendered by default.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
export { FlamingoLogoIcon } from './flamingo-logo-icon';
export { FlamingoMarkIcon } from './flamingo-mark-icon';
export { MiamiCyberGangLogoIcon } from './miami-cyber-gang-logo-icon';
export { MingoLogoIcon } from './mingo-logo-icon';
Expand Down

This file was deleted.