-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from thinc-org/dev
Dev
- Loading branch information
Showing
46 changed files
with
824 additions
and
391 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
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
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
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,23 @@ | ||
export const BlogCard = ({ | ||
title, | ||
link, | ||
imgSrc, | ||
}: { | ||
title: string; | ||
link: string; | ||
imgSrc: string; | ||
}) => { | ||
return ( | ||
<a | ||
href={link} | ||
target="_blank" | ||
rel="noopener noreferrer" | ||
className="space-y-4 rounded-lg border bg-white p-4" | ||
> | ||
<div className="grid h-36 w-full place-content-center overflow-hidden rounded-md"> | ||
<img src={imgSrc} className="scale-110" /> | ||
</div> | ||
<h4 className="text-lg font-semibold text-slate-700">{title}</h4> | ||
</a> | ||
); | ||
}; |
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,23 @@ | ||
export const LevelTag = ({ level }: { level: string }) => { | ||
const colorSchema = { | ||
beginner: '#4ade80', | ||
intermediate: '#fbbf24', | ||
advanced: '#ef4444', | ||
}; | ||
|
||
const color = colorSchema as Record<string, string>; | ||
|
||
return ( | ||
<div className="flex"> | ||
<div | ||
className="rounded-full px-2 py-1 text-xs font-semibold uppercase" | ||
style={{ | ||
color: color[level], | ||
backgroundColor: `${color[level]}15`, | ||
}} | ||
> | ||
{level} | ||
</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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
import { twMerge } from 'tailwind-merge'; | ||
|
||
import { LevelTag } from './LevelTag'; | ||
|
||
export const RoadmapCard = ({ | ||
className, | ||
slug, | ||
level, | ||
title, | ||
description, | ||
}: { | ||
className?: string; | ||
slug: string; | ||
level: string; | ||
title: string; | ||
description: string; | ||
}) => { | ||
return ( | ||
<div | ||
className={twMerge( | ||
'flex w-full rounded-lg border-2 bg-slate-50', | ||
className, | ||
)} | ||
> | ||
<a | ||
href={`/roadmap/${slug}`} | ||
className="flex h-full w-full items-center px-10 py-8 text-center" | ||
> | ||
<div className="text-left"> | ||
<LevelTag level={level} /> | ||
|
||
<h3 className="mt-1 text-2xl font-semibold text-slate-800"> | ||
{title} | ||
</h3> | ||
<p className="text-slate-600">{description}</p> | ||
</div> | ||
</a> | ||
</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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
// Place any global data in this file. | ||
// You can import this data from anywhere in your site by using the `import` keyword. | ||
|
||
export const SITE_TITLE = 'Thinc Roadmap'; | ||
export const SITE_DESCRIPTION = 'Thinc First Act Roadmap'; | ||
export const SITE_TITLE = 'Thinc Knowledgee'; | ||
export const SITE_DESCRIPTION = 'Thinc Knowledge'; |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.