refactor(timestamp): migrate pageTheme constants to Timestamp feature

Remove config/pageTheme.ts and move DATE_FORMAT, ZONES, UnitType, ZoneType
to pages/Timestamp/constants.ts for better feature cohesion.
This commit is contained in:
雨霖铃
2026-05-23 12:57:51 +08:00
parent 6bac88fbc4
commit 8b2bca9eef
6 changed files with 12 additions and 62 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
import { Clock } from 'lucide-react';
import PageHeader from '@/components/PageHeader';
import SwitchButtonGroup from '@/components/SwitchButtonGroup';
import { ZONES } from '@/config/pageTheme';
import { ZONES } from './constants';
import LiveClock from './LiveClock';
import ResultView from './ResultView';
import { useTimestampConverter } from './useTimestampConverter';