Fix failing tests and lint
CI Pipeline / test (20) (pull_request) Successful in 5m31s
CI Pipeline / test (18) (pull_request) Successful in 5m49s
CI Pipeline / e2e (chromium) (pull_request) Successful in 3m6s
CI Pipeline / e2e (firefox) (pull_request) Successful in 4m15s
CI Pipeline / e2e (webkit) (pull_request) Successful in 3m33s
CI Pipeline / performance (pull_request) Successful in 2m32s
CI Pipeline / visual-regression (pull_request) Failing after 5m43s
CI Pipeline / storybook (pull_request) Successful in 1m21s
CI Pipeline / lint (pull_request) Successful in 1m6s
CI Pipeline / build (pull_request) Successful in 1m20s
CI Pipeline / test (20) (pull_request) Successful in 5m31s
CI Pipeline / test (18) (pull_request) Successful in 5m49s
CI Pipeline / e2e (chromium) (pull_request) Successful in 3m6s
CI Pipeline / e2e (firefox) (pull_request) Successful in 4m15s
CI Pipeline / e2e (webkit) (pull_request) Successful in 3m33s
CI Pipeline / performance (pull_request) Successful in 2m32s
CI Pipeline / visual-regression (pull_request) Failing after 5m43s
CI Pipeline / storybook (pull_request) Successful in 1m21s
CI Pipeline / lint (pull_request) Successful in 1m6s
CI Pipeline / build (pull_request) Successful in 1m20s
This commit is contained in:
@@ -4,6 +4,7 @@ import React from "react";
|
||||
import Image from "next/image";
|
||||
import RuleCard from "./RuleCard";
|
||||
import Button from "./Button";
|
||||
import { getAssetPath } from "../../lib/assetUtils";
|
||||
|
||||
const RuleStack = ({ className = "" }) => {
|
||||
const handleTemplateClick = (templateName) => {
|
||||
@@ -33,7 +34,7 @@ const RuleStack = ({ className = "" }) => {
|
||||
description="Units called Circles have the ability to decide and act on matters in their domains, which their members agree on through a Council."
|
||||
icon={
|
||||
<Image
|
||||
src="assets/Icon_Sociocracy.svg"
|
||||
src={getAssetPath("assets/Icon_Sociocracy.svg")}
|
||||
alt="Sociocracy"
|
||||
width={40}
|
||||
height={40}
|
||||
@@ -48,7 +49,7 @@ const RuleStack = ({ className = "" }) => {
|
||||
description="Decisions that affect the group collectively should involve participation of all participants."
|
||||
icon={
|
||||
<Image
|
||||
src="assets/Icon_Consensus.svg"
|
||||
src={getAssetPath("assets/Icon_Consensus.svg")}
|
||||
alt="Consensus"
|
||||
width={40}
|
||||
height={40}
|
||||
@@ -63,7 +64,7 @@ const RuleStack = ({ className = "" }) => {
|
||||
description="An elected board determines policies and organizes their implementation."
|
||||
icon={
|
||||
<Image
|
||||
src="assets/Icon_ElectedBoard.svg"
|
||||
src={getAssetPath("assets/Icon_ElectedBoard.svg")}
|
||||
alt="Elected Board"
|
||||
width={40}
|
||||
height={40}
|
||||
@@ -78,7 +79,7 @@ const RuleStack = ({ className = "" }) => {
|
||||
description="All participants can propose and vote on proposals for the group."
|
||||
icon={
|
||||
<Image
|
||||
src="assets/Icon_Petition.svg"
|
||||
src={getAssetPath("assets/Icon_Petition.svg")}
|
||||
alt="Petition"
|
||||
width={40}
|
||||
height={40}
|
||||
|
||||
Reference in New Issue
Block a user