-
-
Notifications
You must be signed in to change notification settings - Fork 7
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
96c9311
commit 80524fe
Showing
17 changed files
with
296 additions
and
177 deletions.
There are no files selected for viewing
File renamed without changes.
File renamed without changes.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file was deleted.
Oops, something went wrong.
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.
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,27 @@ | ||
import { Flex, Heading, Text } from "@radix-ui/themes"; | ||
|
||
const heading = "About ASSORT"; | ||
|
||
const description = | ||
"The Aid Standards for Sorting (ASSORT) are a set of interoperability standards for humanitarian aid that are designed to save grassroots organisations time, effort, and money."; | ||
|
||
export const AboutAssort = ({ color }: { color: string }) => { | ||
return ( | ||
<Flex | ||
justify="center" | ||
align="center" | ||
className={`text-${color}`} | ||
direction="column" | ||
gap="5" | ||
my="5" | ||
mx={{ md: "9", initial: "2" }} | ||
> | ||
<Heading size="8" align="center"> | ||
{heading} | ||
</Heading> | ||
<Text align="center" size="5"> | ||
{description} | ||
</Text> | ||
</Flex> | ||
); | ||
}; |
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,31 @@ | ||
import { Table, Text } from "@radix-ui/themes"; | ||
|
||
const data = [ | ||
"How to quality check donated items meant for distribution;", | ||
"How to sort donations into standard categories;", | ||
"How to size clothing donations with a printable ASSORT sizing chart;", | ||
"How to box and label the sorted donations and ready them for shipment.", | ||
]; | ||
|
||
export const Guide = () => { | ||
return ( | ||
<Table.Root size="3" className="bg-gray-50 w-full"> | ||
<Table.Body> | ||
<Table.Row> | ||
<Table.Cell p="4"> | ||
<Text size="5"> | ||
The ASSORT Guide includes multiple areas of standardisation: | ||
</Text> | ||
</Table.Cell> | ||
</Table.Row> | ||
{data.map((item, index) => ( | ||
<Table.Row key={index}> | ||
<Table.Cell p="4"> | ||
<li>{item}</li> | ||
</Table.Cell> | ||
</Table.Row> | ||
))} | ||
</Table.Body> | ||
</Table.Root> | ||
); | ||
}; |
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,22 @@ | ||
import { Flex, Heading } from "@radix-ui/themes"; | ||
|
||
interface PageTitleProps { | ||
title: string; | ||
bgColor: string; | ||
} | ||
|
||
export const PageTitle = ({ title, bgColor }: PageTitleProps) => { | ||
return ( | ||
<Flex | ||
height="100px" | ||
className={`bg-${bgColor}`} | ||
direction="column" | ||
justify="center" | ||
align="center" | ||
> | ||
<Heading size="9" className="text-white"> | ||
{title} | ||
</Heading> | ||
</Flex> | ||
); | ||
}; |
Oops, something went wrong.