Skip to content

Commit 3b93385

Browse files
add some illustrations and remove related content component
1 parent 70202d8 commit 3b93385

File tree

5 files changed

+29
-27
lines changed

5 files changed

+29
-27
lines changed

src/routes/community/+page.svelte

Lines changed: 25 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,6 @@
11
<script lang="ts">
22
import InsetText from "$lib/components/content/InsetText.svelte";
33
import WarningText from "$lib/components/content/WarningText.svelte";
4-
import RelatedContent from "$lib/components/ui/RelatedContent.svelte";
5-
import type { RelatedContentSection } from "$lib/components/ui/RelatedContent.svelte";
6-
7-
const relatedSections: RelatedContentSection[] = [
8-
{
9-
type: "main",
10-
id: "related-main",
11-
title: "Related",
12-
links: [
13-
{ title: "Get started guide", base_path: "/get-started/" },
14-
{ title: "Browse components", base_path: "/components/" },
15-
{ title: "View patterns", base_path: "/patterns/" },
16-
{
17-
title: "About & Benefits",
18-
base_path: "/get-started/about-benefits/",
19-
},
20-
],
21-
},
22-
];
234
</script>
245

256
{#snippet ContributingSnippet()}
@@ -41,7 +22,7 @@
4122
</svelte:head>
4223

4324
<div class="govuk-grid-row">
44-
<div class="govuk-grid-column-two-thirds">
25+
<div class="govuk-grid-column-full">
4526
<h1 class="govuk-heading-xl">Community</h1>
4627

4728
<p class="govuk-body-l">
@@ -50,7 +31,6 @@
5031
patterns that help teams build better digital services.
5132
</p>
5233

53-
5434
<WarningText
5535
text="This community section is currently being developed. Some pages may not be available yet, but we're working to add comprehensive guidance and resources."
5636
/>
@@ -106,6 +86,12 @@
10686

10787
<div class="govuk-grid-row govuk-!-margin-top-6">
10888
<div class="govuk-grid-column-one-half">
89+
<img
90+
src="/assets/images/undraw_collaborators_rgw4.svg"
91+
alt="Illustration of people sharing knowledge and research findings"
92+
class="govuk-!-margin-bottom-4"
93+
style="width: 100%; max-width: 200px; height: 150px; object-fit: contain;"
94+
/>
10995
<h3 class="govuk-heading-s">Share your research</h3>
11096
<p class="govuk-body-s">
11197
Help us understand user needs by sharing research findings, usability
@@ -118,6 +104,12 @@
118104
</p>
119105
</div>
120106
<div class="govuk-grid-column-one-half">
107+
<img
108+
src="/assets/images/undraw_approved-wireframe_odf4.svg"
109+
alt="Illustration of design feedback and proposing new solutions"
110+
class="govuk-!-margin-bottom-4"
111+
style="width: 100%; max-width: 200px; height: 150px; object-fit: contain;"
112+
/>
121113
<h3 class="govuk-heading-s">Propose new solutions</h3>
122114
<p class="govuk-body-s">
123115
Suggest new components or patterns based on common problems you've
@@ -133,6 +125,12 @@
133125

134126
<div class="govuk-grid-row govuk-!-margin-top-4">
135127
<div class="govuk-grid-column-one-half">
128+
<img
129+
src="/assets/images/undraw_pull-request_zlsu.svg"
130+
alt="Illustration of pull requests and component development"
131+
class="govuk-!-margin-bottom-4"
132+
style="width: 100%; max-width: 200px; height: 150px; object-fit: contain;"
133+
/>
136134
<h3 class="govuk-heading-s">Develop components</h3>
137135
<p class="govuk-body-s">
138136
Contribute code, help with testing, or improve existing components
@@ -145,6 +143,12 @@
145143
</p>
146144
</div>
147145
<div class="govuk-grid-column-one-half">
146+
<img
147+
src="/assets/images/undraw_reviewed-docs_g0cg.svg"
148+
alt="Illustration of reviewing and improving documentation"
149+
class="govuk-!-margin-bottom-4"
150+
style="width: 100%; max-width: 200px; height: 150px; object-fit: contain;"
151+
/>
148152
<h3 class="govuk-heading-s">Improve documentation</h3>
149153
<p class="govuk-body-s">
150154
Help make our guidance clearer by suggesting improvements to
@@ -249,11 +253,5 @@
249253
> to connect with other teams using the library
250254
</li>
251255
</ol>
252-
253-
254-
</div>
255-
256-
<div class="govuk-grid-column-one-third">
257-
<RelatedContent sections={relatedSections} />
258256
</div>
259257
</div>
Lines changed: 1 addition & 0 deletions
Loading

static/assets/images/undraw_collaborators_rgw4.svg

Lines changed: 1 addition & 0 deletions
Loading
Lines changed: 1 addition & 0 deletions
Loading

0 commit comments

Comments
 (0)