-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
70 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
"use client"; | ||
|
||
import * as React from "react"; | ||
import { Button } from "./button"; | ||
import { | ||
Dialog, | ||
DialogContent, | ||
DialogDescription, | ||
DialogHeader, | ||
DialogTitle, | ||
} from "./dialog"; | ||
import { useEffect, useState } from "react"; | ||
|
||
export function OriginoidPromoDialog() { | ||
const [isOpen, setIsOpen] = useState(false); | ||
|
||
useEffect(() => { | ||
const timer = setTimeout(() => { | ||
setIsOpen(true); | ||
}, 200); | ||
|
||
return () => clearTimeout(timer); | ||
}, []); | ||
|
||
return ( | ||
<Dialog open={isOpen} onOpenChange={setIsOpen}> | ||
<DialogContent className="sm:max-w-[425px]"> | ||
<DialogHeader> | ||
<DialogTitle className="text-2xl font-bold"> | ||
OC Creator or Artist? | ||
</DialogTitle> | ||
<DialogDescription className="pt-4 space-y-4"> | ||
<p> | ||
Pre-register for <strong>originoid.co</strong> - a | ||
free platform designed exclusively for creators to | ||
share original characters, artwork, edits, and more, | ||
with cutting-edge copy protection, customization & | ||
linking features. | ||
</p> | ||
<p> | ||
We're offering{" "} | ||
<span className="text-foreground font-semibold"> | ||
50% off on all yearly plans | ||
</span>{" "} | ||
before our official release. This one-time | ||
opportunity directly supports continued development | ||
& asset updates for wanderer.moe. | ||
</p> | ||
<div className="flex justify-center pt-2"> | ||
<Button | ||
onClick={() => { | ||
window.open( | ||
"https://originoid.co", | ||
"_blank", | ||
); | ||
setIsOpen(false); | ||
}} | ||
className="w-full sm:w-auto" | ||
> | ||
Pre-register Now | ||
</Button> | ||
</div> | ||
</DialogDescription> | ||
</DialogHeader> | ||
</DialogContent> | ||
</Dialog> | ||
); | ||
} |