blob: d6537cfa8c63d018cccc9fadeded89c45a0a15cc (
plain)
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
31
32
33
34
35
36
37
38
|
import React from "react";
import Modal from "./Modal";
export default function Disclaimer() {
const [disclaimerOpen, setDisclaimerOpen] = React.useState(true);
return (
<div className="absolute left-1/2 top-1/2">
<Modal
open={disclaimerOpen}
okText="Continue on my own"
onOk={() => setDisclaimerOpen(!disclaimerOpen)}
title="Greetings traveller!"
>
<p>
The NeoHaskell project is a work-in-progress effort in it's early
days. Mostly everything is missing (
<a
className="underline"
href="https://github.com/neohaskell/NeoHaskell/milestones"
target="_blank"
onClick={() => setDisclaimerOpen(!disclaimerOpen)}
>
click here for a status report
</a>
). But, if you really want to know more about the project:
</p>
<a
className="text-lightsecondary hover:underline hover:decoration-wavy underline-offset-4 py-4 block"
href="https://discord.com/invite/wDj3UYzec8"
target="_blank"
onClick={() => setDisclaimerOpen(!disclaimerOpen)}
>
<h3>JOIN THE DISCORD SERVER!</h3>
</a>
</Modal>
</div>
);
}
|