Reordered components directory

This commit is contained in:
niku 2023-06-10 19:41:30 +02:00
parent c66d035a1c
commit b4b49351f8
8 changed files with 12 additions and 12 deletions

View File

@ -1,6 +1,6 @@
import { Stack } from "expo-router"; import { Stack } from "expo-router";
import { QueryClient, QueryClientProvider } from "react-query"; import { QueryClient, QueryClientProvider } from "react-query";
import Auth from "../components/Login"; import Auth from "../components/login";
import useAuthStore from "../stores/useAuthStore"; import useAuthStore from "../stores/useAuthStore";
import Icon from "@expo/vector-icons/Feather"; import Icon from "@expo/vector-icons/Feather";

View File

@ -5,9 +5,9 @@ import Icon from "@expo/vector-icons/Feather";
import tw from "twrnc"; import tw from "twrnc";
import { formatBytes } from "../../../lib/helper/format"; import { formatBytes } from "../../../lib/helper/format";
import { useMemo } from "react"; import { useMemo } from "react";
import { Gauge } from "../../../components/Gauge"; import { Gauge } from "../../../components/shared/gauge";
import ProgressBar from "../../../components/ProgressBar"; import ProgressBar from "../../../components/shared/progress-bar";
import Card from "../../../components/Card"; import Card from "../../../components/shared/card";
interface ResourceListItemProps { interface ResourceListItemProps {
type: ResourceType; type: ResourceType;

View File

@ -3,9 +3,9 @@ import { useMemo } from "react";
import { View, Text, TouchableHighlight, ScrollView } from "react-native"; import { View, Text, TouchableHighlight, ScrollView } from "react-native";
import Icon from "@expo/vector-icons/Feather"; import Icon from "@expo/vector-icons/Feather";
import tw from "twrnc"; import tw from "twrnc";
import Card from "../../../../../components/Card"; import Card from "../../../../../components/shared/card";
import { Gauge } from "../../../../../components/Gauge"; import { Gauge } from "../../../../../components/shared/gauge";
import ProgressBar from "../../../../../components/ProgressBar"; import ProgressBar from "../../../../../components/shared/progress-bar";
import { useNode } from "../../../../../hooks/useNode"; import { useNode } from "../../../../../hooks/useNode";
import { useResource } from "../../../../../hooks/useResource"; import { useResource } from "../../../../../hooks/useResource";
import { formatBytes } from "../../../../../lib/helper/format"; import { formatBytes } from "../../../../../lib/helper/format";

View File

@ -5,7 +5,7 @@ import Icon from "@expo/vector-icons/Feather";
import tw from "twrnc"; import tw from "twrnc";
import { formatPercentage } from "../../lib/helper/format"; import { formatPercentage } from "../../lib/helper/format";
import { ScrollView } from "react-native-gesture-handler"; import { ScrollView } from "react-native-gesture-handler";
import Card from "../../components/Card"; import Card from "../../components/shared/card";
export function NodeListItem({ node }: { node: ProxmoxNode }) { export function NodeListItem({ node }: { node: ProxmoxNode }) {
return ( return (

View File

@ -41,9 +41,9 @@ export function FormField({
} }
export default function Login() { export default function Login() {
const [domain, setDomain] = useState(""); const [domain, setDomain] = useState("https://pve.holowaif.us:8006");
const [username, setUsername] = useState(""); const [username, setUsername] = useState("root@pam");
const [password, setPassword] = useState(""); const [password, setPassword] = useState("7eji5TXjVpme2ZPd6zMUwmrPkg2gQFJc");
const authStore = useAuthStore(); const authStore = useAuthStore();
const ticketMut = useTicketMut({ const ticketMut = useTicketMut({

View File

@ -1,6 +1,6 @@
import { View, Text } from "react-native"; import { View, Text } from "react-native";
import tw from "twrnc"; import tw from "twrnc";
import { formatPercentage } from "../../lib/helper/format"; import { formatPercentage } from "../../../lib/helper/format";
interface ProgressBarProps { interface ProgressBarProps {
label: string; label: string;