diff --git a/frontend/.eslintrc.json b/frontend/.eslintrc.json index 19a6e8c..2765c6b 100644 --- a/frontend/.eslintrc.json +++ b/frontend/.eslintrc.json @@ -20,6 +20,7 @@ "react/jsx-no-target-blank": "off", "no-extra-boolean-cast": "off", "prefer-const": "warn", + "@next/next/no-img-element": "off", "no-restricted-imports": ["warn", { "patterns": ["process"] }] } } diff --git a/frontend/package.json b/frontend/package.json index ae704f9..bbdc82d 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -18,6 +18,7 @@ "dependencies": { "@azns/resolver-core": "^1.6.0", "@azns/resolver-react": "^1.6.0", + "@heroicons/react": "^2.1.1", "@hookform/resolvers": "^3.3.2", "@inkathon/contracts": "workspace:*", "@polkadot/api": "^10.11.2", diff --git a/frontend/public/vectors/arrow.svg b/frontend/public/vectors/arrow.svg new file mode 100644 index 0000000..eeefbcb --- /dev/null +++ b/frontend/public/vectors/arrow.svg @@ -0,0 +1,12 @@ + diff --git a/frontend/public/vectors/bg.svg b/frontend/public/vectors/bg.svg new file mode 100644 index 0000000..8b5781b --- /dev/null +++ b/frontend/public/vectors/bg.svg @@ -0,0 +1,1552 @@ + diff --git a/frontend/public/vectors/confirm.svg b/frontend/public/vectors/confirm.svg new file mode 100644 index 0000000..860febd --- /dev/null +++ b/frontend/public/vectors/confirm.svg @@ -0,0 +1,25 @@ + diff --git a/frontend/public/vectors/logo.svg b/frontend/public/vectors/logo.svg new file mode 100644 index 0000000..3f96292 --- /dev/null +++ b/frontend/public/vectors/logo.svg @@ -0,0 +1,15 @@ + diff --git a/frontend/public/vectors/pay.svg b/frontend/public/vectors/pay.svg new file mode 100644 index 0000000..64a1d52 --- /dev/null +++ b/frontend/public/vectors/pay.svg @@ -0,0 +1,25 @@ + diff --git a/frontend/public/vectors/receive.svg b/frontend/public/vectors/receive.svg new file mode 100644 index 0000000..589ac35 --- /dev/null +++ b/frontend/public/vectors/receive.svg @@ -0,0 +1,20 @@ + diff --git a/frontend/public/vectors/select.svg b/frontend/public/vectors/select.svg new file mode 100644 index 0000000..e7e1ac4 --- /dev/null +++ b/frontend/public/vectors/select.svg @@ -0,0 +1,25 @@ + diff --git a/frontend/src/app/components/background.tsx b/frontend/src/app/components/background.tsx new file mode 100644 index 0000000..9bbcaf5 --- /dev/null +++ b/frontend/src/app/components/background.tsx @@ -0,0 +1,15 @@ +import { FC } from 'react' + +export const Background: FC = () => { + return ( +
+ ) +} diff --git a/frontend/src/app/components/hero-hexagons.tsx b/frontend/src/app/components/hero-hexagons.tsx new file mode 100644 index 0000000..6f7e2b9 --- /dev/null +++ b/frontend/src/app/components/hero-hexagons.tsx @@ -0,0 +1,72 @@ +import { FC } from 'react' + +const HEXAGONS = [ + { + icon: 'select.svg', + title: 'Select an order', + text: 'Select the order that suits you best.', + }, + { + icon: 'pay.svg', + title: 'Pay the order', + text: 'You can block the order for one hour to pay.', + }, + { + icon: 'confirm.svg', + title: 'Confirm Payment', + text: 'Prove payment by uploading the email sent by Wise', + }, + { + icon: 'receive.svg', + title: 'Receive your crypto', + text: 'There is nothing else to be done. AZERO is in your wallet', + }, +] + +export const HeroHexagons: FC = () => { + //text-center text-zinc-100 text-xs font-normal font-['Azeret Mono'] uppercase leading-tight + + const Hexagon = ({ + icon, + title, + step, + text, + }: { + icon: string + title: string + step: number + text: string + }) => { + return ( ++ {text} +
+{desc}
-- Built by{' '} - - Dennis Zoma - {' '} - &{' '} - - Scio Labs - - . Supported by{' '} - - Aleph Zero - - . -
- - {/* Github & Vercel Buttons */} -