Skip to content

Commit 717ebfc

Browse files
refactor(resources): update spacing and content style for more resources section
1 parent c5154ea commit 717ebfc

File tree

2 files changed

+11
-6
lines changed

2 files changed

+11
-6
lines changed

src/intl/en/page-resources.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,12 +76,12 @@
7676
"page-resources-hero-title": "Resources",
7777
"page-resources-hero-header": "Ethereum Dashboards",
7878
"page-resources-hero-description": "Discover a list of community-curated resources to stay updated on all major Ethereum ecosystem developments.",
79-
"page-resources-find-more": "Find more great resources on <a href=\"https://ethereumdashboards.com\" target=\"_blank\">ethereumdashboards.com</a>",
79+
"page-resources-find-more": "Find more great resources on",
8080
"page-resources-contribute-title": "Contribute",
8181
"page-resources-contribute-description": "This dashboard is a living page that requires frequent updates. Help find the best resources to give an overview of the Ethereum ecosystem.",
8282
"page-resources-suggest-resource": "Suggest a resource",
8383
"page-resources-found-bug": "Found a bug",
8484
"page-resources-whats-on-this-page": "What's on this page",
8585
"page-resources-banner-notification-message": "Resources dashboard is new!",
8686
"page-resources-share-feedback": "Please share your feedback with us"
87-
}
87+
}

src/pages/[locale]/resources.tsx

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import { ResourceItem, ResourcesContainer } from "@/components/Resources"
1313
import { useResources } from "@/components/Resources/useResources"
1414
import Translation from "@/components/Translation"
1515
import { ButtonLink } from "@/components/ui/buttons/Button"
16-
import { Stack } from "@/components/ui/flex"
16+
import { Stack, VStack } from "@/components/ui/flex"
1717
import Link from "@/components/ui/Link"
1818
import { Section } from "@/components/ui/section"
1919

@@ -184,9 +184,14 @@ const ResourcesPage = ({ txCostsMedianUsd }) => {
184184
))}
185185
</Stack>
186186

187-
<div className="mb-20 text-center">
188-
<Translation id="page-resources:page-resources-find-more" />
189-
</div>
187+
<VStack className="gap-4 py-16">
188+
<div className="text-center font-bold">
189+
<Translation id="page-resources:page-resources-find-more" />
190+
</div>
191+
<ButtonLink href="https://ethereumdashboards.com" size="lg">
192+
ethereumdashboards.com
193+
</ButtonLink>
194+
</VStack>
190195

191196
<Section
192197
id="contribute"

0 commit comments

Comments
 (0)