Skip to content

Commit 86b9a4c

Browse files
committed
feat: signup card correct image + title styling
1 parent 5ddda47 commit 86b9a4c

File tree

3 files changed

+18
-18
lines changed

3 files changed

+18
-18
lines changed

components/signup-card.vue

+15-16
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,11 @@
55
<div class="content">
66

77
<div class="title-wrapper">
8+
<img class="title-img" :src="img" />
89

9-
<IconPieChartIcon />
10-
11-
<div v-if="title" class="title">
10+
<h1 v-if="title" class="title">
1211
{{ title }}
13-
</div>
12+
</h1>
1413

1514

1615
</div>
@@ -133,6 +132,8 @@ const country = ref(false)
133132
// ==================================================================== Computed
134133
const title = computed(() => { return props.signupCard.title })
135134
135+
const img = computed(() => { return props.signupCard.img })
136+
136137
const description = computed(() => { return props.signupCard.description })
137138
138139
const cardStyles = computed(() => {
@@ -231,19 +232,21 @@ const submitForm = async () => {
231232
.signup-card {
232233
--border-gradient-angle: 0deg;
233234
@include cardPanel(var(--border-gradient-angle));
234-
}
235-
236-
.signup-card {
237-
padding: toRem(30) toRem(24);
235+
padding: toRem(58) toRem(103) toRem(93);
238236
.content {
239237
position: relative;
240238
z-index: 2;
241239
}
242-
.icon {
243-
margin-bottom: toRem(45);
240+
.title-img {
241+
width: toRem(60);
242+
height: toRem(60);
243+
margin-bottom: toRem(12);
244244
}
245245
.title {
246-
@include h3;
246+
font-size: toRem(36);
247+
line-height: leading(48, 36);
248+
font-weight: 500;
249+
letter-spacing: 0.03em;
247250
color: $sageGreen;
248251
margin-bottom: toRem(25);
249252
}
@@ -253,11 +256,7 @@ const submitForm = async () => {
253256
}
254257
}
255258
256-
// ///////////////////////////////////////////////////////////////// Signup Card
257-
.title-wrapper {
258-
display: flex;
259-
flex-flow: row no-wrap;
260-
}
259+
261260
// //////////////////////////////////////////////////////////////////////// Form
262261
//---------------------------------------------------------------------- General
263262
.signup-form {

content/core/signup.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,9 @@
1313
{
1414
"signup_card": {
1515
"title": "Register for Singularity app preview",
16+
"img": "/images/increase-graphic.svg",
1617
"description": "With Singularity, we aim to revolutionize your data management experience with our comprehensive tool, adept at handling PiB scale data effortlessly. We're crafting an intuitive drag-and-drop interface. Stay updated and be among the first to know when the Singularity app launches in the upcoming months. Meanwhile, explore more on our website.",
17-
"borderGradientAngle": "315deg",
18+
"borderGradientAngle": "30deg",
1819
"signup_form": {
1920
"first_name": {
2021
"placeholder": "First name"

pages/signup.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<template>
22
<main :class="[`page page-${tag}`]">
3-
<div class="grid-center">
3+
<div class="grid-center-noGutter">
44
<div class="col-8">
55

66
<SignupCard :signup-card="content.signup_card" />

0 commit comments

Comments
 (0)