This repository has been archived by the owner on Nov 26, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
merge languages and tools into workshops on homepage
- Loading branch information
Showing
4 changed files
with
91 additions
and
2 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,24 @@ | ||
<script setup> | ||
defineProps({ | ||
title: String, | ||
color: String, | ||
icon: String[2], | ||
}); | ||
</script> | ||
|
||
<template> | ||
<div | ||
class="inline-flex w-[200px] flex-col justify-between transition ease-in-out delay-150 hover:-translate-y-1 hover:scale-110 duration-300" | ||
> | ||
<div | ||
class="relative m-4 flex h-40 flex-col justify-between rounded-lg bg-gray-200 p-4 shadow" | ||
> | ||
<div class="z-10"> | ||
<h3 class="font-bold mb-2 text-lg">{{ title }}</h3> | ||
</div> | ||
<div class="absolute right-5 top-10 text-8xl backdrop-blur"> | ||
<font-awesome-icon :icon="icon" :class="color" /> | ||
</div> | ||
</div> | ||
</div> | ||
</template> |
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,62 @@ | ||
<script setup> | ||
import CardItem from "./CardItem.vue"; | ||
const langs_and_tools = [ | ||
{ | ||
title: "Java", | ||
color: "text-red-800", | ||
icon: ["fab", "java"], | ||
}, | ||
{ | ||
title: "Python", | ||
color: "text-yellow-600", | ||
icon: ["fab", "python"], | ||
}, | ||
{ | ||
title: "HTML5", | ||
color: "text-red-600", | ||
icon: ["fab", "html5"], | ||
}, | ||
{ | ||
title: "CSS3", | ||
color: "text-blue-600", | ||
icon: ["fab", "css3-alt"], | ||
}, | ||
{ | ||
title: "Terminal", | ||
color: "text-black-600", | ||
icon: ["fas", "terminal"], | ||
}, | ||
{ | ||
title: "Git", | ||
color: "text-red-600", | ||
icon: ["fas", "code-branch"], | ||
}, | ||
{ | ||
title: "Github", | ||
color: "text-black-600", | ||
icon: ["fab", "github"], | ||
}, | ||
]; | ||
</script> | ||
|
||
<template> | ||
<h1 class="text-center pt-8 text-4xl">What We Offer</h1> | ||
<div | ||
class="mt-6 flex flex-col md:flex-row items-center justify-center md:container md:pr-5" | ||
> | ||
<h1 class="text-center text-3xl mb-3 md:pr-10">Languages & Tools</h1> | ||
<div | ||
class="grid grid-cols-2 sm:grid-cols-3 md:gap-x-8 md:grid-cols-3 xl:grid-cols-4" | ||
> | ||
<div v-for="item in langs_and_tools"> | ||
<CardItem | ||
:title="item.title" | ||
:about="item.about" | ||
:color="item.color" | ||
:icon="item.icon" | ||
/> | ||
</div> | ||
</div> | ||
</div> | ||
</template> |
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