Skip to content

Commit

Permalink
Remove "our" before "stories", "activities", and "team"
Browse files Browse the repository at this point in the history
Related to #61 and #63
  • Loading branch information
jbelien committed Dec 18, 2020
1 parent 4ddfd9e commit 35f74b5
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 25 deletions.
4 changes: 2 additions & 2 deletions content/settings/footer/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ footer_nav:
- to: /team
label: Team
- to: /activities
label: Our activities
label: Activities
- to: /stories
label: Our stories
label: Stories
attributions: >-
</> Source code available under the MIT license.
Expand Down
4 changes: 2 additions & 2 deletions content/settings/header/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ nav_items:
to: /about
- label: Team
to: /team
- label: Our activities
- label: Activities
to: /activities
- label: Our stories
- label: Stories
to: /stories
---
5 changes: 2 additions & 3 deletions src/pages/activities.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,10 @@ const Activities = ({ data }) => {
const activities = data.activities.edges;
return (
<Layout>
<SEO title="Our activities" />
<SEO title="Activities" />
<section>
<Title as="h1" css="margin-bottom: 3rem;">
Our <br />
activities
Activities
</Title>
<ActivitiesContainer>
{activities &&
Expand Down
11 changes: 2 additions & 9 deletions src/pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -216,11 +216,7 @@ export const HomeTemplate = ({ data }) => (
</Hero>
<PinnedActivites data-state="reversed">
<Heading>
<Title>
Our
<br />
activities
</Title>
<Title>Activities</Title>
<StyledLink
to={data.activities?.cta?.to}
className="underlined d-inline-block-md d-none-sm"
Expand All @@ -239,10 +235,7 @@ export const HomeTemplate = ({ data }) => (
</PinnedActivites>
<PinnedStories>
<Heading>
<Title>
Our
<br /> stories
</Title>
<Title>Stories</Title>
<StyledLink
to={data.stories?.cta?.to}
className="bold6 underlined work-sans d-inline-block-md d-none-sm"
Expand Down
7 changes: 2 additions & 5 deletions src/pages/stories.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,9 @@ const Stories = ({ data }) => {
const stories = data.stories.edges;
return (
<Layout>
<SEO title="Our stories" />
<SEO title="Stories" />
<section>
<Title as="h1">
Our <br />
stories
</Title>
<Title as="h1">Stories</Title>
<StoriesContainer>
{stories &&
stories.map(({ node: { frontmatter: { title, date }, excerpt, fields: { slug } } }) => (
Expand Down
5 changes: 1 addition & 4 deletions src/pages/team.js
Original file line number Diff line number Diff line change
Expand Up @@ -132,10 +132,7 @@ export default function Team({ data }) {
export const TeamTemplate = ({ data }) => (
<>
<Header>
<Title as="h1">
Our <br />
Team
</Title>
<Title as="h1">Team</Title>
<div className="img">
<Img image={data?.header?.featured_image.image} alt={data?.header?.featured_image.alt} />
</div>
Expand Down

0 comments on commit 35f74b5

Please sign in to comment.