Added LXC resource page

This commit is contained in:
2023-03-21 22:45:56 +01:00
parent 4a997778e6
commit c66d035a1c
10 changed files with 212 additions and 68 deletions

View File

@ -9,7 +9,7 @@ interface CardProps {
export default function Card({ label, children }: CardProps) {
return (
<>
{label && <Text style={tw.style("ml-6 mt-4")}>{label}</Text>}
{label && <Text style={tw.style("ml-6 mt-2")}>{label}</Text>}
<View
style={tw.style("bg-white m-2 p-1 rounded-lg border border-slate-200")}
>

View File

@ -1,10 +1,10 @@
import {
View,
TouchableOpacity,
Text,
TextInput,
SafeAreaView,
TextInputProps,
TouchableHighlight,
} from "react-native";
import React, { useState } from "react";
import tw from "twrnc";
@ -92,14 +92,14 @@ export default function Login() {
secureTextEntry
/>
</View>
<TouchableOpacity
<TouchableHighlight
style={tw.style(
"flex bg-slate-700 rounded-md flex flex-row items-center justify-center"
)}
onPress={() => ticketMut.mutate({ domain, username, password })}
>
<Text style={tw.style("text-white font-semibold py-3")}>Sign In</Text>
</TouchableOpacity>
</TouchableHighlight>
</SafeAreaView>
</View>
);