Skip to content

Commit

Permalink
Adicionado a linguagem 'kotlin'
Browse files Browse the repository at this point in the history
  • Loading branch information
hlxdev committed Jan 2, 2024
1 parent 6ce7bff commit 519558d
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
9 changes: 8 additions & 1 deletion docs/linguagens/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,18 @@ pagination_next: null
detailBgColor="bg-orange-500/10"
/>

<Card
title="Kotlin"
link="/docs/linguagens/kotlin"
iconPath="/img/languages/kotlin.png"
detailBgColor="bg-purple-500/10"
/>

<Card
title="C#"
link="/docs/linguagens/csharp"
iconPath="/img/languages/csharp.png"
detailBgColor="bg-purple-500/10"
detailBgColor="bg-fuchsia-500/10"
/>

<Card
Expand Down
3 changes: 1 addition & 2 deletions src/components/Card.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,8 @@ export function Card({ title, iconPath, detailBgColor, link }: Props) {
<a href={link} className='langCardAnchor'>
<div className='langCardBox flex-1 bg-zinc-800 text-white rounded-2xl p-4 flex border border-red-500 items-center gap-4 cursor-pointer hover:bg-transparent transition-all'>
<div className={`${detailBgColor} rounded-xl p-2 flex items-center justify-center`}>
<img src={iconPath} alt={title} className="rounded-xl w-10 h-10" />
<img src={iconPath} alt={title} className='rounded-lg w-10 h-10' />
</div>

<span className='font-medium text-lg'>{title}</span>
</div>
</a>
Expand Down
Binary file added static/img/languages/kotlin.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 519558d

Please sign in to comment.