possible design for skill levels
This commit is contained in:
parent
6cc91c91cd
commit
48f67cda81
@ -39,8 +39,30 @@ const ResourceInfo = () => {
|
|||||||
|
|
||||||
const ResourceDescription = () => {
|
const ResourceDescription = () => {
|
||||||
return (
|
return (
|
||||||
<div className="p-2">
|
<div className="flex flex-col p-2">
|
||||||
<p>Description here</p>
|
<p>App with four different exercises that range from selecting the spoken word alone, in a senter (either in first, medial, or last position), and with or without background noise.</p>
|
||||||
|
</div>
|
||||||
|
)
|
||||||
|
}
|
||||||
|
|
||||||
|
const ResourceSkills = () => {
|
||||||
|
const SkillRanking = () => {
|
||||||
|
return (
|
||||||
|
<div className='w-full border border-neutral-800 rounded-lg overflow-hidden'>
|
||||||
|
<div className="p-2 bg-gradient-to-r from-green-600 via-orange-500 to-red-800">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
)
|
||||||
|
}
|
||||||
|
|
||||||
|
return (
|
||||||
|
<div className="m-2 flex justify-between flex-col">
|
||||||
|
<SkillRanking />
|
||||||
|
<div>
|
||||||
|
<ul>
|
||||||
|
<li>test</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
@ -49,10 +71,13 @@ const ResourceTable = () => {
|
|||||||
const ResourceEntry = () => {
|
const ResourceEntry = () => {
|
||||||
return (
|
return (
|
||||||
<tr className="divide-x-[1px] divide-slate-300">
|
<tr className="divide-x-[1px] divide-slate-300">
|
||||||
<td>
|
<td className="max-w-xs">
|
||||||
<ResourceInfo />
|
<ResourceInfo />
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td className="align-center">
|
||||||
|
<ResourceSkills />
|
||||||
|
</td>
|
||||||
|
<td className="align-top">
|
||||||
<ResourceDescription />
|
<ResourceDescription />
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
@ -61,15 +86,20 @@ const ResourceTable = () => {
|
|||||||
|
|
||||||
return(
|
return(
|
||||||
<div className="px-4 w-full">
|
<div className="px-4 w-full">
|
||||||
<div className="rounded-xl overflow-hidden border border-neutral-400">
|
<div className="mx-auto max-w-6xl rounded-xl overflow-hidden border border-neutral-400">
|
||||||
<table className="table-fixed w-full bg-neutral-200 drop-shadow-md">
|
<table className="w-full bg-neutral-200 drop-shadow-md">
|
||||||
<thead className="bg-gradient-to-t from-neutral-900 to-neutral-700 rounded-xl overflow-hidden">
|
<thead className="bg-gradient-to-t from-neutral-900 to-neutral-700 rounded-xl overflow-hidden">
|
||||||
<tr>
|
<tr>
|
||||||
<th className="w-1/2">
|
<th className="w-1/2 lg:w-1/3 max-w-xs">
|
||||||
<span className="text-gray-300 block px-4 py-2 text-left">
|
<span className="text-gray-300 block px-4 py-2 text-left">
|
||||||
Resource
|
Resource
|
||||||
</span>
|
</span>
|
||||||
</th>
|
</th>
|
||||||
|
<th className="w-1/4 max-w-xs">
|
||||||
|
<span className="text-gray-300 block px-4 py-2 text-left">
|
||||||
|
Skills
|
||||||
|
</span>
|
||||||
|
</th>
|
||||||
<th>
|
<th>
|
||||||
<span className="text-white block px-4 py-2 text-left">
|
<span className="text-white block px-4 py-2 text-left">
|
||||||
Description
|
Description
|
||||||
|
@ -16,8 +16,9 @@ const Home: NextPage = () => {
|
|||||||
<link rel="icon" href="/favicon.ico" />
|
<link rel="icon" href="/favicon.ico" />
|
||||||
</Head>
|
</Head>
|
||||||
<main>
|
<main>
|
||||||
<h1>under construction</h1>
|
<div className="my-6">
|
||||||
<ResourceTable />
|
<ResourceTable />
|
||||||
|
</div>
|
||||||
</main>
|
</main>
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user