24 lines
912 B
TypeScript
24 lines
912 B
TypeScript
import { View, Text, ActivityIndicator, StyleSheet } from 'react-native'
|
|
import { useTheme } from '../constants/ThemeContext'
|
|
|
|
/*
|
|
* ITMS 브랜드 스플래시 — 이미지 자산 없이 순수 View(브랜드 배경 + 워드마크).
|
|
* 진입 게이트(index) 판정 동안 표시. WISE 톤(블루) 정렬.
|
|
*/
|
|
export function BrandSplash() {
|
|
const { t } = useTheme()
|
|
return (
|
|
<View style={[styles.wrap, { backgroundColor: t.brand }]}>
|
|
<Text style={styles.logo}>ITMS</Text>
|
|
<Text style={styles.sub}>IT 유지보수관리 시스템</Text>
|
|
<ActivityIndicator color="#ffffff" style={{ marginTop: 24 }} />
|
|
</View>
|
|
)
|
|
}
|
|
|
|
const styles = StyleSheet.create({
|
|
wrap: { flex: 1, justifyContent: 'center', alignItems: 'center' },
|
|
logo: { color: '#ffffff', fontSize: 46, fontWeight: '900', letterSpacing: 4 },
|
|
sub: { color: '#dbe4ff', fontSize: 13, marginTop: 8, letterSpacing: 1 },
|
|
})
|