From d931d00187d95548d45b5526fe2d2f1993f9723e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Le=20Bihan?= Date: Fri, 7 Apr 2023 01:14:08 +0200 Subject: [PATCH] added the register button but the button animations/styling needs to be reworked --- front/views/StartPageView.tsx | 45 +++++++++++++++++++++++++++++++++-- 1 file changed, 43 insertions(+), 2 deletions(-) diff --git a/front/views/StartPageView.tsx b/front/views/StartPageView.tsx index 4695b68..ebc9855 100644 --- a/front/views/StartPageView.tsx +++ b/front/views/StartPageView.tsx @@ -8,6 +8,10 @@ import { Button, Pressable, useBreakpointValue, + Image, + Center, + Row, + Heading, } from "native-base"; import { FontAwesome5 } from "@expo/vector-icons"; import Card from "../components/Card"; @@ -17,13 +21,34 @@ const imgLogin = "https://imgs.search.brave.com/xX-jA3Rspi-ptSFABle5hpVNdOyKDHdVYNr320buGyQ/rs:fit:1200:800:1/g:ce/aHR0cDovL3d3dy5z/dHJhdGVnaWMtYnVy/ZWF1LmNvbS93cC1j/b250ZW50L3VwbG9h/ZHMvMjAxNC8wNy9B/TVgtMTBSQ1ItMTAw/LVNCSS1EUy5qcGc"; const imgGuest = "https://imgs.search.brave.com/BzxPphCCWbF_Vm0KhenmxH61M3Vm3_HhxWO0s_rw4Nk/rs:fit:1200:1200:1/g:ce/aHR0cHM6Ly9pLnJl/ZGQuaXQvYW9waWtp/dXFrOTV6LmpwZw"; - +const imgRegister = + "https://media.discordapp.net/attachments/717080637038788731/1093674574027182141/image.png"; const StartPageView = () => { const navigation = useNavigation(); const screenSize = useBreakpointValue({ base: "small", md: "big" }); return ( - StartPage +
+ + + + Chromacase + + +
{ }} /> +
+ { + console.log("register"); + }} + style={{ + height: "150px", + width: "clamp(150px, 50%, 600px)", + }} + /> +
); };