Skip to content

Commit

Permalink
fix: add greencart disclaimer
Browse files Browse the repository at this point in the history
  • Loading branch information
rodolfopietro97 committed Jun 13, 2024
1 parent a5eae65 commit e962f76
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 3 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,8 @@ Open the `Inspector` tab and perform the following transactions:

## Disclaimer ⚠️

This template serves as a foundational starting point and should be thoroughly reviewed and customized to suit your project’s specific requirements. Pay special attention to configurations, security settings, and environment variables to ensure a secure and efficient deployment.
This template serves as a foundational starting point and should be thoroughly reviewed and customized to suit your project’s specific requirements and unique use case. Pay special attention to configurations, security settings, and environment variables to ensure a secure and efficient deployment.
The use case of this template is inspired by the GreenCart Dapp ([greencart.vet](https://www.greencart.vet/)). The code has been built from scratch and does not contain any references to the GreenCart codebase.

---

Expand Down
17 changes: 15 additions & 2 deletions apps/frontend/src/App.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
import { DAppKitProvider } from "@vechain/dapp-kit-react";
import { ChakraProvider, Container, Flex } from "@chakra-ui/react";
import {
Alert,
AlertDescription,
AlertIcon,
AlertTitle,
ChakraProvider,
Container,
Flex,
Link
} from "@chakra-ui/react";
import {
Dropzone,
Footer,
Expand Down Expand Up @@ -45,7 +54,11 @@ function App() {
</Container>
</Flex>
<Footer />

<Alert status='warning'>
<AlertIcon />
<AlertTitle>Disclaimer</AlertTitle>
<AlertDescription>The use case of this template is inspired by the <Link color='teal.500' className="hover:underline text-blue-500" href={"https://www.greencart.vet/"}>GreenCart Dapp</Link>. The code has been built from scratch and does not contain any references to the GreenCart codebase.</AlertDescription>
</Alert>
{/* MODALS */}
<SubmissionModal />
</DAppKitProvider>
Expand Down

0 comments on commit e962f76

Please sign in to comment.