diff --git a/components/arcade/showcase/cohort-card.js b/components/arcade/showcase/cohort-card.js index 41aef356..1a399375 100644 --- a/components/arcade/showcase/cohort-card.js +++ b/components/arcade/showcase/cohort-card.js @@ -3,22 +3,22 @@ import { Box, Card, Heading, Link, Text } from 'theme-ui' import styles from './cohort-card.module.css' -const CohortCard = ({ id, title, desc, slack, scrapbook, playable, images, githubProf, draggable = false}) => { +const CohortCard = ({ id, title, desc, slack, scrapbook, playable, images, githubProf, draggable = false }) => { console.log(images) return ( <> - -
- Project Image + +
+ Project Image

{title}

{desc}

- -
-
+ +
+ - - + + ) } diff --git a/components/arcade/showcase/cohort-card.module.css b/components/arcade/showcase/cohort-card.module.css index 41b6c04d..1c9b1a77 100644 --- a/components/arcade/showcase/cohort-card.module.css +++ b/components/arcade/showcase/cohort-card.module.css @@ -1,4 +1,4 @@ -.card{ +.card { flex: 1; break-inside: avoid; position: relative; @@ -13,7 +13,7 @@ } -.card_img{ +.card_img { width: 100%; height: auto; max-height: 100%; @@ -23,14 +23,15 @@ } -.card_title{ +.card_title { + color: #333; font-size: 1.5rem; font-weight: bold; margin-bottom: 0; } -.card_description{ +.card_description { font-size: 1rem; color: #333; margin: 0; @@ -41,9 +42,10 @@ overflow: hidden; text-overflow: ellipsis; max-height: 3em; + margin-bottom: 10px; } -.linkWrapper{ +.linkWrapper { display: block; text-decoration: none; color: inherit; diff --git a/components/arcade/showcase/create-card.js b/components/arcade/showcase/create-card.js new file mode 100644 index 00000000..b3f80048 --- /dev/null +++ b/components/arcade/showcase/create-card.js @@ -0,0 +1,16 @@ +import React from 'react' +import styles from './create-card.module.css' + +const CreateCard = ({ createCardLink }) => { + return ( + <> + +
+ Create a card +
+
+ + ) +} + +export default CreateCard \ No newline at end of file diff --git a/components/arcade/showcase/create-card.module.css b/components/arcade/showcase/create-card.module.css new file mode 100644 index 00000000..7952dc41 --- /dev/null +++ b/components/arcade/showcase/create-card.module.css @@ -0,0 +1,14 @@ +.card{ + flex: 1; + break-inside: avoid; + position: relative; + background-size: cover; + background-position: center; + overflow: hidden; + min-width: 100px; + display: flex; + flex-direction: column; + align-items: left; + justify-content: flex-start; + +} \ No newline at end of file diff --git a/pages/arcade/showcase/my.js b/pages/arcade/showcase/my.js index b7deb43e..975da35a 100644 --- a/pages/arcade/showcase/my.js +++ b/pages/arcade/showcase/my.js @@ -13,7 +13,7 @@ const ProjectGallery = ({ projects }) => { console.log('projects', projects) return ( -
+
{projects.map(project => ( { githubProf={project.githubProf} /> ))} +
) } @@ -81,7 +82,21 @@ const my = () => { zIndex: 1 }} > +<<<<<<< Updated upstream My Ships +======= + + + My Ships + +>>>>>>> Stashed changes
+<<<<<<< Updated upstream +======= + { + status == 'loading' && + } + + { + status == 'error' && + } + + { + status == 'success' && + } +>>>>>>> Stashed changes