Skip to content

Commit

Permalink
add tech stacks
Browse files Browse the repository at this point in the history
  • Loading branch information
frullah committed Mar 28, 2021
1 parent 8b09441 commit 43c4a5b
Show file tree
Hide file tree
Showing 3 changed files with 49 additions and 0 deletions.
36 changes: 36 additions & 0 deletions src/components/Sections/TechnologiesSection.svelte
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
<script>
import Tag from "../Tag.svelte";
const usedTechnologies = [
"HTML",
"CSS",
"Javascript",
"Bootstrap",
"Stimulus.js",
"Turbo",
"Tailwind CSS",
"Python",
"Ruby",
"Ruby on rails",
"PostgreSQL",
"OracleDB",
"MariaDB",
"Git",
"Github",
"Docker",
"AWS",
];
</script>

<section id="technologies">
<div class="container my-4 p-4">
<h2 class="text-xl text-center mb-4">My Tech Stacks</h2>
<ul class="flex flex-wrap justify-center">
{#each usedTechnologies as usedTechnology}
<li class="mx-1 mb-2">
<Tag text={usedTechnology} />
</li>
{/each}
</ul>
</div>
</section>
11 changes: 11 additions & 0 deletions src/components/Tag.svelte
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<script>
export let text;
</script>

<div class="tag">{text}</div>

<style global lang="scss">
.tag {
@apply text-sm inline-block font-medium border border-primary-500 rounded py-1.5 px-3;
}
</style>
2 changes: 2 additions & 0 deletions src/routes/index.svelte
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
<script>
import HomeSection from "../components/Sections/HomeSection.svelte";
import TechnologiesSection from "../components/Sections/TechnologiesSection.svelte";
</script>

<svelte:head>
<title>Fajarullah</title>
</svelte:head>

<HomeSection />
<TechnologiesSection />

0 comments on commit 43c4a5b

Please sign in to comment.