-
Notifications
You must be signed in to change notification settings - Fork 2
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
1 parent
1255fbe
commit 803e588
Showing
4 changed files
with
56 additions
and
10 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
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,39 @@ | ||
"use client"; | ||
|
||
import { X } from "@phosphor-icons/react/dist/ssr"; | ||
import { SparkleIcon } from "./Icons"; | ||
import { Dispatch, SetStateAction } from "react"; | ||
|
||
interface IntroPopupProps { | ||
setShowDisclaimer: Dispatch<SetStateAction<boolean>>; | ||
} | ||
|
||
const IntroPopUp = ({ setShowDisclaimer }: IntroPopupProps) => { | ||
return ( | ||
<div className='fixed bottom-16 left-1/2 transform -translate-x-1/2 max-w-screen-md w-[calc(100%-48px)] z-10'> | ||
<X | ||
onClick={() => setShowDisclaimer(false)} | ||
className='absolute top-3 right-3 text-indigo-800 hover:text-indigo-500 cursor-pointer' | ||
size={20} | ||
weight='bold' | ||
/> | ||
<div className='p-6 bg-indigo-25 rounded-2xl border-2 border-indigo-200 space-y-1 shadow-md shadow-primary-shadow/20'> | ||
<div className='flex items-center'> | ||
<SparkleIcon size={24} className='transform -translate-x-1' /> | ||
<div className='text-lg font-bold'> | ||
Welcome to fundpublicgoods.ai! | ||
</div> | ||
</div> | ||
<div className='text-[13px] leading-relaxed'> | ||
As a proof-of-concept project, fundpublicgoods.ai showcases the | ||
potential of AI in revolutionizing funding for public goods. Our | ||
platform offers personalized strategies to maximize the impact of your | ||
contributions. Engage with our platform and community today to be part | ||
of this innovative approach to philanthropy. | ||
</div> | ||
</div> | ||
</div> | ||
); | ||
}; | ||
|
||
export default IntroPopUp; |
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