Skip to content

Commit 6f5fd84

Browse files
committed
fixes merge conflicts
1 parent 270ba91 commit 6f5fd84

File tree

2 files changed

+57
-57
lines changed

2 files changed

+57
-57
lines changed

src/components/JourneyCards/JourneyCards.astro

Lines changed: 38 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -92,36 +92,39 @@ const columns = [
9292
]
9393
---
9494

95-
<div class="journey-cards">
96-
{
97-
columns.map((column) => (
98-
<div class="journey-column">
99-
<header class="column-header">
100-
<Typography variant="h5" className="column-title">
101-
{column.title}
102-
</Typography>
103-
</header>
104-
{column.items.map((item) => (
105-
<a href={item.href} class="journey-card">
106-
<div class="card-content">
107-
<Typography variant="body-semi">{item.title}</Typography>
108-
<Typography variant="body-s" color="muted">
109-
{item.description}
110-
</Typography>
111-
</div>
112-
113-
<footer class="journey-footer">
114-
<Tag size="sm" className="footer-tag">
115-
<Typography variant="code-s">{item.badge}</Typography>
116-
</Tag>
117-
<img src="/assets/icons/upper-right-arrow.svg" class="footer-icon" />
118-
</footer>
119-
</a>
120-
))}
121-
</div>
122-
))
123-
}
124-
</div>
95+
<section>
96+
<Typography variant="h4" className="section-title">Start your Chainlink journey</Typography>
97+
<div class="journey-cards">
98+
{
99+
columns.map((column) => (
100+
<div class="journey-column">
101+
<header class="column-header">
102+
<Typography variant="h5" className="column-title">
103+
{column.title}
104+
</Typography>
105+
</header>
106+
{column.items.map((item) => (
107+
<a href={item.href} class="journey-card">
108+
<div class="card-content">
109+
<Typography variant="body-semi">{item.title}</Typography>
110+
<Typography variant="body-s" color="muted">
111+
{item.description}
112+
</Typography>
113+
</div>
114+
115+
<footer class="journey-footer">
116+
<Tag size="sm" className="footer-tag">
117+
<Typography variant="code-s">{item.badge}</Typography>
118+
</Tag>
119+
<img src="/assets/icons/upper-right-arrow.svg" class="footer-icon" />
120+
</footer>
121+
</a>
122+
))}
123+
</div>
124+
))
125+
}
126+
</div>
127+
</section>
125128

126129
<style>
127130
.journey-cards {
@@ -165,6 +168,11 @@ const columns = [
165168
justify-content: space-between;
166169
}
167170

171+
.section-title {
172+
font-size: 32px;
173+
margin-bottom: var(--space-10x);
174+
}
175+
168176
.footer {
169177
padding-top: var(--space-1x);
170178
}

src/pages/index.astro

Lines changed: 19 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,8 @@ import JourneyCards from "~/components/JourneyCards/JourneyCards.astro"
44
import BaseLayout from "~/layouts/BaseLayout.astro"
55
66
import * as CONFIG from "../config"
7-
import { Typography } from "@chainlink/blocks"
8-
import CardsWrapper from "~/components/Cards/CardsWrapper.astro"
9-
import type { ICard } from "~/components/Cards/types"
107
import Demos from "~/components/Demos.astro"
8+
import { Typography } from "@chainlink/blocks"
119
1210
const formattedContentTitle = `${CONFIG.PAGE.titleFallback} | ${CONFIG.SITE.title}`
1311
---
@@ -22,21 +20,24 @@ const formattedContentTitle = `${CONFIG.PAGE.titleFallback} | ${CONFIG.SITE.titl
2220
<ProductTabs />
2321
</div>
2422
</div>
25-
26-
<Demos />
27-
28-
<div class="recommended">
29-
<h4>Recommended reading</h4>
30-
<h2>We think you'd love to explore</h2>
31-
<div>
32-
<a href="/getting-started/conceptual-overview">General</a>
33-
<a href="/resources/link-token-contracts">Link Token Contracts</a>
34-
<a href="/ccip/getting-started">Getting Started with CCIP</a>
35-
<a href="/ccip/directory">CCIP Directory</a>
36-
<a href="/data-feeds/price-feeds/addresses">Data Feed Addresses</a>
37-
<a href="/data-feeds/smartdata/addresses">SmartData Feed Addresses</a>
38-
<a href="/data-streams/getting-started-hardhat">Getting Started with Data Streams</a>
39-
<a href="/data-streams/crypto-streams">Data Streams Addresses</a>
23+
<div class="wrapper">
24+
<JourneyCards />
25+
26+
<Demos />
27+
28+
<div class="recommended">
29+
<h4>Recommended reading</h4>
30+
<h2>We think you'd love to explore</h2>
31+
<div>
32+
<a href="/getting-started/conceptual-overview">General</a>
33+
<a href="/resources/link-token-contracts">Link Token Contracts</a>
34+
<a href="/ccip/getting-started">Getting Started with CCIP</a>
35+
<a href="/ccip/directory">CCIP Directory</a>
36+
<a href="/data-feeds/price-feeds/addresses">Data Feed Addresses</a>
37+
<a href="/data-feeds/smartdata/addresses">SmartData Feed Addresses</a>
38+
<a href="/data-streams/getting-started-hardhat">Getting Started with Data Streams</a>
39+
<a href="/data-streams/crypto-streams">Data Streams Addresses</a>
40+
</div>
4041
</div>
4142
</div>
4243
</main>
@@ -141,15 +142,6 @@ const formattedContentTitle = `${CONFIG.PAGE.titleFallback} | ${CONFIG.SITE.titl
141142
background-color: var(--blue-100);
142143
}
143144

144-
.section-title {
145-
font-size: 32px;
146-
margin-bottom: var(--space-10x);
147-
}
148-
149-
.section {
150-
margin: 0 var(--space-6x);
151-
}
152-
153145
.wrapper {
154146
display: flex;
155147
flex-direction: column;

0 commit comments

Comments
 (0)