-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'refs/remotes/origin/CED-1760-Create-v3-…
…EsVerificationCode-using-PrimeVue' into CED-1760-Create-v3-EsVerificationCode-using-PrimeVue
- Loading branch information
Showing
86 changed files
with
5,788 additions
and
1,412 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,31 +13,23 @@ on: | |
|
||
jobs: | ||
ci: | ||
runs-on: ${{ matrix.os }} | ||
|
||
strategy: | ||
matrix: | ||
os: [ubuntu-latest] | ||
node: [16] | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout 🛎 | ||
uses: actions/checkout@master | ||
uses: actions/checkout@v4 | ||
|
||
- name: Get nodenv version 🔌 | ||
id: nodenv | ||
shell: bash | ||
run: echo "node-version=$(cat .node-version)" >> $GITHUB_OUTPUT | ||
|
||
- name: Setup node env 🏗 | ||
uses: actions/setup-node@v3.7.0 | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: ${{ matrix.node }} | ||
node-version: '${{ steps.nodenv.outputs.node-version }}' | ||
check-latest: true | ||
|
||
- name: Cache node_modules 📦 | ||
uses: actions/[email protected] | ||
with: | ||
path: ~/.npm | ||
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} | ||
restore-keys: | | ||
${{ runner.os }}-node- | ||
- name: Install dependencies 👨🏻💻 | ||
run: | | ||
make install | ||
|
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 |
---|---|---|
@@ -1 +1 @@ | ||
18.19.1 | ||
20.17.0 |
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,60 @@ | ||
<script setup> | ||
const props = defineProps({ | ||
imageFirst: { | ||
type: Boolean, | ||
default: false, | ||
}, | ||
horizontalPadding: { | ||
type: String, | ||
default: 'px-100', | ||
}, | ||
verticalSpacing: { | ||
type: String, | ||
default: 'mb-150', | ||
}, | ||
}); | ||
</script> | ||
|
||
<template> | ||
<es-card | ||
class="align-items-center d-flex flex-column py-200 text-center" | ||
:class="props.horizontalPadding" | ||
v-bind="$attrs"> | ||
<!-- avoiding use of an <h2> tag here for long-form content SEO reasons, | ||
but preserving heading semantics for screen readers --> | ||
<div | ||
role="heading" | ||
aria-level="2" | ||
class="font-weight-semibold font-size-300" | ||
:class="[{ 'order-1': props.imageFirst }, props.verticalSpacing]"> | ||
<slot name="heading"> Easily find what solar costs in your area </slot> | ||
</div> | ||
<div | ||
v-if="$slots.image" | ||
class="mx-auto w-100" | ||
:class="props.verticalSpacing"> | ||
<slot name="image" /> | ||
</div> | ||
<div | ||
class="w-100" | ||
:class="{ 'order-2': props.imageFirst }"> | ||
<div | ||
v-if="$slots.subtitle" | ||
class="es-cta-card-subtitle" | ||
:class="props.verticalSpacing"> | ||
<slot name="subtitle" /> | ||
</div> | ||
<slot name="cta" /> | ||
</div> | ||
</es-card> | ||
</template> | ||
|
||
<style lang="scss" scoped> | ||
.es-cta-card { | ||
&-subtitle { | ||
:deep(p:last-child) { | ||
margin-bottom: 0; | ||
} | ||
} | ||
} | ||
</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,61 @@ | ||
<script setup lang="ts"> | ||
defineProps({ | ||
visible: { | ||
type: Boolean, | ||
default: false, | ||
required: false, | ||
}, | ||
fileName: { | ||
type: String, | ||
default: 'test.png', | ||
required: false, | ||
}, | ||
fileSource: { | ||
type: String, | ||
default: '', | ||
required: false, | ||
}, | ||
}); | ||
defineEmits(['hidden']); | ||
</script> | ||
|
||
<template> | ||
<es-modal | ||
:id="`preview-modal-${fileName}`" | ||
hide-footer | ||
:visible="visible" | ||
size="xl" | ||
body-class="border-top p-0" | ||
@hidden="$emit('hidden')"> | ||
<template #modal-title> | ||
{{ fileName }} | ||
</template> | ||
<div class="d-md-none d-block file-preview text-center"> | ||
<nuxt-img | ||
loading="lazy" | ||
class="img-fluid file-preview" | ||
:src="fileSource" | ||
:alt="fileName" /> | ||
</div> | ||
<div class="d-none d-md-block"> | ||
<div class="px-500 py-200 bg-gray-200"> | ||
<div class="card bg-white file-preview"> | ||
<nuxt-img | ||
loading="lazy" | ||
class="img-fluid file-preview rounded-img" | ||
:src="fileSource" | ||
:alt="fileName" /> | ||
</div> | ||
</div> | ||
</div> | ||
</es-modal> | ||
</template> | ||
|
||
<style lang="scss" scoped> | ||
@use '@energysage/es-ds-styles/scss/variables' as variables; | ||
.rounded-img { | ||
border-radius: variables.$card-inner-border-radius !important; | ||
} | ||
</style> |
Oops, something went wrong.