diff --git a/app/_layout.tsx b/app/_layout.tsx
index c02bd50..caf6187 100644
--- a/app/_layout.tsx
+++ b/app/_layout.tsx
@@ -2,5 +2,5 @@ import { Stack } from "expo-router";
import React from "react";
export default function RootLayout() {
- return ;
+ return ;
}
diff --git a/app/index.tsx b/app/index.tsx
index 54479e7..70f10c9 100644
--- a/app/index.tsx
+++ b/app/index.tsx
@@ -1,6 +1,10 @@
import * as Notifications from 'expo-notifications';
-import React, { useEffect } from "react";
-import { Alert, Button, Platform, Text, View } from "react-native";
+import { StatusBar } from 'expo-status-bar';
+import React, { useEffect, useState } from "react";
+import { Alert, Platform, StyleSheet, Text, TextInput, TouchableOpacity, View } from "react-native";
+
+const PRIMARY = '#A24BFA';
+const BG = '#0c0a0a';
Notifications.setNotificationHandler({
handleNotification: async () => ({
@@ -8,7 +12,7 @@ Notifications.setNotificationHandler({
shouldShowList: true,
shouldPlaySound: false,
shouldSetBadge: false,
- }),
+ })
});
async function registerForPushNotificationsAsync() {
@@ -43,20 +47,151 @@ async function sendNotification() {
}
export default function Index() {
+ const [username, setUsername] = useState("");
+ const [password, setPassword] = useState("");
+
useEffect(() => {
registerForPushNotificationsAsync();
}, []);
return (
-
- Edit app/index.tsx to edit this screen.
-
+
+
+
+
+ ANGELIC{"\n"}MC
+
+ Üdv újra
+ Jelentkezz be a fiókodba
+
+ Felhasználónév
+
+
+
+ Jelszó
+
+ Elfelejtetted?
+
+
+
+
+
+ Bejelentkezés
+
+
+
+ Nincs még fiókod?
+
+ Regisztrálj most!
+
+
+
);
}
+
+export const options = {
+ headerShown: false,
+};
+
+const styles = StyleSheet.create({
+ container: {
+ flex: 1,
+ backgroundColor: BG,
+ justifyContent: 'center',
+ alignItems: 'center',
+ },
+ card: {
+ width: '90%',
+ maxWidth: 400,
+ backgroundColor: 'rgba(24, 20, 28, 0.95)',
+ borderRadius: 24,
+ padding: 32,
+ shadowColor: '#000',
+ shadowOpacity: 0.3,
+ shadowRadius: 24,
+ shadowOffset: { width: 0, height: 8 },
+ elevation: 8,
+ },
+ logoText: {
+ color: PRIMARY,
+ fontWeight: 'bold',
+ fontSize: 28,
+ textAlign: 'center',
+ letterSpacing: 2,
+ marginBottom: 4,
+ },
+ title: {
+ color: '#fff',
+ fontWeight: 'bold',
+ fontSize: 28,
+ textAlign: 'center',
+ marginBottom: 4,
+ },
+ subtitle: {
+ color: '#bdbdbd',
+ fontSize: 16,
+ textAlign: 'center',
+ marginBottom: 8,
+ },
+ label: {
+ color: '#bdbdbd',
+ fontSize: 14,
+ marginBottom: 4,
+ },
+ input: {
+ backgroundColor: 'rgba(20,18,24,1)',
+ borderColor: PRIMARY,
+ borderWidth: 1,
+ borderRadius: 12,
+ color: '#fff',
+ paddingHorizontal: 16,
+ paddingVertical: 12,
+ fontSize: 16,
+ },
+ forgot: {
+ color: PRIMARY,
+ fontSize: 14,
+ fontWeight: '500',
+ },
+ button: {
+ backgroundColor: PRIMARY,
+ borderRadius: 12,
+ paddingVertical: 14,
+ alignItems: 'center',
+ marginTop: 8,
+ shadowColor: PRIMARY,
+ shadowOpacity: 0.3,
+ shadowRadius: 8,
+ shadowOffset: { width: 0, height: 2 },
+ elevation: 2,
+ },
+ buttonText: {
+ color: '#fff',
+ fontWeight: 'bold',
+ fontSize: 18,
+ },
+ bottomText: {
+ color: '#bdbdbd',
+ fontSize: 15,
+ },
+ register: {
+ color: PRIMARY,
+ fontWeight: 'bold',
+ fontSize: 15,
+ },
+});
\ No newline at end of file