mirror of
https://github.com/chillpadclub/bedolaga-cabinet.git
synced 2026-07-28 09:33:46 +00:00
fix(cabinet-icons): correct two mismatched glyphs from the svg migration
A personal glyph-by-glyph re-review of the migration (the "steering wheel" guard) found two wrong matches: - MaintenanceScreen: a wrench/maintenance svg had been mapped to AdjustmentsIcon (sliders) → use a proper WrenchIcon (PiWrench). - InstallationGuide tutorial button: an open-book svg had been mapped to DocumentIcon (file) → use BookOpenIcon (PiBookOpen). Add WrenchIcon and BookOpenIcon to the central barrel. All other replacements were verified correct (paper-plane→Send, server→HardDrives, warning-triangle→ Warning, etc.).
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
import { useTranslation } from 'react-i18next';
|
import { useTranslation } from 'react-i18next';
|
||||||
import { useBlockingStore } from '../../store/blocking';
|
import { useBlockingStore } from '../../store/blocking';
|
||||||
import { useFocusTrap } from '../../hooks/useFocusTrap';
|
import { useFocusTrap } from '../../hooks/useFocusTrap';
|
||||||
import { AdjustmentsIcon } from '@/components/icons';
|
import { WrenchIcon } from '@/components/icons';
|
||||||
|
|
||||||
export default function MaintenanceScreen() {
|
export default function MaintenanceScreen() {
|
||||||
const { t } = useTranslation();
|
const { t } = useTranslation();
|
||||||
@@ -21,7 +21,7 @@ export default function MaintenanceScreen() {
|
|||||||
{/* Icon */}
|
{/* Icon */}
|
||||||
<div className="mb-8">
|
<div className="mb-8">
|
||||||
<div className="mx-auto flex h-24 w-24 items-center justify-center rounded-full bg-dark-800">
|
<div className="mx-auto flex h-24 w-24 items-center justify-center rounded-full bg-dark-800">
|
||||||
<AdjustmentsIcon className="h-12 w-12 text-warning-500" />
|
<WrenchIcon className="h-12 w-12 text-warning-500" />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ import { useTheme } from '@/hooks/useTheme';
|
|||||||
import { CardsBlock, TimelineBlock, AccordionBlock, MinimalBlock, BlockButtons } from './blocks';
|
import { CardsBlock, TimelineBlock, AccordionBlock, MinimalBlock, BlockButtons } from './blocks';
|
||||||
import type { BlockRendererProps } from './blocks';
|
import type { BlockRendererProps } from './blocks';
|
||||||
import TvQuickConnect from './TvQuickConnect';
|
import TvQuickConnect from './TvQuickConnect';
|
||||||
import { BackIcon, ChevronIcon, DocumentIcon } from '@/components/icons';
|
import { BackIcon, BookOpenIcon, ChevronIcon } from '@/components/icons';
|
||||||
|
|
||||||
const platformOrder = ['ios', 'android', 'windows', 'macos', 'linux', 'androidTV', 'appleTV'];
|
const platformOrder = ['ios', 'android', 'windows', 'macos', 'linux', 'androidTV', 'appleTV'];
|
||||||
|
|
||||||
@@ -307,7 +307,7 @@ export default function InstallationGuide({
|
|||||||
rel="noopener noreferrer"
|
rel="noopener noreferrer"
|
||||||
className="btn-secondary w-full justify-center"
|
className="btn-secondary w-full justify-center"
|
||||||
>
|
>
|
||||||
<DocumentIcon className="h-5 w-5" />
|
<BookOpenIcon className="h-5 w-5" />
|
||||||
{getBaseTranslation('tutorial', 'subscription.connection.tutorial')}
|
{getBaseTranslation('tutorial', 'subscription.connection.tutorial')}
|
||||||
</a>
|
</a>
|
||||||
)}
|
)}
|
||||||
|
|||||||
@@ -1,5 +1,7 @@
|
|||||||
import {
|
import {
|
||||||
PiSlidersHorizontal,
|
PiSlidersHorizontal,
|
||||||
|
PiWrench,
|
||||||
|
PiBookOpen,
|
||||||
PiHeadset,
|
PiHeadset,
|
||||||
PiArrowDown,
|
PiArrowDown,
|
||||||
PiArrowRight,
|
PiArrowRight,
|
||||||
@@ -90,6 +92,14 @@ export const AdjustmentsIcon = ({ className }: IconProps) => (
|
|||||||
<PiSlidersHorizontal className={cn('h-5 w-5', className)} />
|
<PiSlidersHorizontal className={cn('h-5 w-5', className)} />
|
||||||
);
|
);
|
||||||
|
|
||||||
|
export const WrenchIcon = ({ className }: IconProps) => (
|
||||||
|
<PiWrench className={cn('h-5 w-5', className)} />
|
||||||
|
);
|
||||||
|
|
||||||
|
export const BookOpenIcon = ({ className }: IconProps) => (
|
||||||
|
<PiBookOpen className={cn('h-5 w-5', className)} />
|
||||||
|
);
|
||||||
|
|
||||||
export const AgentIcon = ({ className }: IconProps) => (
|
export const AgentIcon = ({ className }: IconProps) => (
|
||||||
<PiHeadset className={cn('h-5 w-5', className)} />
|
<PiHeadset className={cn('h-5 w-5', className)} />
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user