diff --git a/features/AddDapp/Hero/Hero.tsx b/features/AddDapp/Hero/Hero.tsx index 6ad3a63..6c6fffc 100644 --- a/features/AddDapp/Hero/Hero.tsx +++ b/features/AddDapp/Hero/Hero.tsx @@ -1,17 +1,4 @@ -import { - Stack, - Link as CharkaLink, - Flex, - Box, - Heading, - Button, - Image, - Icon, - IconProps, - Text, -} from '@chakra-ui/react'; -import Link from 'next/link'; -import { FaGithub } from 'react-icons/fa'; +import { Stack, Flex, Box, Heading, Image, Icon, IconProps } from '@chakra-ui/react'; export default function Hero() { return ( @@ -21,7 +8,7 @@ export default function Hero() { spacing={{ base: 2, md: 10 }} direction={{ base: 'column', md: 'row' }} > - + - - - Add your dApp - - - We have a step-by-step guide for non tech-savvy users of how to do the dapp - submition. Just user follow the instructions down below. It's really simple. Pro - users can jump directly to Sigmaverse's Github repo. - - - - - - - - + Add your dApp + { display={{ base: 'flex', md: 'flex' }} > - Logo Image Prepare Images diff --git a/features/AddDapp/UploadFiles/UploadFiles.tsx b/features/AddDapp/UploadFiles/UploadFiles.tsx index 61d5163..ec5cbbb 100644 --- a/features/AddDapp/UploadFiles/UploadFiles.tsx +++ b/features/AddDapp/UploadFiles/UploadFiles.tsx @@ -1,97 +1,17 @@ -import { Box, Grid, GridItem, Heading, Stack, Text } from '@chakra-ui/react'; +import { + Button, + Container, + FormControl, + FormHelperText, + FormLabel, + Grid, + Heading, + Input, + Stack, + Textarea, +} from '@chakra-ui/react'; import React, { useState } from 'react'; -const tabs = [ - { - text: ( - <> - Go to applications folder - - ), - image: '/images/tabs/Step 1.png', - }, - { - text: ( - <> - Look for 1010s folder - - ), - image: '/images/tabs/Step 2.png', - }, - { - text: ( - <> - Find the overview.md file and press the Copy raw contents button - - ), - image: '/images/tabs/Step 3.png', - }, - { - text: ( - <> - Using any editing tool (atom, notepad etc), paste the copied info from overview.md file and - update with your dApp’s related info: name, description, website, logo image, preview image - and category - - ), - image: '/images/tabs/Step 4.png', - }, - { - text: ( - <> - Save file as overview.md and put in one project folder including logo and preview - image assets - - ), - image: '/images/tabs/Step 5.png', - }, - { - text: ( - <> - Get back to applications folder and click on Upload Files link - - ), - image: '/images/tabs/Step 6.png', - }, - { - text: <>Drag-and-drop project files into upload area, - image: '/images/tabs/Step 7.png', - }, - { - text: ( - <> - Enter your commit title and press Commit changes button - - ), - image: '/images/tabs/Step 8.png', - }, - { - text: ( - <> - After the commit look for contribute section and press on Open pull request - - ), - image: '/images/tabs/Step 9.png', - }, - { - text: ( - <> - In Comparing changes page press on Create pull request - - ), - image: '/images/tabs/Step 10.png', - }, - { - text: ( - <> - Right before a final step, review your info and press on final Create pull request{' '} - button - - ), - image: '/images/tabs/Step 11.png', - }, -]; - const UploadFiles = () => { const [tab, setTab] = useState(0); @@ -105,66 +25,54 @@ const UploadFiles = () => { Logo Image - Edit and Upload Files + Fill the form below - - Prepare overview.md file by getting our template one and updating with your dApp’s - credential info. Here’s a flow to follow: - - - - {tabs.map(({ text, image }, index) => ( - setTab(index)} - key={image} - display="flex" - alignItems="center" - > - {' '} - - {index + 1} - - - {text} - - - ))} - - - - - Preview Image - + +
+ + + Your email + + + Not required. We will contact you if we need more info. + + + + Project name + + + + Description +