upd: upd version

Deskripsi:
- tampilan jika update versi terbaru atau sedang maintenance

NO Issues
This commit is contained in:
2026-02-24 15:51:29 +08:00
parent 449f6f96cc
commit 214a243e44
7 changed files with 306 additions and 16 deletions

View File

@@ -13,20 +13,20 @@ type Props = {
}
export default function EventItem({ category, title, user, jamAwal, jamAkhir, onPress }: Props) {
const { theme, colors } = useTheme();
const { activeTheme, colors } = useTheme();
const getBackgroundColor = (cat: 'purple' | 'orange') => {
if (theme === 'dark') {
if (activeTheme === 'dark') {
return cat === 'orange' ? '#547792' : '#1D546D';
}
return cat === 'orange' ? '#D6E6F2' : '#A9B5DF';
};
const getStickColor = (cat: 'purple' | 'orange') => {
if (theme === 'dark') {
if (activeTheme === 'dark') {
return cat === 'orange' ? '#94B4C1' : '#5F9598';
}
return cat === 'orange' ? '#F5F5F5' : '#7886C7' ;
return cat === 'orange' ? '#F5F5F5' : '#7886C7';
};
return (