Skip to content

Commit

Permalink
fix: various forgotten before
Browse files Browse the repository at this point in the history
  • Loading branch information
Illustrova committed Dec 20, 2020
1 parent a15e5f0 commit 8211c5d
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 15 deletions.
7 changes: 0 additions & 7 deletions gatsby-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,13 +62,6 @@ module.exports = {
path: `${__dirname}/content/life`,
},
},
{
resolve: `gatsby-source-filesystem`,
options: {
name: `pages`,
path: `${__dirname}/content/pages`,
},
},
{
resolve: `gatsby-source-filesystem`,
options: {
Expand Down
2 changes: 1 addition & 1 deletion scripts/generate-component/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const [name] = process.argv.slice(2);
if (!name) throw new Error("You must include a component name.");

// folder prefix to be removed
const dir = `./src/components/--${name}/`;
const dir = `./src/components/${name}/`;

// throw an error if the file already exists
if (fs.existsSync(dir))
Expand Down
8 changes: 4 additions & 4 deletions src/components/ProjectRoles/ProjectRoles.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@ class ProjectRoles extends React.Component {

const color =
{
developer: theme.global.color.accent,
designer: theme.global.color.neutral,
owner: theme.global.color["text-xxweak"],
}[this.props.role] || theme.global.color.brand;
developer: theme.global.colors.accent,
designer: theme.global.colors.neutral,
owner: theme.global.colors["text-xxweak"],
}[this.props.role] || theme.global.colors.brand;

return (
<Container color={color} side={this.props.side || "left"}>
Expand Down
6 changes: 3 additions & 3 deletions src/pages/services/workshops.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,23 +46,23 @@ const Workshops = () => (
{/* TODO: store workshop list in marksown and query for them */}
<WidgetContainer>
<Widget
slug="/workshops/design-systems-101"
slug="/design-systems/design-systems-101"
background="neutral"
align="center"
title="Design Systems 101"
height="auto"
excerpt="Introductary non-technical workshop for all the specialists (designers, developers, managers) to get common understanding on the concept of design systems and figure out the first steps towards your own."
/>
<Widget
slug="/workshops/hands-on-design-system"
slug="/design-systems/hands-on-design-system"
background="brand"
align="center"
title="Hands-on with Design Systems"
height="auto"
excerpt="Full-day workshop about building design system and pattern library (React) in multidisciplinary team. This workshop was given twice - as a part of DSConf Helsinki, and the second time on its own.Introductary non-technical workshop for all the specialists (designers, developers, managers) to get common understanding on the concept of design systems and figure out the first steps towards your own."
/>
<Widget
slug="/workshops/how-to-build"
slug="/design-systems/how-to-build"
background="accent"
align="center"
title="How to build a Design System as a team"
Expand Down

0 comments on commit 8211c5d

Please sign in to comment.