forked from expo/react-conf-app
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathLiveStreamInfo.tsx
30 lines (28 loc) · 881 Bytes
/
LiveStreamInfo.tsx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
import { Button } from "./Button";
import { InfoSection } from "./InfoSection";
import { ThemedText } from "./Themed";
import openWebBrowserAsync from "@/utils/openWebBrowserAsync";
import { theme } from "@/theme";
export function LiveStreamInfo() {
const handlePress = () => {
openWebBrowserAsync(
"https://ti.to/reactconf/2024/with/free-livestream-access",
);
};
return (
<InfoSection title="Live Stream">
<ThemedText
fontWeight="bold"
fontSize={24}
style={{ marginBottom: theme.space12 }}
>
Free Livestream Access
</ThemedText>
<ThemedText style={{ marginBottom: theme.space24 }}>
Join React Conf 2024 from anywhere with our Free Livestream Access!
Watch all the talks remotely.
</ThemedText>
<Button onPress={handlePress} title="Sign up" />
</InfoSection>
);
}