fix stylees on notice card
This commit is contained in:
@@ -29,6 +29,8 @@ import { getUserById } from "@/api/client";
|
||||
import * as ScreenOrientation from "expo-screen-orientation";
|
||||
import { useAuthStore } from "@/store/authStore";
|
||||
import { sendEmail } from "@/api/email";
|
||||
// import { Button } from "@gluestack-ui/themed";
|
||||
import { Button, ButtonText } from "@/components/ui/button";
|
||||
|
||||
export default function NoticeDetails() {
|
||||
const { id } = useLocalSearchParams();
|
||||
@@ -327,7 +329,7 @@ export default function NoticeDetails() {
|
||||
<Text className="text-sm font-normal mb-2 text-typography-700">
|
||||
{formatDate(notice.publishDate)}
|
||||
</Text>
|
||||
<Text className="text-2xl text-gray-950 font-bold mb-2 text-center bg-gray-50 rounded-md p-2">
|
||||
<Text className="text-2xl text-gray-950 font-bold mb-2 text-left bg-gray-50 rounded-md p-2">
|
||||
{notice.title}
|
||||
</Text>
|
||||
|
||||
@@ -395,10 +397,13 @@ export default function NoticeDetails() {
|
||||
Wyślij wiadomość
|
||||
</Text>
|
||||
</Pressable>
|
||||
<Link href={`/user/${notice.clientId}`}>
|
||||
<Text className="text-xl p-3 font-bold text-center text-typography-700 mt-3">
|
||||
Zobacz więcej ogłoszeń od {user.firstName}
|
||||
</Text>
|
||||
|
||||
<Link href={`/user/${notice.clientId}`} asChild>
|
||||
<Button variant="outline" className="mt-2">
|
||||
<ButtonText>
|
||||
Zobacz więcej ogłoszeń od {user.firstName}
|
||||
</ButtonText>
|
||||
</Button>
|
||||
</Link>
|
||||
</Box>
|
||||
</>
|
||||
|
||||
Reference in New Issue
Block a user