-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
WIP: adding cards with styling, need to create filter for them
- Loading branch information
1 parent
bc5d5c5
commit 6d877d7
Showing
2 changed files
with
66 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
import React from 'react' | ||
|
||
export default async function TypeCards() { | ||
const types = [ | ||
{ | ||
type: 'Tutorials', | ||
description: | ||
'Learning-oriented, useful when studying or planning a project', | ||
}, | ||
{ | ||
type: 'How-To Guides and Examples', | ||
description: | ||
'Problem-oriented, useful when building, specific and narrow in focus', | ||
}, | ||
{ | ||
type: 'Non-Documentation Resources: Apps, Solid World Videos, etc.', | ||
description: | ||
'Very useful for seeing working examples, learning about the Solid ecosystem, and many othe purposes', | ||
}, | ||
{ | ||
type: 'Explanations and Walk-Throughs', | ||
description: | ||
'Understanding-oriented, useful when learning, tying concepts together, doing deep dives', | ||
}, | ||
{ | ||
type: 'Protocols, Specifications and other Reference Information', | ||
description: | ||
'Information-oriented, very practical, detailed official sources', | ||
}, | ||
{ type: 'View All', description: '' }, | ||
] | ||
return ( | ||
<div className="flex flex-row flex-wrap"> | ||
{types.map((type) => ( | ||
<div className="flex basis-1/3 mb-10" key={type.type}> | ||
<div className="w-4/5 h-40 border-solid border-1 rounded-md shadow-lg"> | ||
<div className="h-16 bg-accent3-100 rounded-t-md"> | ||
<div className="text-lg flex justify-center px-2 pt-1"> | ||
{type.type} | ||
</div> | ||
</div> | ||
<p className="text-accent3-900 text-md p-2">{type.description}</p> | ||
</div> | ||
</div> | ||
))} | ||
</div> | ||
) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters