Skip to content

Commit 907636c

Browse files
committed
Remove button
1 parent 88c405d commit 907636c

File tree

5 files changed

+6
-34
lines changed

5 files changed

+6
-34
lines changed

src/components/SectionHeader/index.astro

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,7 @@ const { title, content } = Astro.props as Props
88

99
<>
1010
<p class="title">{title}</p>
11-
<div class="content-container">
12-
<p class="content">{content}</p>
13-
<slot name="button" />
14-
</div>
11+
<p class="content">{content}</p>
1512
</>
1613

1714
<style>
@@ -24,13 +21,6 @@ const { title, content } = Astro.props as Props
2421
line-height: 50px;
2522
margin-bottom: 25px;
2623
}
27-
.content-container {
28-
display: flex;
29-
flex-direction: row;
30-
justify-content: space-between;
31-
align-items: flex-start;
32-
gap: 1.6rem;
33-
}
3424
.content {
3525
font-size: 24px;
3626
line-height: 34px;
@@ -42,9 +32,6 @@ const { title, content } = Astro.props as Props
4232
line-height: 34px;
4333
margin-bottom: 22px;
4434
}
45-
.content-container {
46-
flex-direction: column;
47-
}
4835
.content {
4936
font-size: 18px;
5037
line-height: normal;

src/pages/en/home/QuickStart.astro

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,7 @@ const toolList = [
2222
<SectionHeader
2323
title="Developer Quickstart"
2424
content="Start developing on Scroll with all of your favourite tools for building and testing smart contracts."
25-
>
26-
<div slot="button" class="remix-callout">
27-
<a href="">Get in touch</a>
28-
</div>
29-
</SectionHeader>
25+
/>
3026
<div class="tools">
3127
{
3228
toolList.map(({ icon, name, quickstartAnchor, color }) => (

src/pages/es/home/QuickStart.astro

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,8 @@ const toolList = [
2222
<SectionHeader
2323
title="Inicio rápido para Desarrolladores"
2424
content="Comienza a construir en Scroll con todas tus herramientas favoritas de desarollo y de testing de Smart Contracts."
25-
>
26-
<div slot="button" class="remix-callout">
27-
<a href="">Ponte en contacto</a>
28-
</div>
29-
</SectionHeader>
25+
/>
26+
3027
<div class="tools">
3128
{
3229
toolList.map(({ icon, name, quickstartAnchor, color }) => (

src/pages/tr/home/QuickStart.astro

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,7 @@ const toolList = [
2222
<SectionHeader
2323
title="Geliştiriciler İçin Hızlı Başlangıç"
2424
content="Akıllı sözleşmeler oluştururken ve test ederken kullanmayı en sevdiğiniz tüm araçlar ile Scroll'da geliştirmeye başlayın."
25-
>
26-
<div slot="button" class="remix-callout">
27-
<a href="">İletişime geç</a>
28-
</div>
29-
</SectionHeader>
25+
/>
3026
<div class="tools">
3127
{
3228
toolList.map(({ icon, name, quickstartAnchor, color }) => (

src/pages/zh/home/QuickStart.astro

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,7 @@ const toolList = [
1919
---
2020

2121
<div>
22-
<SectionHeader title="开发者快速入门" content="开始使用您喜爱的工具在 Scroll 上进行智能合约的构建和测试">
23-
<div slot="button" class="remix-callout">
24-
<a href="">获取支持</a>
25-
</div>
26-
</SectionHeader>
22+
<SectionHeader title="开发者快速入门" content="开始使用您喜爱的工具在 Scroll 上进行智能合约的构建和测试" />
2723
<div class="tools">
2824
{
2925
toolList.map(({ icon, name, quickstartAnchor, color }) => (

0 commit comments

Comments
 (0)