diff --git a/components/arcade/showcase/project-view.js b/components/arcade/showcase/project-view.js index 48ceb345..a4196fd9 100644 --- a/components/arcade/showcase/project-view.js +++ b/components/arcade/showcase/project-view.js @@ -1,7 +1,7 @@ import styles from './project-view.module.css' -import { Button } from 'theme-ui' import randomNotFoundImg from './random-not-found-img' -import CohortCard from './cohort-card' +import { Button, Text } from 'theme-ui' +import Icon from '@hackclub/icons' /** @jsxImportSource theme-ui */ const ProjectView = ({ @@ -24,9 +24,36 @@ const ProjectView = ({ const imagesList = images.length > 0 ? images : [randomNotFoundImg(id)] return (
-
-

{title}

+
+

{title}

By {user}

+ + View all my ships +
{ }} > - {status == 'success' ? `Welcome, ${projects.user}` : ''} + {status == 'success' ? `Welcome, ${name}` : ''} diff --git a/pages/arcade/showcase/project/[projectID]/index.js b/pages/arcade/showcase/project/[projectID]/index.js index 6b60b5e7..254abfc6 100644 --- a/pages/arcade/showcase/project/[projectID]/index.js +++ b/pages/arcade/showcase/project/[projectID]/index.js @@ -4,7 +4,8 @@ import Nav from '../../../../../components/Nav' import Footer from '../../../../../components/arcade/Footer' import BGImg from '../../../../../components/background-image' import styles from '../../../../../components/arcade/showcase/project-view.module.css' -import { Box } from 'theme-ui' +import { Box, Text } from 'theme-ui' +import Icon from '@hackclub/icons' /** @jsxImportSource theme-ui */ const styled = ` @@ -118,20 +119,21 @@ const ProjectShowPage = ({ projectID }) => { maxWidth: '200px', position: 'absolute', top: '20px', - right: '20px' + right: '20px', + zIndex: 10 }} />
- { + {/* { status == 'loading' && } { status == 'error' && - } + } */} - { - status == 'success' && + {/* { + status == 'success' && */} { githubProf={project.githubProf} user={project.user} /> - } + {/* } */}