Skip to content

Commit

Permalink
Remove button
Browse files Browse the repository at this point in the history
  • Loading branch information
zzq0826 committed Jul 3, 2024
1 parent 88c405d commit 907636c
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 34 deletions.
15 changes: 1 addition & 14 deletions src/components/SectionHeader/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,7 @@ const { title, content } = Astro.props as Props

<>
<p class="title">{title}</p>
<div class="content-container">
<p class="content">{content}</p>
<slot name="button" />
</div>
<p class="content">{content}</p>
</>

<style>
Expand All @@ -24,13 +21,6 @@ const { title, content } = Astro.props as Props
line-height: 50px;
margin-bottom: 25px;
}
.content-container {
display: flex;
flex-direction: row;
justify-content: space-between;
align-items: flex-start;
gap: 1.6rem;
}
.content {
font-size: 24px;
line-height: 34px;
Expand All @@ -42,9 +32,6 @@ const { title, content } = Astro.props as Props
line-height: 34px;
margin-bottom: 22px;
}
.content-container {
flex-direction: column;
}
.content {
font-size: 18px;
line-height: normal;
Expand Down
6 changes: 1 addition & 5 deletions src/pages/en/home/QuickStart.astro
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,7 @@ const toolList = [
<SectionHeader
title="Developer Quickstart"
content="Start developing on Scroll with all of your favourite tools for building and testing smart contracts."
>
<div slot="button" class="remix-callout">
<a href="">Get in touch</a>
</div>
</SectionHeader>
/>
<div class="tools">
{
toolList.map(({ icon, name, quickstartAnchor, color }) => (
Expand Down
7 changes: 2 additions & 5 deletions src/pages/es/home/QuickStart.astro
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,8 @@ const toolList = [
<SectionHeader
title="Inicio rápido para Desarrolladores"
content="Comienza a construir en Scroll con todas tus herramientas favoritas de desarollo y de testing de Smart Contracts."
>
<div slot="button" class="remix-callout">
<a href="">Ponte en contacto</a>
</div>
</SectionHeader>
/>

<div class="tools">
{
toolList.map(({ icon, name, quickstartAnchor, color }) => (
Expand Down
6 changes: 1 addition & 5 deletions src/pages/tr/home/QuickStart.astro
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,7 @@ const toolList = [
<SectionHeader
title="Geliştiriciler İçin Hızlı Başlangıç"
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."
>
<div slot="button" class="remix-callout">
<a href="">İletişime geç</a>
</div>
</SectionHeader>
/>
<div class="tools">
{
toolList.map(({ icon, name, quickstartAnchor, color }) => (
Expand Down
6 changes: 1 addition & 5 deletions src/pages/zh/home/QuickStart.astro
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,7 @@ const toolList = [
---

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

0 comments on commit 907636c

Please sign in to comment.