Skip to content

Commit

Permalink
feat: add GetInvolved section
Browse files Browse the repository at this point in the history
  • Loading branch information
aekasitt committed Aug 14, 2024
1 parent 42b8a76 commit 8afd438
Show file tree
Hide file tree
Showing 6 changed files with 10,614 additions and 1,610 deletions.
12 changes: 11 additions & 1 deletion src/App.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,15 @@
<script lang="ts" setup>
/* components */
import { About, BuildingBlocks, Footer, Hero, Navbar, ProofOfWork, Sponsors } from '@/components'
import {
About,
BuildingBlocks,
Footer,
GetInvolved,
Hero,
Navbar,
ProofOfWork,
Sponsors,
} from '@/components'
</script>

<template>
Expand All @@ -10,5 +19,6 @@ import { About, BuildingBlocks, Footer, Hero, Navbar, ProofOfWork, Sponsors } fr
<About />
<BuildingBlocks />
<ProofOfWork />
<GetInvolved />
<Footer />
</template>
7,670 changes: 6,063 additions & 1,607 deletions src/assets/block-adept.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4,461 changes: 4,461 additions & 0 deletions src/assets/cypherpunk.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
76 changes: 76 additions & 0 deletions src/components/GetInvolved.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
<script lang="ts" setup>
/* components */
import {
Card,
CardContent,
CardDescription,
CardFooter,
CardHeader,
CardTitle,
} from '@/components/ui/card'
/* vectors */
import Cypherpunk from '@/assets/cypherpunk.svg'
import { Aperture, Donut, FlameKindling } from 'lucide-vue-next'
/* schemas */
interface Step {
title: string
description: string
icon: string
}
/* constants */
let steps: Step[] = [
{
description: 'Find ideas you would like to work on that you cannot live without when using Bitcoin.',
icon: 'aperture',
title: 'Capture Spark',
},
{
description: 'Make a use-case analysis and an improvement proposal to see it become reality.',
icon: 'donut',
title: 'Take a Bite',
},
{
description: 'Once caught on, make sure to give it your all to kindle the sparks of genius you had and introduce the idea to the collective.',
icon: 'flame-kindling',
title: 'Kindle Greatness',
},
]
</script>

<template>
<section class="container py-24 sm:py-32">
<div class="grid lg:grid-cols-[1fr,1fr] gap-8 place-items-center">
<div>
<h2 class="text-3xl md:text-4xl font-bold">
<span class="bg-gradient-to-b from-primary/60 to-primary text-transparent bg-clip-text">
Collective
</span>
Mission
</h2>

<p class="text-muted-foreground text-xl mt-4 mb-8">
Lorem ipsum dolor sit amet consectetur, adipisicing elit. Veritatis dolor.
</p>

<div class="flex flex-col gap-8">
<Card :key="step.title" v-for="step in steps">
<CardHeader class="space-y-1 flex md:flex-row justify-start items-start gap-4">
<div class="mt-1 bg-primary/20 p-1 rounded-2xl">
<Aperture v-if="step.icon == 'aperture'" />
<Donut v-if="step.icon == 'donut'" />
<FlameKindling v-if="step.icon == 'flame-kindling'" />
</div>
<div>
<CardTitle>{{ step.title }}</CardTitle>
<CardDescription class="text-md mt-2"> {{ step.description }} </CardDescription>
</div>
</CardHeader>
</Card>
</div>
</div>
<Cypherpunk class="w-[300px] md:w-[500px] lg:w-[600px]" />
</div>
</section>
</template>
4 changes: 2 additions & 2 deletions src/components/ProofOfWork.vue
Original file line number Diff line number Diff line change
Expand Up @@ -127,8 +127,8 @@ let windowOpen = repoUrl => {
</span>
</h2>
<p class="mt-4 mb-10 text-xl text-muted-foreground">
Krutt has been established in 2023 and work tirelessly to make Bitcoin more approachable
to Bitdevs everywhere, without layers of abstractions to obscure development directions.
Krutt has been established in 2023 and work tirelessly to make Bitcoin more approachable to
Bitdevs everywhere, without layers of abstractions to obscure development directions.
</p>
<div class="grid md:grid-cols-2 lg:grid-cols-4 gap-8 gap-y-10">
<Card
Expand Down
1 change: 1 addition & 0 deletions src/components/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
export { default as About } from './About.vue'
export { default as BuildingBlocks } from './BuildingBlocks.vue'
export { default as Footer } from './Footer.vue'
export { default as GetInvolved } from './GetInvolved.vue'
export { default as Hero } from './Hero.vue'
export { default as HeroCards } from './HeroCards.vue'
export { default as Navbar } from './Navbar.vue'
Expand Down

0 comments on commit 8afd438

Please sign in to comment.