project setup
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
import { View, Text, Image } from "react-native";
|
||||
|
||||
interface AuthHeaderProps {
|
||||
title?: string;
|
||||
}
|
||||
|
||||
export const AuthHeader = ({ title = "Project Athena" }: AuthHeaderProps) => {
|
||||
return (
|
||||
<View style={{ alignItems: "center", marginBottom: 36 }}>
|
||||
<Image
|
||||
source={require("../../assets/images/logo_no_background.png")}
|
||||
style={{ width: 80, height: 80, marginBottom: 16 }}
|
||||
resizeMode="contain"
|
||||
/>
|
||||
<Text
|
||||
style={{
|
||||
fontSize: 28,
|
||||
fontWeight: "bold",
|
||||
color: "white",
|
||||
marginBottom: 4,
|
||||
}}
|
||||
>
|
||||
{title}
|
||||
</Text>
|
||||
</View>
|
||||
);
|
||||
};
|
||||
Reference in New Issue
Block a user