-
Notifications
You must be signed in to change notification settings - Fork 106
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feature: create write for kestra page (#698)
* feat: compose components for write-with-kestra * feat: add page data * feat: update component props * feat: add styles * feat: update icon value * feat: update target for cta button * feat: update padding * feat: fix styles * feat: add card group * feat: update action link * feat: add link * fix: eol * feat: update description * feat: update margin * feat: update divider margin * feat: update link * feat: update icons * feat: update margin * update write for us * update color values * make responsive * feat: use css variables * feat: remove arrow icon margin * feat: use padding * feat: update divider color * feat: update icon and color * feat: update position relative
- Loading branch information
1 parent
e71f347
commit 6d21c66
Showing
21 changed files
with
810 additions
and
52 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
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
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,73 @@ | ||
<template> | ||
<div v-for="(item, index) in content.items" data-aos="fade-right"> | ||
<div class="card process-card"> | ||
<div class="row p-3"> | ||
<div> | ||
<h6 class="fw-light d-flex align-items-center m-0"> | ||
<span class="item-number">0{{ index + 1 }}</span> | ||
<span class="item ms-2">{{ item.title }}</span> | ||
</h6> | ||
<span>{{ item.description }}</span> | ||
</div> | ||
</div> | ||
</div> | ||
<div v-if="index !== content.items.length - 1"> | ||
<div class="row"> | ||
<div class="col-1 arrow"> | ||
<img | ||
class="icon" | ||
:src="content.icon" | ||
:alt="content.title" | ||
/> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</template> | ||
|
||
<script> | ||
export default { | ||
name: "CardGroup", | ||
props: { | ||
content: { | ||
type: Object, | ||
required: true, | ||
default: () => ({ | ||
items: [], | ||
title: "", | ||
icon: "", | ||
}), | ||
}, | ||
}, | ||
}; | ||
</script> | ||
|
||
<style scoped lang="scss"> | ||
@import "../../assets/styles/variable"; | ||
.process-card { | ||
background: $black-3; | ||
color: white; | ||
box-shadow: none; | ||
} | ||
.item-number { | ||
font-size: $font-size-3xl; | ||
color: $green-1; | ||
} | ||
.item { | ||
font-size: $h3-font-size; | ||
} | ||
.title { | ||
font-size: $font-size-2xl; | ||
} | ||
.icon { | ||
height: $rem-4; | ||
} | ||
.arrow { | ||
padding-left: 2.75rem | ||
} | ||
</style> |
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,51 @@ | ||
<template> | ||
<div class="container base-container mt-5"> | ||
<h3 | ||
data-aos="fade-left" | ||
class="title fw-light pb-2" | ||
v-html="content.title" | ||
></h3> | ||
<div v-for="item in content.items"> | ||
<CustomDetails :title="item.title" class="card"> | ||
<p> | ||
{{ item.description }} | ||
</p> | ||
</CustomDetails> | ||
</div> | ||
</div> | ||
</template> | ||
|
||
<script> | ||
import CustomDetails from "~/components/layout/CustomDetails.vue"; | ||
export default { | ||
name: "Faqs", | ||
components: { CustomDetails }, | ||
props: { | ||
content: { | ||
type: Object, | ||
required: true, | ||
default: () => ({ | ||
items: [], | ||
}), | ||
}, | ||
}, | ||
}; | ||
</script> | ||
|
||
<style scoped lang="scss"> | ||
@import "../../assets/styles/variable"; | ||
.base-container { | ||
max-width: $width-800; | ||
} | ||
.card { | ||
background: $black-3; | ||
box-shadow: none; | ||
color: white; | ||
border: 1px solid $black-3; | ||
} | ||
</style> |
Oops, something went wrong.