Fakultas Ilmu Komputer UI

LandingScreen.tsx 887 Bytes
Newer Older
1
import React from "react";
2
3
4
5
import { StyleSheet, Image } from "react-native";
import { View } from "../../components/Themed";
import Colors from "../../constants/Colors";
import { RootTabScreenProps } from "../../types/navigation";
6
import Layout from "../../constants/Layout";
7
8

export default function LandingScreen({
9
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
  navigation,
}: RootTabScreenProps<"TabOne">) {
  return (
    <View style={styles.container}>
      <Image
        style={styles.logo}
        source={require("../../../assets/images/ClickLogo.png")}
      />
    </View>
  );
}

const styles = StyleSheet.create({
  container: {
    flex: 1,
    alignItems: "center",
    justifyContent: "center",
    backgroundColor: Colors.background,
  },
  logo: {
30
    width: Layout.window.width * 0.76,
31
32
33
34
    position: "relative",
    resizeMode: "contain",
  },
});