Skip to content

Commit e18a780

Browse files
committed
feat: add years to roadmap sections
1 parent 16d672c commit e18a780

File tree

2 files changed

+20
-8
lines changed

2 files changed

+20
-8
lines changed

components/roadmap.vue

+16-8
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626

2727
</div>
2828
</ZeroButton>
29+
<div class="year" v-html="item.year" />
2930
</div>
3031
</div>
3132

@@ -106,8 +107,18 @@ const cta = computed(() => {
106107
107108
.heading-wrapper {
108109
display: flex;
109-
align-items: center;
110+
flex-direction: column;
111+
// align-items: center;
110112
margin-top: toRem(25);
113+
.year {
114+
@include h5;
115+
letter-spacing: 0.48px;
116+
margin-top: toRem(6);
117+
margin-left: toRem(37);
118+
@include mini {
119+
margin-left: toRem(25);
120+
}
121+
}
111122
}
112123
113124
.heading-button {
@@ -119,26 +130,23 @@ const cta = computed(() => {
119130
}
120131
&:hover,
121132
&:focus-visible {
122-
transform: scale(1.15);
133+
transform: scale(1.15) translateX(toRem(18));
123134
.icon {
124135
:deep(path) {
125136
fill: $chardonnay;
126137
}
127138
}
128-
.h2 {
129-
color: $chardonnay;
130-
}
131139
}
132140
&:focus-visible {
133141
@include focusOutline;
134142
}
135143
.heading {
136144
display: flex;
137-
align-items: center;
138145
}
139146
.icon {
140-
width: toRem(41);
141-
height: toRem(41);
147+
width: toRem(23);
148+
height: toRem(23);
149+
margin-top: toRem(3);
142150
margin-right: toRem(14);
143151
transition: 300ms cubic-bezier(0.33, 0.2, 0.41, 0.99);
144152
@include mini {

content/core/index.json

+4
Original file line numberDiff line numberDiff line change
@@ -420,6 +420,7 @@
420420
"items": [
421421
{
422422
"heading": "September",
423+
"year": "2023",
423424
"milestones": [
424425
{
425426
"title": "Milestone 1",
@@ -433,6 +434,7 @@
433434
},
434435
{
435436
"heading": "October",
437+
"year": "2023",
436438
"milestones": [
437439
{
438440
"title": "Milestone 3",
@@ -442,6 +444,7 @@
442444
},
443445
{
444446
"heading": "November",
447+
"year": "2023",
445448
"milestones": [
446449
{
447450
"title": "Milestone 4",
@@ -451,6 +454,7 @@
451454
},
452455
{
453456
"heading": "December",
457+
"year": "2023",
454458
"milestones": [
455459
{
456460
"title": "Milestone 5",

0 commit comments

Comments
 (0)