Skip to content

Commit bf4e94c

Browse files
author
Tiko
committed
fixed issue if there are more then 2 startup members in a single-case-page
1 parent 1ffea22 commit bf4e94c

File tree

3 files changed

+6
-8
lines changed

3 files changed

+6
-8
lines changed

components/src/containers/CaseTeamMembers/CaseTeamMembers.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,13 @@ const caseTeamMembersSectionResponsiveCSS = () => {
3333
return paddingBottom + paddingTop + gridColumns;
3434
};
3535

36-
const membersContainerResponsiveCSS = (count: number) => {
36+
const membersContainerResponsiveCSS = () => {
3737
const gridColumns = responsiveValuesCSS(
3838
"grid-template-columns",
3939
"",
4040
breakpointNameToPx({
4141
xs: "auto",
42-
sm: `repeat(${count}, auto)`
42+
sm: "repeat(2, auto)"
4343
})
4444
);
4545

@@ -66,7 +66,7 @@ const CaseTeamMembersContainer = styled(Container)`
6666
`;
6767

6868
const MembersContainer = styled(Container) <{ countItems: number }>`
69-
${(props) => membersContainerResponsiveCSS(props.countItems)};
69+
${membersContainerResponsiveCSS};
7070
margin: 0 auto;
7171
7272
display: grid;

website/pages/case/dearly.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ const Dearly: NextPage = () => {
2626
};
2727

2828
const intro: CaseIntroProps = {
29-
title: "Supporting you through the grieving process",
29+
title: "Making loss and grief reachable together",
3030
subtitle: "Dearly",
3131
text: "Normalise loss and grief and create more social awareness",
3232
image: {
@@ -84,7 +84,7 @@ const about: AboutProps = {
8484
};
8585

8686
const quote: CaseQuoteProps = {
87-
text: "From this project, we learned about the importance of collecting feedback and measuring how your product is being used."
87+
text: "We learned the importance of collecting feedback and measuring how your product is being used."
8888
};
8989

9090
const challenges: SummationBlockProps = {

website/pages/case/styr.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -89,9 +89,7 @@ const about: AboutProps = {
8989
};
9090

9191
const quote: CaseQuoteProps = {
92-
text: "Always appoint someone who takes the role of product owner upon him. " +
93-
"Even when working in a small team, there always has to be someone who stays in touch with the users, " +
94-
"and can advocate their needs to the rest of the team."
92+
text: "Always appoint someone who takes the role of product owner upon him. Even when working in a small team."
9593
};
9694

9795
const challenges: SummationBlockProps = {

0 commit comments

Comments
 (0)