Skip to content

Commit

Permalink
started on project cards
Browse files Browse the repository at this point in the history
  • Loading branch information
tobyab committed Oct 31, 2023
1 parent 7dc17f7 commit ed7b287
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions components/index/cards/onboard.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,21 @@ import CardModel from './card-model'
import Buttons from './button'

// todo:
// - get magic dino to work
// - come up with a copy
// - better buttons! ✅
// - make project count live ✅
// - buttons show a tooltip for some reason. fix that!
// - could have a better icon for the learn pcb design button

function Project() {
// 💁 pass in props to make this component reusable, and adjust design. this is just a placeholder for now!
return (
<Box sx={{ borderRadius: '8px', padding: 4, background: 'black' }}>
<Text sx={{ color: 'white', fontWeight: 'normal' }} as="h3">A <b>fidget spinner</b> without any moving parts</Text>
</Box>
)
}

export default function Onboard() {
const [projects, setProjects] = useState(0)

Expand Down Expand Up @@ -76,7 +84,12 @@ export default function Onboard() {
<Buttons icon="docs" link="https://jams.hackclub.com/tag/pcb">Learn PCB design now</Buttons>
</Flex>
</Box>

<Grid columns={2}>
<Project/>
<Project/>
<Project/>
<Project/>
</Grid>
</Grid>
</CardModel>
);
Expand Down

0 comments on commit ed7b287

Please sign in to comment.