-
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.
Merge pull request #443 from AlphadayHQ/dev
v3.1.7 — License + About Us section
- Loading branch information
Showing
17 changed files
with
227 additions
and
14 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
MIT License | ||
|
||
Copyright (c) 2024 ALPHABOX SOLUTIONS PTE. LTD. | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
SOFTWARE. |
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
This file was deleted.
Oops, something went wrong.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,102 @@ | ||
import { | ||
Button, | ||
Modal, | ||
ModalBody, | ||
ModalFooter, | ||
ModalHeader, | ||
ModalTitle, | ||
} from "@alphaday/ui-kit"; | ||
|
||
interface IProps { | ||
showModal: boolean; | ||
onClose?: () => void; | ||
} | ||
export const AboutUsModal: React.FC<IProps> = ({ showModal, onClose }) => { | ||
return ( | ||
<Modal showModal={showModal} onClose={onClose} size="md"> | ||
<ModalHeader> | ||
<ModalTitle>About Us</ModalTitle> | ||
</ModalHeader> | ||
|
||
<ModalBody className="[&_a]:text-secondaryOrange [&_a]:focus:outline-none"> | ||
<h6>Company Overview:</h6> | ||
<p> | ||
Registered Name: Alphabox Solutions Pte. Ltd. | ||
<br /> | ||
Registration Number: <code>202136261C</code> | ||
<br /> | ||
Registered Office: 45 North Canal Road #01-01 Lew Building | ||
Singapore | ||
</p> | ||
|
||
<h6>Contact Information:</h6> | ||
<p> | ||
Email Address:{" "} | ||
<a href="mailto:hello@alphaday.com">hello@alphaday.com</a> | ||
<br /> | ||
X.com:{" "} | ||
<a | ||
href="https://x.com/AlphadayHQ" | ||
target="_blank" | ||
rel="noreferrer" | ||
> | ||
https://x.com/AlphadayHQ | ||
</a> | ||
</p> | ||
|
||
<h6>Legal Information:</h6> | ||
<p> | ||
Terms & Conditions:{" "} | ||
<a | ||
href="https://alphaday.com/terms" | ||
target="_blank" | ||
rel="noreferrer" | ||
> | ||
https://alphaday.com/terms | ||
</a> | ||
<br /> | ||
Privacy Policy:{" "} | ||
<a | ||
href="https://alphaday.com/privacy" | ||
target="_blank" | ||
rel="noreferrer" | ||
> | ||
https://alphaday.com/privacy | ||
</a> | ||
</p> | ||
|
||
<h6>Additional Resources:</h6> | ||
<p> | ||
FAQs:{" "} | ||
<a | ||
href="https://alphaday.com/" | ||
target="_blank" | ||
rel="noreferrer" | ||
> | ||
alphaday.com | ||
</a> | ||
<br /> | ||
Feedback:{" "} | ||
<a | ||
href="https://forms.gle/RbrrLGdFPAeuNJhk9" | ||
target="_blank" | ||
rel="noreferrer" | ||
> | ||
https://forms.gle/RbrrLGdFPAeuNJhk9 | ||
</a> | ||
</p> | ||
<p> | ||
Alphaday's mission is to bring you all the tools needed | ||
to follow your favorite projects, stay up-to-date with the | ||
latest narratives, and use your favorite dapps, all from the | ||
comfort of one easy-to-use customizable dashboard. | ||
</p> | ||
</ModalBody> | ||
<ModalFooter> | ||
<Button className="pt-1.5" onClick={onClose}> | ||
Close | ||
</Button> | ||
</ModalFooter> | ||
</Modal> | ||
); | ||
}; |
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
17 changes: 17 additions & 0 deletions
17
packages/frontend/src/containers/AboutUsModalContainer.tsx
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,17 @@ | ||
import { toggleAboutModal } from "src/api/store"; | ||
import { useAppDispatch, useAppSelector } from "src/api/store/hooks"; | ||
import { AboutUsModal } from "src/components/AboutUsModal"; | ||
|
||
export const AboutUsModalContainer = () => { | ||
const dispatch = useAppDispatch(); | ||
const showModal = useAppSelector((state) => state.ui.showAboutModal); | ||
const toggleModal = () => dispatch(toggleAboutModal()); | ||
|
||
const onClose = () => { | ||
if (showModal) { | ||
toggleModal(); | ||
} | ||
}; | ||
|
||
return <AboutUsModal showModal={showModal} onClose={onClose} />; | ||
}; |
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
Oops, something went wrong.