From 27d1ed6899daeabb9f2226e3cfb770c3921fff63 Mon Sep 17 00:00:00 2001 From: adrianvrj Date: Tue, 27 Aug 2024 13:27:41 -0600 Subject: [PATCH] [feat] added guidelines pages --- .gitignore | 3 +- frontend/gostarkme-web/app/globals.css | 7 ++- .../app/guidelines/charity/page.tsx | 46 +++++++++++++++++++ .../app/guidelines/projects/page.tsx | 43 +++++++++++++++++ frontend/gostarkme-web/app/page.tsx | 22 ++++----- .../components/ui/LinkButton.tsx | 2 +- 6 files changed, 107 insertions(+), 16 deletions(-) create mode 100644 frontend/gostarkme-web/app/guidelines/charity/page.tsx create mode 100644 frontend/gostarkme-web/app/guidelines/projects/page.tsx diff --git a/.gitignore b/.gitignore index 1de5659..6ec4261 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ -target \ No newline at end of file +target +.DS_Store \ No newline at end of file diff --git a/frontend/gostarkme-web/app/globals.css b/frontend/gostarkme-web/app/globals.css index b7b24e8..42253d2 100644 --- a/frontend/gostarkme-web/app/globals.css +++ b/frontend/gostarkme-web/app/globals.css @@ -8,4 +8,9 @@ .text-balance { text-wrap: balance; } -} + + ol li { + list-style-type: decimal; + display: list-item; + } +} \ No newline at end of file diff --git a/frontend/gostarkme-web/app/guidelines/charity/page.tsx b/frontend/gostarkme-web/app/guidelines/charity/page.tsx new file mode 100644 index 0000000..9d13999 --- /dev/null +++ b/frontend/gostarkme-web/app/guidelines/charity/page.tsx @@ -0,0 +1,46 @@ +/* eslint-disable react/no-unescaped-entities */ +import { WelcomeBar } from "@/components/welcomepage/WelcomeBar"; +import { WelcomeItems } from "@/components/welcomepage/WelcomeItems"; +import Image from "next/image"; + +export default function CharityGuidelines() { + return ( +
+ + +
+

+ Charity and Helping Purpose Guidelines 🫀 +

+ + {/* {DO's} */} +
+

Do's ✅

+
    +
  1. Give your funding a meaningful title.
  2. +
  3. Be as detailed as possible when describing the situation why you are asking for funds.
  4. +
  5. Add a link to a drive / cloud storage where you can share photos and videos that evidence the reason why you need the funds.
  6. +
  7. You can also add updates to the drive to demonstrate you are using the funds for the cause, this will boost the confidence.
  8. +
+
+ + {/* {DONT's} */} +
+

Dont's ❌

+

+ The following points are things we are not going to accept and in case of detecting one of this your funding will be taken down. +

+
    +
  1. Illegal or Non-Ethical Activities: Any project or cause that involves illegal activities, such as the sale of drugs, human trafficking, or any other activity that violates the law.
  2. +
  3. Projects that Promote Hate or Discrimination: Any cause that promotes hatred, violence, discrimination, or racism would not be accepted.
  4. +
  5. Political or Religious Campaigns: Many platforms do not allow fundraising for political campaigns, religious movements or proselytism.
  6. +
  7. High-Risk Businesses: Some considered high-risk, such as gambling, payday loans, or pyramid schemes, may be prohibited.
  8. +
  9. Explicit or Adult Content: Projects involving pornographic or explicit content are generally not accepted.
  10. +
  11. Unauthorized medicines or treatments: Fundraising for unauthorized medical treatments or “miracle” remedies could be rejected.
  12. +
  13. Projects that Violate Intellectual Property: Any project that infringes copyright, trademarks, or patents would not be allowed.
  14. +
+
+
+
+ ); +} diff --git a/frontend/gostarkme-web/app/guidelines/projects/page.tsx b/frontend/gostarkme-web/app/guidelines/projects/page.tsx new file mode 100644 index 0000000..2653f0d --- /dev/null +++ b/frontend/gostarkme-web/app/guidelines/projects/page.tsx @@ -0,0 +1,43 @@ +/* eslint-disable react/no-unescaped-entities */ +import { WelcomeBar } from "@/components/welcomepage/WelcomeBar"; + +export default function ProjectsGuidelines() { + return ( +
+ + +
+

+ Early Stage Projects Guidelines 🧠 +

+ + {/* {DO's} */} +
+

Do's ✅

+
    +
  1. Give a short but meaningful description of the project.
  2. +
  3. Include a public git repo link for people to see your work.
  4. +
  5. Explain why you need the funds and why your project should be funded.
  6. +
  7. Give a breakdown on how you plan to spend the funds you are going to receive.
  8. +
  9. Add a public contact handle for people to ask questions about your project, this will boost the confidence.
  10. +
+
+ + {/* {DONT's} */} +
+

Dont's ❌

+

+ The following points are things we are not going to accept and in case of detecting one of this your project will be taken down. +

+
    +
  1. No Hateful Content: Hate speech and discrimination are things that we strongly oppose.
  2. +
  3. Tricking Users: Any content that can cause harm to users or have unforeseen repercussions is prohibited.
  4. +
  5. Falsification: It is expressly forbidden to make any attempt to falsify contributions, including through Sybil attacks or other forms of manipulation.
  6. +
  7. Fraud & Impersonation: In order to preserve openness and confidence, projects must authentically depict their affiliation and goals.
  8. +
  9. Advertising Restrictions: It is not permitted to use funds for sales or direct promotional efforts.
  10. +
+
+
+
+ ); +} diff --git a/frontend/gostarkme-web/app/page.tsx b/frontend/gostarkme-web/app/page.tsx index 4bac0b2..0314149 100644 --- a/frontend/gostarkme-web/app/page.tsx +++ b/frontend/gostarkme-web/app/page.tsx @@ -1,7 +1,7 @@ +import { LinkButton } from "@/components/ui/LinkButton"; import { WelcomeBar } from "@/components/welcomepage/WelcomeBar"; import { WelcomeItems } from "@/components/welcomepage/WelcomeItems"; import Image from "next/image"; - export default function Home() { return (
@@ -36,12 +36,10 @@ export default function Home() {
Projects with a clear idea, direction and good work progress can apply to start receiving funds.
- + {/* */} @@ -55,12 +53,10 @@ export default function Home() {

Charity organizations and people in need with economic problems can apply to receive funds.

- +
diff --git a/frontend/gostarkme-web/components/ui/LinkButton.tsx b/frontend/gostarkme-web/components/ui/LinkButton.tsx index ff294b3..74cb1a8 100644 --- a/frontend/gostarkme-web/components/ui/LinkButton.tsx +++ b/frontend/gostarkme-web/components/ui/LinkButton.tsx @@ -12,7 +12,7 @@ export const LinkButton = ({ label, href, Icon }: LinkButtonProps) => { return ( {Icon ? : label}