Skip to content

Commit 94cfcdd

Browse files
committed
Revert "add get in touch button"
This reverts commit 5c695f2.
1 parent 5c695f2 commit 94cfcdd

File tree

10 files changed

+9
-81
lines changed

10 files changed

+9
-81
lines changed

src/assets/svgs/home/Note.svg

Lines changed: 0 additions & 14 deletions
This file was deleted.

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/ConnectUs.astro

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import LinkArrowSvg from "~/assets/svgs/home/home-link-arrow.svg?raw"
44
import DiscordSvg from "~/assets/svgs/home/Discord.svg?raw"
55
import ForumSvg from "~/assets/svgs/home/Forum.svg?raw"
66
import ContributeSvg from "~/assets/svgs/home/Contribute.svg?raw"
7-
import NoteSvg from "~/assets/svgs/home/Note.svg?raw"
87
98
const mediaList = [
109
{
@@ -13,12 +12,6 @@ const mediaList = [
1312
content: "Connect with other Scroll developers and users.",
1413
link: "https://discord.gg/scroll",
1514
},
16-
{
17-
icon: NoteSvg,
18-
name: "Get in touch",
19-
content: "Reach out directly if you need more support for hour project.",
20-
link: "",
21-
},
2215
{
2316
icon: ForumSvg,
2417
name: "Community Forum",
@@ -67,7 +60,7 @@ const mediaList = [
6760

6861
.medias {
6962
display: flex;
70-
gap: 1.6rem;
63+
gap: 3rem;
7164
margin-top: 90px;
7265
}
7366
.media-item {

src/pages/en/home/Navigate.astro

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,7 @@ const navList = [
3535
---
3636

3737
<div class="navigate">
38-
<SectionHeader title="Navigate the Docs" content="Start developing on Scroll today.">
39-
<div slot="button" class="remix-callout">
40-
<a href="">Get in touch</a>
41-
</div>
42-
</SectionHeader>
38+
<SectionHeader title="Navigate the Docs" content="Start developing on Scroll today." />
4339
<div class="navs">
4440
{navList.map(({ icon, name, content, link }) => <NavCard icon={icon} name={name} content={content} link={link} />)}
4541
</div>

src/pages/es/home/ConnectUs.astro

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import LinkArrowSvg from "~/assets/svgs/home/home-link-arrow.svg?raw"
44
import DiscordSvg from "~/assets/svgs/home/Discord.svg?raw"
55
import ForumSvg from "~/assets/svgs/home/Forum.svg?raw"
66
import ContributeSvg from "~/assets/svgs/home/Contribute.svg?raw"
7-
import NoteSvg from "~/assets/svgs/home/Note.svg?raw"
87
98
const mediaList = [
109
{
@@ -13,12 +12,6 @@ const mediaList = [
1312
content: "Conecta con otros desarradores y usuarios de Scroll.",
1413
link: "https://discord.gg/scroll",
1514
},
16-
{
17-
icon: NoteSvg,
18-
name: "Ponte en contacto",
19-
content: "Comunícate directamente si necesitas más apoyo para tu proyecto.",
20-
link: "",
21-
},
2215
{
2316
icon: ForumSvg,
2417
name: "Foro de la Comunidad",
@@ -67,7 +60,7 @@ const mediaList = [
6760

6861
.medias {
6962
display: flex;
70-
gap: 1.6rem;
63+
gap: 3rem;
7164
margin-top: 90px;
7265
}
7366
.media-item {

src/pages/es/home/Navigate.astro

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,7 @@ const navList = [
3535
---
3636

3737
<div class="navigate">
38-
<SectionHeader title="Navega la Documentación" content="Comienza a desarrollar en Scroll hoy.">
39-
<div slot="button" class="remix-callout">
40-
<a href="">Ponte en contacto</a>
41-
</div>
42-
</SectionHeader>
38+
<SectionHeader title="Navega la Documentación" content="Comienza a desarrollar en Scroll hoy." />
4339
<div class="navs">
4440
{navList.map(({ icon, name, content, link }) => <NavCard icon={icon} name={name} content={content} link={link} />)}
4541
</div>

src/pages/tr/home/ConnectUs.astro

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import LinkArrowSvg from "~/assets/svgs/home/home-link-arrow.svg?raw"
44
import DiscordSvg from "~/assets/svgs/home/Discord.svg?raw"
55
import ForumSvg from "~/assets/svgs/home/Forum.svg?raw"
66
import ContributeSvg from "~/assets/svgs/home/Contribute.svg?raw"
7-
import NoteSvg from "~/assets/svgs/home/Note.svg?raw"
87
98
const mediaList = [
109
{
@@ -13,12 +12,6 @@ const mediaList = [
1312
content: "Diğer Scroll geliştiricileri ve kullanıcılarıyla bağlantı kurun.",
1413
link: "https://discord.gg/scroll",
1514
},
16-
{
17-
icon: NoteSvg,
18-
name: "İletişime geç",
19-
content: "Projeniz için daha fazla desteğe ihtiyacınız olursa doğrudan bizimle iletişime geçin.",
20-
link: "",
21-
},
2215
{
2316
icon: ForumSvg,
2417
name: "Topluluk Forumu",
@@ -67,7 +60,7 @@ const mediaList = [
6760

6861
.medias {
6962
display: flex;
70-
gap: 1.6rem;
63+
gap: 3rem;
7164
margin-top: 90px;
7265
}
7366
.media-item {

src/pages/tr/home/Navigate.astro

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,7 @@ const navList = [
3535
---
3636

3737
<div class="navigate">
38-
<SectionHeader title="Dokümantasyon'u gezin" content="Scroll'da geliştirmeye bugün başlayın.">
39-
<div slot="button" class="remix-callout">
40-
<a href="">İletişime geç</a>
41-
</div>
42-
</SectionHeader>
43-
38+
<SectionHeader title="Dokümantasyon'u gezin" content="Scroll'da geliştirmeye bugün başlayın." />
4439
<div class="navs">
4540
{navList.map(({ icon, name, content, link }) => <NavCard icon={icon} name={name} content={content} link={link} />)}
4641
</div>

src/pages/zh/home/ConnectUs.astro

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import LinkArrowSvg from "~/assets/svgs/home/home-link-arrow.svg?raw"
44
import DiscordSvg from "~/assets/svgs/home/Discord.svg?raw"
55
import ForumSvg from "~/assets/svgs/home/Forum.svg?raw"
66
import ContributeSvg from "~/assets/svgs/home/Contribute.svg?raw"
7-
import NoteSvg from "~/assets/svgs/home/Note.svg?raw"
87
98
const mediaList = [
109
{
@@ -13,12 +12,6 @@ const mediaList = [
1312
content: "与其他 Scroll 开发者和用户建立联系",
1413
link: "https://discord.gg/scroll",
1514
},
16-
{
17-
icon: NoteSvg,
18-
name: "获取支持",
19-
content: "如果您需要更多的支持,请直接联系我们。",
20-
link: "",
21-
},
2215
{
2316
icon: ForumSvg,
2417
name: "社区论坛",
@@ -64,7 +57,7 @@ const mediaList = [
6457

6558
.medias {
6659
display: flex;
67-
gap: 1.6rem;
60+
gap: 3rem;
6861
margin-top: 90px;
6962
}
7063
.media-item {

src/pages/zh/home/Navigate.astro

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,7 @@ const navList = [
3535
---
3636

3737
<div class="navigate">
38-
<SectionHeader title="文档导航" content="今天开始在 Scroll 上进行开发">
39-
<div slot="button" class="remix-callout">
40-
<a href="">获取支持</a>
41-
</div>
42-
</SectionHeader>
38+
<SectionHeader title="文档导航" content="今天开始在 Scroll 上进行开发" />
4339
<div class="navs">
4440
{navList.map(({ icon, name, content, link }) => <NavCard icon={icon} name={name} content={content} link={link} />)}
4541
</div>

0 commit comments

Comments
 (0)