Skip to content

Commit

Permalink
Revert "add get in touch button"
Browse files Browse the repository at this point in the history
This reverts commit 5c695f2.
  • Loading branch information
zzq0826 committed Jul 3, 2024
1 parent 5c695f2 commit 94cfcdd
Show file tree
Hide file tree
Showing 10 changed files with 9 additions and 81 deletions.
14 changes: 0 additions & 14 deletions src/assets/svgs/home/Note.svg

This file was deleted.

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
9 changes: 1 addition & 8 deletions src/pages/en/home/ConnectUs.astro
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import LinkArrowSvg from "~/assets/svgs/home/home-link-arrow.svg?raw"
import DiscordSvg from "~/assets/svgs/home/Discord.svg?raw"
import ForumSvg from "~/assets/svgs/home/Forum.svg?raw"
import ContributeSvg from "~/assets/svgs/home/Contribute.svg?raw"
import NoteSvg from "~/assets/svgs/home/Note.svg?raw"
const mediaList = [
{
Expand All @@ -13,12 +12,6 @@ const mediaList = [
content: "Connect with other Scroll developers and users.",
link: "https://discord.gg/scroll",
},
{
icon: NoteSvg,
name: "Get in touch",
content: "Reach out directly if you need more support for hour project.",
link: "",
},
{
icon: ForumSvg,
name: "Community Forum",
Expand Down Expand Up @@ -67,7 +60,7 @@ const mediaList = [

.medias {
display: flex;
gap: 1.6rem;
gap: 3rem;
margin-top: 90px;
}
.media-item {
Expand Down
6 changes: 1 addition & 5 deletions src/pages/en/home/Navigate.astro
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,7 @@ const navList = [
---

<div class="navigate">
<SectionHeader title="Navigate the Docs" content="Start developing on Scroll today.">
<div slot="button" class="remix-callout">
<a href="">Get in touch</a>
</div>
</SectionHeader>
<SectionHeader title="Navigate the Docs" content="Start developing on Scroll today." />
<div class="navs">
{navList.map(({ icon, name, content, link }) => <NavCard icon={icon} name={name} content={content} link={link} />)}
</div>
Expand Down
9 changes: 1 addition & 8 deletions src/pages/es/home/ConnectUs.astro
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import LinkArrowSvg from "~/assets/svgs/home/home-link-arrow.svg?raw"
import DiscordSvg from "~/assets/svgs/home/Discord.svg?raw"
import ForumSvg from "~/assets/svgs/home/Forum.svg?raw"
import ContributeSvg from "~/assets/svgs/home/Contribute.svg?raw"
import NoteSvg from "~/assets/svgs/home/Note.svg?raw"
const mediaList = [
{
Expand All @@ -13,12 +12,6 @@ const mediaList = [
content: "Conecta con otros desarradores y usuarios de Scroll.",
link: "https://discord.gg/scroll",
},
{
icon: NoteSvg,
name: "Ponte en contacto",
content: "Comunícate directamente si necesitas más apoyo para tu proyecto.",
link: "",
},
{
icon: ForumSvg,
name: "Foro de la Comunidad",
Expand Down Expand Up @@ -67,7 +60,7 @@ const mediaList = [

.medias {
display: flex;
gap: 1.6rem;
gap: 3rem;
margin-top: 90px;
}
.media-item {
Expand Down
6 changes: 1 addition & 5 deletions src/pages/es/home/Navigate.astro
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,7 @@ const navList = [
---

<div class="navigate">
<SectionHeader title="Navega la Documentación" content="Comienza a desarrollar en Scroll hoy.">
<div slot="button" class="remix-callout">
<a href="">Ponte en contacto</a>
</div>
</SectionHeader>
<SectionHeader title="Navega la Documentación" content="Comienza a desarrollar en Scroll hoy." />
<div class="navs">
{navList.map(({ icon, name, content, link }) => <NavCard icon={icon} name={name} content={content} link={link} />)}
</div>
Expand Down
9 changes: 1 addition & 8 deletions src/pages/tr/home/ConnectUs.astro
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import LinkArrowSvg from "~/assets/svgs/home/home-link-arrow.svg?raw"
import DiscordSvg from "~/assets/svgs/home/Discord.svg?raw"
import ForumSvg from "~/assets/svgs/home/Forum.svg?raw"
import ContributeSvg from "~/assets/svgs/home/Contribute.svg?raw"
import NoteSvg from "~/assets/svgs/home/Note.svg?raw"
const mediaList = [
{
Expand All @@ -13,12 +12,6 @@ const mediaList = [
content: "Diğer Scroll geliştiricileri ve kullanıcılarıyla bağlantı kurun.",
link: "https://discord.gg/scroll",
},
{
icon: NoteSvg,
name: "İletişime geç",
content: "Projeniz için daha fazla desteğe ihtiyacınız olursa doğrudan bizimle iletişime geçin.",
link: "",
},
{
icon: ForumSvg,
name: "Topluluk Forumu",
Expand Down Expand Up @@ -67,7 +60,7 @@ const mediaList = [

.medias {
display: flex;
gap: 1.6rem;
gap: 3rem;
margin-top: 90px;
}
.media-item {
Expand Down
7 changes: 1 addition & 6 deletions src/pages/tr/home/Navigate.astro
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,7 @@ const navList = [
---

<div class="navigate">
<SectionHeader title="Dokümantasyon'u gezin" content="Scroll'da geliştirmeye bugün başlayın.">
<div slot="button" class="remix-callout">
<a href="">İletişime geç</a>
</div>
</SectionHeader>

<SectionHeader title="Dokümantasyon'u gezin" content="Scroll'da geliştirmeye bugün başlayın." />
<div class="navs">
{navList.map(({ icon, name, content, link }) => <NavCard icon={icon} name={name} content={content} link={link} />)}
</div>
Expand Down
9 changes: 1 addition & 8 deletions src/pages/zh/home/ConnectUs.astro
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import LinkArrowSvg from "~/assets/svgs/home/home-link-arrow.svg?raw"
import DiscordSvg from "~/assets/svgs/home/Discord.svg?raw"
import ForumSvg from "~/assets/svgs/home/Forum.svg?raw"
import ContributeSvg from "~/assets/svgs/home/Contribute.svg?raw"
import NoteSvg from "~/assets/svgs/home/Note.svg?raw"
const mediaList = [
{
Expand All @@ -13,12 +12,6 @@ const mediaList = [
content: "与其他 Scroll 开发者和用户建立联系",
link: "https://discord.gg/scroll",
},
{
icon: NoteSvg,
name: "获取支持",
content: "如果您需要更多的支持,请直接联系我们。",
link: "",
},
{
icon: ForumSvg,
name: "社区论坛",
Expand Down Expand Up @@ -64,7 +57,7 @@ const mediaList = [

.medias {
display: flex;
gap: 1.6rem;
gap: 3rem;
margin-top: 90px;
}
.media-item {
Expand Down
6 changes: 1 addition & 5 deletions src/pages/zh/home/Navigate.astro
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,7 @@ const navList = [
---

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

0 comments on commit 94cfcdd

Please sign in to comment.