Merge pull request 'Put Learn guides in reading order and replace Four Pillars with the CommunityRule guide' (#110) from adilallo/fix/CR-311-learn-copy-and-diagrams into main
Reviewed-on: #110
No files matched your search
@@ -59,6 +59,9 @@ npm-cache/
|
||||
# Workshop facilitator portraits
|
||||
!public/assets/marketing/workshops/*.png
|
||||
|
||||
# How-it-works flow screens (Figma figures)
|
||||
!public/assets/marketing/how-it-works/*.png
|
||||
|
||||
# Open Graph 1200×630 share images (`npm run generate:og-images`)
|
||||
!public/assets/marketing/og-image.png
|
||||
!public/assets/marketing/og-image-templates.png
|
||||
|
||||
@@ -0,0 +1,297 @@
|
||||
import type { ReactNode } from "react";
|
||||
import Link from "next/link";
|
||||
import Button from "../../../components/buttons/Button";
|
||||
import Rule from "../../../components/cards/Rule";
|
||||
import type { Category } from "../../../components/cards/Rule";
|
||||
import type { ChipOption } from "../../../components/controls/MultiSelect/MultiSelect.types";
|
||||
import {
|
||||
ASSETS,
|
||||
getAssetPath,
|
||||
howItWorksFigureAssetPath,
|
||||
} from "../../../../lib/assetUtils";
|
||||
import {
|
||||
asHowItWorksGuideBlock,
|
||||
formatHowItWorksByline,
|
||||
HOW_IT_WORKS_RULE_CARD_ID,
|
||||
howItWorksReadMinutes,
|
||||
howItWorksWikiMarkdown,
|
||||
type HowItWorksGuideBlock,
|
||||
} from "../../../../lib/howItWorksGuide";
|
||||
import type howItWorksPage from "../../../../messages/en/pages/howItWorks.json";
|
||||
import HowItWorksShareRow from "./HowItWorksShareRow";
|
||||
|
||||
type HowItWorksMessages = typeof howItWorksPage;
|
||||
|
||||
const INLINE_LINK = /\[([^\]]+)\]\(([^)]+)\)/g;
|
||||
const LINK_CLASS = "underline decoration-solid underline-offset-2";
|
||||
const ARTICLE_COLUMN_CLASS =
|
||||
"mx-auto flex w-full flex-col gap-[var(--space-800)] text-[var(--color-content-default-primary)] text-medium-paragraph sm:max-w-[390px] sm:text-large-paragraph md:max-w-[472px] lg:max-w-[700px] lg:text-x-large-paragraph xl:max-w-none xl:text-xx-large-paragraph";
|
||||
|
||||
function isSafeHref(href: string): boolean {
|
||||
return (
|
||||
href.startsWith("#") ||
|
||||
(href.startsWith("/") && !href.startsWith("//")) ||
|
||||
href.startsWith("https://") ||
|
||||
href.startsWith("http://") ||
|
||||
href.startsWith("mailto:")
|
||||
);
|
||||
}
|
||||
|
||||
function GuideInlineText({ text }: { text: string }) {
|
||||
const nodes: ReactNode[] = [];
|
||||
let lastIndex = 0;
|
||||
let key = 0;
|
||||
|
||||
for (const match of text.matchAll(INLINE_LINK)) {
|
||||
const matchIndex = match.index ?? 0;
|
||||
if (matchIndex > lastIndex) {
|
||||
nodes.push(text.slice(lastIndex, matchIndex));
|
||||
}
|
||||
|
||||
const label = match[1];
|
||||
const href = match[2];
|
||||
if (isSafeHref(href)) {
|
||||
const isInternal = href.startsWith("/") && !href.startsWith("//");
|
||||
nodes.push(
|
||||
isInternal ? (
|
||||
<Link key={key} href={href} className={LINK_CLASS}>
|
||||
{label}
|
||||
</Link>
|
||||
) : (
|
||||
<a key={key} href={href} className={LINK_CLASS}>
|
||||
{label}
|
||||
</a>
|
||||
),
|
||||
);
|
||||
key += 1;
|
||||
} else {
|
||||
nodes.push(label);
|
||||
}
|
||||
|
||||
lastIndex = matchIndex + match[0].length;
|
||||
}
|
||||
|
||||
if (lastIndex < text.length) {
|
||||
nodes.push(text.slice(lastIndex));
|
||||
}
|
||||
|
||||
return nodes;
|
||||
}
|
||||
|
||||
function chipsFromLabels(labels: string[]): ChipOption[] {
|
||||
return labels.map((label) => ({
|
||||
id: label.toLowerCase().replace(/[^a-z0-9]+/g, "-"),
|
||||
label,
|
||||
state: "unselected" as const,
|
||||
}));
|
||||
}
|
||||
|
||||
function teamRuleCategories(
|
||||
groups: HowItWorksMessages["teamRule"]["categories"],
|
||||
): Category[] {
|
||||
return [
|
||||
groups.values,
|
||||
groups.communication,
|
||||
groups.membership,
|
||||
groups.decisionMaking,
|
||||
groups.conflictManagement,
|
||||
].map((group) => ({
|
||||
name: group.name,
|
||||
chipOptions: chipsFromLabels(group.chips),
|
||||
}));
|
||||
}
|
||||
|
||||
function GuideParagraph({
|
||||
lead,
|
||||
text,
|
||||
}: {
|
||||
lead?: string;
|
||||
text: string;
|
||||
}) {
|
||||
return (
|
||||
<p>
|
||||
{lead ? <strong>{lead} </strong> : null}
|
||||
<GuideInlineText text={text} />
|
||||
</p>
|
||||
);
|
||||
}
|
||||
|
||||
function FlowFigure({
|
||||
src,
|
||||
caption,
|
||||
}: {
|
||||
src: string;
|
||||
caption: string;
|
||||
}) {
|
||||
return (
|
||||
<figure className="flex w-full flex-col gap-[var(--space-300)]">
|
||||
<div className="overflow-clip rounded-[var(--radius-400)] border border-[color-mix(in_srgb,var(--color-content-default-primary)_30%,transparent)]">
|
||||
{/* eslint-disable-next-line @next/next/no-img-element -- flow screen from Figma; one-sentence caption is the accessible name */}
|
||||
<img
|
||||
src={getAssetPath(howItWorksFigureAssetPath(src))}
|
||||
alt=""
|
||||
width={700}
|
||||
height={438}
|
||||
className="h-auto w-full"
|
||||
/>
|
||||
</div>
|
||||
<figcaption className="text-small-paragraph sm:text-medium-paragraph lg:text-large-paragraph">
|
||||
{caption}
|
||||
</figcaption>
|
||||
</figure>
|
||||
);
|
||||
}
|
||||
|
||||
function TeamRuleFigure({
|
||||
page,
|
||||
}: {
|
||||
page: HowItWorksMessages;
|
||||
}) {
|
||||
const { teamRule } = page;
|
||||
return (
|
||||
<figure
|
||||
id={HOW_IT_WORKS_RULE_CARD_ID}
|
||||
className="flex w-full flex-col gap-[var(--space-300)]"
|
||||
>
|
||||
<div className="flex justify-center overflow-clip rounded-[var(--radius-400)] border border-[color-mix(in_srgb,var(--color-content-default-primary)_30%,transparent)] px-[var(--space-400)] py-[var(--space-600)]">
|
||||
<Rule
|
||||
title={teamRule.title}
|
||||
description={teamRule.description}
|
||||
expanded
|
||||
size="L"
|
||||
fluidWidth
|
||||
interactive={false}
|
||||
hideCategoryAddButton
|
||||
descriptionAtBottom
|
||||
backgroundColor="bg-[var(--color-surface-invert-brand-primary)]"
|
||||
className="w-full max-w-[400px]"
|
||||
categories={teamRuleCategories(teamRule.categories)}
|
||||
icon={
|
||||
// eslint-disable-next-line @next/next/no-img-element -- decorative brand mark beside the title
|
||||
<img
|
||||
src={getAssetPath(ASSETS.LOGO)}
|
||||
alt=""
|
||||
width={88}
|
||||
height={88}
|
||||
className="size-full object-contain brightness-0"
|
||||
role="presentation"
|
||||
/>
|
||||
}
|
||||
/>
|
||||
</div>
|
||||
<figcaption className="text-small-paragraph sm:text-medium-paragraph lg:text-large-paragraph">
|
||||
{teamRule.caption}
|
||||
</figcaption>
|
||||
</figure>
|
||||
);
|
||||
}
|
||||
|
||||
function GuideBlockView({
|
||||
block,
|
||||
page,
|
||||
shareUrl,
|
||||
}: {
|
||||
block: HowItWorksGuideBlock;
|
||||
page: HowItWorksMessages;
|
||||
shareUrl: string;
|
||||
}) {
|
||||
if (block.type === "p") {
|
||||
return <GuideParagraph lead={block.lead} text={block.text} />;
|
||||
}
|
||||
if (block.type === "figure") {
|
||||
return <FlowFigure src={block.src} caption={block.caption} />;
|
||||
}
|
||||
if (block.type === "ruleFigure") {
|
||||
return <TeamRuleFigure page={page} />;
|
||||
}
|
||||
if (block.type === "shareRow") {
|
||||
const wikiMarkdown = howItWorksWikiMarkdown(
|
||||
page.banner.title,
|
||||
page.banner.description,
|
||||
shareUrl,
|
||||
);
|
||||
const mailtoHref = `mailto:?subject=${encodeURIComponent(page.banner.title)}&body=${encodeURIComponent(`${page.banner.title}\n${shareUrl}`)}`;
|
||||
return (
|
||||
<HowItWorksShareRow
|
||||
sendLabel={page.share.send}
|
||||
copyLabel={page.share.copyWiki}
|
||||
printLabel={page.share.print}
|
||||
copiedTitle={page.share.copiedTitle}
|
||||
copyFailedTitle={page.share.copyFailedTitle}
|
||||
mailtoHref={mailtoHref}
|
||||
wikiMarkdown={wikiMarkdown}
|
||||
/>
|
||||
);
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
export default function HowItWorksGuideBody({
|
||||
page,
|
||||
shareUrl,
|
||||
}: {
|
||||
page: HowItWorksMessages;
|
||||
shareUrl: string;
|
||||
}) {
|
||||
const minutes = howItWorksReadMinutes(page);
|
||||
const byline = formatHowItWorksByline(page, minutes);
|
||||
|
||||
return (
|
||||
<div className={ARTICLE_COLUMN_CLASS}>
|
||||
<p>
|
||||
{byline}
|
||||
<a href="#before-you-start" className={LINK_CLASS}>
|
||||
{page.byline.beforeYouStart}
|
||||
</a>
|
||||
</p>
|
||||
|
||||
{page.sections.map((section) => {
|
||||
const blocks = section.blocks.flatMap((block) => {
|
||||
const guideBlock = asHowItWorksGuideBlock(block);
|
||||
return guideBlock ? [guideBlock] : [];
|
||||
});
|
||||
const hasCopy = blocks.some((block) => block.type !== "shareRow");
|
||||
return (
|
||||
<section
|
||||
key={section.id}
|
||||
id={section.id}
|
||||
className="flex w-full flex-col gap-[var(--space-600)]"
|
||||
>
|
||||
{hasCopy ? (
|
||||
<h2 className="font-bricolage-grotesque text-large-heading">
|
||||
{section.heading}
|
||||
</h2>
|
||||
) : null}
|
||||
{blocks.map((block, index) => (
|
||||
<GuideBlockView
|
||||
key={`${section.id}-${index}`}
|
||||
block={block}
|
||||
page={page}
|
||||
shareUrl={shareUrl}
|
||||
/>
|
||||
))}
|
||||
</section>
|
||||
);
|
||||
})}
|
||||
|
||||
<div className="flex flex-wrap items-start gap-[var(--space-400)]">
|
||||
<Button
|
||||
buttonType="filled"
|
||||
palette="default"
|
||||
size="medium"
|
||||
href={page.closing.createRuleHref}
|
||||
>
|
||||
{page.closing.createRule}
|
||||
</Button>
|
||||
<Button
|
||||
buttonType="outline"
|
||||
palette="default"
|
||||
size="medium"
|
||||
href={page.closing.downloadKitHref}
|
||||
>
|
||||
{page.closing.downloadKit}
|
||||
</Button>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
@@ -0,0 +1,109 @@
|
||||
"use client";
|
||||
|
||||
import { useCallback, useState } from "react";
|
||||
import Alert from "../../../components/modals/Alert";
|
||||
import Button from "../../../components/buttons/Button";
|
||||
import { HOW_IT_WORKS_RULE_CARD_ID } from "../../../../lib/howItWorksGuide";
|
||||
|
||||
const CARD_PRINT_STYLE_ID = "how-it-works-card-print";
|
||||
|
||||
function installCardPrintStyle(): () => void {
|
||||
document.getElementById(CARD_PRINT_STYLE_ID)?.remove();
|
||||
const style = document.createElement("style");
|
||||
style.id = CARD_PRINT_STYLE_ID;
|
||||
style.textContent = `@media print {
|
||||
body * { visibility: hidden; }
|
||||
#${HOW_IT_WORKS_RULE_CARD_ID},
|
||||
#${HOW_IT_WORKS_RULE_CARD_ID} * { visibility: visible; }
|
||||
#${HOW_IT_WORKS_RULE_CARD_ID} {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 0;
|
||||
width: 100%;
|
||||
}
|
||||
}`;
|
||||
document.head.appendChild(style);
|
||||
return () => style.remove();
|
||||
}
|
||||
|
||||
type HowItWorksShareRowProps = {
|
||||
sendLabel: string;
|
||||
copyLabel: string;
|
||||
printLabel: string;
|
||||
copiedTitle: string;
|
||||
copyFailedTitle: string;
|
||||
mailtoHref: string;
|
||||
wikiMarkdown: string;
|
||||
};
|
||||
|
||||
export default function HowItWorksShareRow({
|
||||
sendLabel,
|
||||
copyLabel,
|
||||
printLabel,
|
||||
copiedTitle,
|
||||
copyFailedTitle,
|
||||
mailtoHref,
|
||||
wikiMarkdown,
|
||||
}: HowItWorksShareRowProps) {
|
||||
const [status, setStatus] = useState<"idle" | "copied" | "failed">("idle");
|
||||
|
||||
const handleCopy = useCallback(async () => {
|
||||
try {
|
||||
await navigator.clipboard.writeText(wikiMarkdown);
|
||||
setStatus("copied");
|
||||
} catch {
|
||||
setStatus("failed");
|
||||
}
|
||||
}, [wikiMarkdown]);
|
||||
|
||||
const handlePrint = useCallback(() => {
|
||||
const removeStyle = installCardPrintStyle();
|
||||
const cleanup = () => {
|
||||
removeStyle();
|
||||
window.removeEventListener("afterprint", cleanup);
|
||||
};
|
||||
window.addEventListener("afterprint", cleanup);
|
||||
window.print();
|
||||
}, []);
|
||||
|
||||
return (
|
||||
<div className="flex w-full flex-col gap-[var(--space-400)]">
|
||||
<div className="flex flex-wrap items-start gap-[var(--space-300)]">
|
||||
<Button
|
||||
buttonType="outline"
|
||||
palette="default"
|
||||
size="small"
|
||||
href={mailtoHref}
|
||||
>
|
||||
{sendLabel}
|
||||
</Button>
|
||||
<Button
|
||||
buttonType="outline"
|
||||
palette="default"
|
||||
size="small"
|
||||
onClick={handleCopy}
|
||||
>
|
||||
{copyLabel}
|
||||
</Button>
|
||||
<Button
|
||||
buttonType="outline"
|
||||
palette="default"
|
||||
size="small"
|
||||
onClick={handlePrint}
|
||||
>
|
||||
{printLabel}
|
||||
</Button>
|
||||
</div>
|
||||
{status !== "idle" ? (
|
||||
<Alert
|
||||
type="banner"
|
||||
status={status === "copied" ? "positive" : "danger"}
|
||||
size="s"
|
||||
title={status === "copied" ? copiedTitle : copyFailedTitle}
|
||||
hasBodyText={false}
|
||||
onClose={() => setStatus("idle")}
|
||||
/>
|
||||
) : null}
|
||||
</div>
|
||||
);
|
||||
}
|
||||
@@ -5,7 +5,7 @@
|
||||
import type { Metadata } from "next";
|
||||
import dynamic from "next/dynamic";
|
||||
import messages from "../../../messages/en/index";
|
||||
import { getAllBlogPosts } from "../../../lib/content";
|
||||
import { getRelatedBlogPosts } from "../../../lib/content";
|
||||
import {
|
||||
buildHowItWorksSyntheticPost,
|
||||
HOW_IT_WORKS_SENTINEL_SLUG,
|
||||
@@ -15,6 +15,7 @@ import { absoluteSiteUrl, routeMetadata } from "../../../lib/siteMetadata";
|
||||
import ContentBanner from "../../components/sections/ContentBanner";
|
||||
import ContentTemplateDecorativeShapes from "../_components/ContentTemplateDecorativeShapes";
|
||||
import AskOrganizer from "../../components/sections/AskOrganizer";
|
||||
import HowItWorksGuideBody from "./_components/HowItWorksGuideBody";
|
||||
import "../blog/blog.css";
|
||||
|
||||
const RelatedArticles = dynamic(
|
||||
@@ -48,10 +49,14 @@ export default async function HowItWorksPage() {
|
||||
const origin = await getRequestSiteOrigin();
|
||||
const page = messages.pages.howItWorks;
|
||||
const syntheticPost = buildHowItWorksSyntheticPost(page);
|
||||
const shareUrl = absoluteSiteUrl("/how-it-works", origin);
|
||||
|
||||
const allPosts = getAllBlogPosts();
|
||||
const relatedPosts = allPosts.slice(0, 8);
|
||||
const slugOrder = allPosts.map((post) => post.slug);
|
||||
const relatedPosts = getRelatedBlogPosts(
|
||||
HOW_IT_WORKS_SENTINEL_SLUG,
|
||||
page.relatedSlugs,
|
||||
3,
|
||||
);
|
||||
const slugOrder = page.relatedSlugs;
|
||||
|
||||
const askOrganizerData = {
|
||||
title: messages.pages.home.askOrganizer.title,
|
||||
@@ -64,7 +69,7 @@ export default async function HowItWorksPage() {
|
||||
"@type": "WebPage",
|
||||
name: page.banner.title,
|
||||
description: messages.metadata.howItWorks.description,
|
||||
url: absoluteSiteUrl("/how-it-works", origin),
|
||||
url: shareUrl,
|
||||
publisher: {
|
||||
"@type": "Organization",
|
||||
name: "CommunityRule",
|
||||
@@ -86,7 +91,7 @@ export default async function HowItWorksPage() {
|
||||
"@type": "ListItem",
|
||||
position: 2,
|
||||
name: page.banner.title,
|
||||
item: absoluteSiteUrl("/how-it-works", origin),
|
||||
item: shareUrl,
|
||||
},
|
||||
],
|
||||
};
|
||||
@@ -113,10 +118,7 @@ export default async function HowItWorksPage() {
|
||||
<ContentTemplateDecorativeShapes variant="guide" />
|
||||
|
||||
<article className="relative z-10 p-[var(--space-600)] sm:py-[var(--space-800)] xl:px-[calc(268/1440*100%)]">
|
||||
<div
|
||||
className="post-body text-[var(--color-content-default-primary)] text-medium-paragraph sm:text-large-paragraph lg:text-x-large-paragraph xl:text-xx-large-paragraph sm:mx-auto sm:max-w-[390px] md:max-w-[472px] lg:max-w-[700px] xl:max-w-none"
|
||||
dangerouslySetInnerHTML={{ __html: syntheticPost.htmlContent }}
|
||||
/>
|
||||
<HowItWorksGuideBody page={page} shareUrl={shareUrl} />
|
||||
</article>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -0,0 +1,159 @@
|
||||
"use client";
|
||||
|
||||
/**
|
||||
* Figma: "Asset / Diagram Glyph" (25359:65776)
|
||||
*/
|
||||
|
||||
import Image from "next/image";
|
||||
import { memo } from "react";
|
||||
import AdviceGlyph from "./advice.svg";
|
||||
import AuthorityGlyph from "./authority.svg";
|
||||
import ConflictGlyph from "./conflict.svg";
|
||||
import ConsensusGlyph from "./consensus.svg";
|
||||
import DiscussionGlyph from "./discussion.svg";
|
||||
import GroupGlyph from "./group.svg";
|
||||
import LadderGlyph from "./ladder.svg";
|
||||
import MembraneGlyph from "./membrane.svg";
|
||||
import MoneyGlyph from "./money.svg";
|
||||
import PersonGlyph from "./person.svg";
|
||||
import PodGlyph from "./pod.svg";
|
||||
import PrivacyGlyph from "./privacy.svg";
|
||||
import RecordsGlyph from "./records.svg";
|
||||
import RotationGlyph from "./rotation.svg";
|
||||
import SortitionGlyph from "./sortition.svg";
|
||||
import TermGlyph from "./term.svg";
|
||||
import VoteGlyph from "./vote.svg";
|
||||
|
||||
export const DIAGRAM_GLYPH_OPTIONS = [
|
||||
"group",
|
||||
"pod",
|
||||
"membrane",
|
||||
"person",
|
||||
"authority",
|
||||
"advice",
|
||||
"rotation",
|
||||
"ladder",
|
||||
"conflict",
|
||||
"consensus",
|
||||
"vote",
|
||||
"sortition",
|
||||
"term",
|
||||
"discussion",
|
||||
"records",
|
||||
"privacy",
|
||||
"money",
|
||||
] as const;
|
||||
|
||||
export type DiagramGlyphName = (typeof DIAGRAM_GLYPH_OPTIONS)[number];
|
||||
|
||||
export const DIAGRAM_GLYPH_SIZE_OPTIONS = [24, 48] as const;
|
||||
export type DiagramGlyphSize = (typeof DIAGRAM_GLYPH_SIZE_OPTIONS)[number];
|
||||
|
||||
type SvgComponent =
|
||||
| React.ComponentType<React.SVGProps<SVGSVGElement>>
|
||||
| { default: React.ComponentType<React.SVGProps<SVGSVGElement>> };
|
||||
|
||||
const glyphMap: Record<DiagramGlyphName, SvgComponent> = {
|
||||
group: GroupGlyph,
|
||||
pod: PodGlyph,
|
||||
membrane: MembraneGlyph,
|
||||
person: PersonGlyph,
|
||||
authority: AuthorityGlyph,
|
||||
advice: AdviceGlyph,
|
||||
rotation: RotationGlyph,
|
||||
ladder: LadderGlyph,
|
||||
conflict: ConflictGlyph,
|
||||
consensus: ConsensusGlyph,
|
||||
vote: VoteGlyph,
|
||||
sortition: SortitionGlyph,
|
||||
term: TermGlyph,
|
||||
discussion: DiscussionGlyph,
|
||||
records: RecordsGlyph,
|
||||
privacy: PrivacyGlyph,
|
||||
money: MoneyGlyph,
|
||||
};
|
||||
|
||||
function resolveSvgComponent(module: SvgComponent) {
|
||||
if (typeof module === "object" && module !== null && "default" in module) {
|
||||
return (
|
||||
module as {
|
||||
default: React.ComponentType<React.SVGProps<SVGSVGElement>>;
|
||||
}
|
||||
).default;
|
||||
}
|
||||
return module as React.ComponentType<React.SVGProps<SVGSVGElement>>;
|
||||
}
|
||||
|
||||
export interface DiagramGlyphProps {
|
||||
glyph: DiagramGlyphName;
|
||||
className?: string;
|
||||
/** Width and height. Figma grid is 48; diagrams also use 24. */
|
||||
size?: DiagramGlyphSize | number;
|
||||
/**
|
||||
* Accessible name when the glyph sits in a diagram. Omit for a decorative
|
||||
* mark (empty alt / `aria-hidden`).
|
||||
*/
|
||||
title?: string;
|
||||
/** Follows `title` when the glyph is named in a diagram. */
|
||||
description?: string;
|
||||
}
|
||||
|
||||
function DiagramGlyphComponent({
|
||||
glyph,
|
||||
className = "",
|
||||
size = 48,
|
||||
title,
|
||||
description,
|
||||
}: DiagramGlyphProps) {
|
||||
const SvgModule = glyphMap[glyph];
|
||||
if (!SvgModule) return null;
|
||||
const resolved = resolveSvgComponent(SvgModule);
|
||||
const decorative = !title;
|
||||
const label = [title, description].filter(Boolean).join(". ");
|
||||
|
||||
if (typeof resolved === "string") {
|
||||
return (
|
||||
<Image
|
||||
src={resolved}
|
||||
width={size}
|
||||
height={size}
|
||||
className={className}
|
||||
alt={decorative ? "" : label}
|
||||
unoptimized
|
||||
aria-hidden={decorative || undefined}
|
||||
/>
|
||||
);
|
||||
}
|
||||
|
||||
if (resolved == null) return null;
|
||||
|
||||
const Svg = resolved as React.ComponentType<React.SVGProps<SVGSVGElement>>;
|
||||
|
||||
if (decorative) {
|
||||
return (
|
||||
<Svg
|
||||
width={size}
|
||||
height={size}
|
||||
className={className}
|
||||
aria-hidden
|
||||
data-figma-node="25359:65776"
|
||||
/>
|
||||
);
|
||||
}
|
||||
|
||||
return (
|
||||
<span
|
||||
role="img"
|
||||
aria-label={label}
|
||||
className={`inline-flex ${className}`.trim()}
|
||||
data-figma-node="25359:65776"
|
||||
>
|
||||
<Svg width={size} height={size} aria-hidden />
|
||||
</span>
|
||||
);
|
||||
}
|
||||
|
||||
const DiagramGlyph = memo(DiagramGlyphComponent);
|
||||
DiagramGlyph.displayName = "DiagramGlyph";
|
||||
|
||||
export default DiagramGlyph;
|
||||
@@ -0,0 +1,14 @@
|
||||
<svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<g id="Shape" clip-path="url(#clip-advice)">
|
||||
<path id="Vector" d="M24 45.8C36.0398 45.8 45.8 36.0398 45.8 24C45.8 11.9602 36.0398 2.2 24 2.2C11.9602 2.2 2.2 11.9602 2.2 24C2.2 36.0398 11.9602 45.8 24 45.8Z" stroke="currentColor" stroke-opacity="0.5" stroke-width="4.4"/>
|
||||
<path id="Vector_2" d="M12.5 26.2C13.715 26.2 14.7 25.215 14.7 24C14.7 22.785 13.715 21.8 12.5 21.8C11.285 21.8 10.3 22.785 10.3 24C10.3 25.215 11.285 26.2 12.5 26.2Z" fill="currentColor"/>
|
||||
<path id="Vector_3" d="M19 26.2C20.215 26.2 21.2 25.215 21.2 24C21.2 22.785 20.215 21.8 19 21.8C17.785 21.8 16.8 22.785 16.8 24C16.8 25.215 17.785 26.2 19 26.2Z" fill="currentColor"/>
|
||||
<path id="Vector_4" d="M25.5 26.2C26.715 26.2 27.7 25.215 27.7 24C27.7 22.785 26.715 21.8 25.5 21.8C24.285 21.8 23.3 22.785 23.3 24C23.3 25.215 24.285 26.2 25.5 26.2Z" fill="currentColor"/>
|
||||
<path id="Vector_5" d="M27 16.5L34.5 24L27 31.5" stroke="currentColor" stroke-width="4.4" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip-advice">
|
||||
<rect width="48" height="48" fill="currentColor"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.2 KiB |
@@ -0,0 +1,11 @@
|
||||
<svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<g id="Shape" clip-path="url(#clip-authority)">
|
||||
<path id="Vector" d="M24 45.8C36.0398 45.8 45.8 36.0398 45.8 24C45.8 11.9602 36.0398 2.2 24 2.2C11.9602 2.2 2.2 11.9602 2.2 24C2.2 36.0398 11.9602 45.8 24 45.8Z" stroke="currentColor" stroke-opacity="0.5" stroke-width="4.4"/>
|
||||
<path id="Vector_2" d="M12.5 24H34M27 16.5L34.5 24L27 31.5" stroke="currentColor" stroke-width="4.4" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip-authority">
|
||||
<rect width="48" height="48" fill="currentColor"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 641 B |
@@ -0,0 +1,11 @@
|
||||
<svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<g id="Shape" clip-path="url(#clip-conflict)">
|
||||
<path id="Vector" d="M24 45.8C36.0398 45.8 45.8 36.0398 45.8 24C45.8 11.9602 36.0398 2.2 24 2.2C11.9602 2.2 2.2 11.9602 2.2 24C2.2 36.0398 11.9602 45.8 24 45.8Z" stroke="currentColor" stroke-opacity="0.5" stroke-width="4.4"/>
|
||||
<path id="Vector_2" d="M27.5 10.5L18 25H30L20.5 37.5" stroke="currentColor" stroke-width="4.4" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip-conflict">
|
||||
<rect width="48" height="48" fill="currentColor"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 633 B |
@@ -0,0 +1,16 @@
|
||||
<svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<g id="Shape">
|
||||
<path id="Vector" d="M45.8 24H43.6C43.6 34.8 34.8 43.6 24 43.6V45.8V48C37.3 48 48 37.3 48 24H45.8ZM24 45.8V43.6C13.2 43.6 4.4 34.8 4.4 24H2.2H0C0 37.3 10.7 48 24 48V45.8ZM2.2 24H4.4C4.4 13.2 13.2 4.4 24 4.4V2.2V0C10.7 0 0 10.7 0 24H2.2ZM24 2.2V4.4C34.8 4.4 43.6 13.2 43.6 24H45.8H48C48 10.7 37.3 0 24 0V2.2Z" fill="currentColor" fill-opacity="0.5"/>
|
||||
<path id="Vector_2" d="M37.1 24H34.9C34.9 30 30 34.9 24 34.9V37.1V39.3C32.4 39.3 39.3 32.4 39.3 24H37.1ZM24 37.1V34.9C18 34.9 13.1 30 13.1 24H10.9H8.7C8.7 32.4 15.6 39.3 24 39.3V37.1ZM10.9 24H13.1C13.1 18 18 13.1 24 13.1V10.9V8.7C15.6 8.7 8.7 15.6 8.7 24H10.9ZM24 10.9V13.1C30 13.1 34.9 18 34.9 24H37.1H39.3C39.3 15.6 32.4 8.7 24 8.7V10.9Z" fill="currentColor"/>
|
||||
<path id="Vector_3" d="M24 10.9H15.8V37.1H24H32.2V10.9H24Z" fill="currentColor"/>
|
||||
<path id="Vector_4" d="M10.9 24V32.2H37.1V24V15.8H10.9V24Z" fill="currentColor"/>
|
||||
<path id="Vector_5" d="M24 17.5C25.2 17.5 26.2 16.5 26.2 15.3C26.2 14.1 25.2 13.1 24 13.1C22.8 13.1 21.8 14.1 21.8 15.3C21.8 16.5 22.8 17.5 24 17.5Z" fill="currentColor"/>
|
||||
<path id="Vector_6" d="M26.2 15.3H24V17.5V19.6C26.4 19.6 28.4 17.7 28.4 15.3H26.2ZM24 17.5V15.3H21.8H19.6C19.6 17.7 21.6 19.6 24 19.6V17.5ZM21.8 15.3H24V13.1V10.9C21.6 10.9 19.6 12.9 19.6 15.3H21.8ZM24 13.1V15.3H26.2H28.4C28.4 12.9 26.4 10.9 24 10.9V13.1Z" fill="currentColor"/>
|
||||
<path id="Vector_7" d="M24 34.9C25.2 34.9 26.2 33.9 26.2 32.7C26.2 31.5 25.2 30.5 24 30.5C22.8 30.5 21.8 31.5 21.8 32.7C21.8 33.9 22.8 34.9 24 34.9Z" fill="currentColor"/>
|
||||
<path id="Vector_8" d="M26.2 32.7H24V34.9V37.1C26.4 37.1 28.4 35.1 28.4 32.7H26.2ZM24 34.9V32.7H21.8H19.6C19.6 35.1 21.6 37.1 24 37.1V34.9ZM21.8 32.7H24V30.5V28.4C21.6 28.4 19.6 30.3 19.6 32.7H21.8ZM24 30.5V32.7H26.2H28.4C28.4 30.3 26.4 28.4 24 28.4V30.5Z" fill="currentColor"/>
|
||||
<path id="Vector_9" d="M15.3 26.2C16.5 26.2 17.5 25.2 17.5 24C17.5 22.8 16.5 21.8 15.3 21.8C14.1 21.8 13.1 22.8 13.1 24C13.1 25.2 14.1 26.2 15.3 26.2Z" fill="currentColor"/>
|
||||
<path id="Vector_10" d="M17.5 24H15.3V26.2V28.4C17.7 28.4 19.6 26.4 19.6 24H17.5ZM15.3 26.2V24H13.1H10.9C10.9 26.4 12.9 28.4 15.3 28.4V26.2ZM13.1 24H15.3V21.8V19.6C12.9 19.6 10.9 21.6 10.9 24H13.1ZM15.3 21.8V24H17.5H19.6C19.6 21.6 17.7 19.6 15.3 19.6V21.8Z" fill="currentColor"/>
|
||||
<path id="Vector_11" d="M32.7 26.2C33.9 26.2 34.9 25.2 34.9 24C34.9 22.8 33.9 21.8 32.7 21.8C31.5 21.8 30.5 22.8 30.5 24C30.5 25.2 31.5 26.2 32.7 26.2Z" fill="currentColor"/>
|
||||
<path id="Vector_12" d="M34.9 24H32.7V26.2V28.4C35.1 28.4 37.1 26.4 37.1 24H34.9ZM32.7 26.2V24H30.5H28.4C28.4 26.4 30.3 28.4 32.7 28.4V26.2ZM30.5 24H32.7V21.8V19.6C30.3 19.6 28.4 21.6 28.4 24H30.5ZM32.7 21.8V24H34.9H37.1C37.1 21.6 35.1 19.6 32.7 19.6V21.8Z" fill="currentColor"/>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 2.7 KiB |
@@ -0,0 +1,13 @@
|
||||
<svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<g id="Shape" clip-path="url(#clip-discussion)">
|
||||
<path id="Vector" d="M24 45.8C36.0398 45.8 45.8 36.0398 45.8 24C45.8 11.9602 36.0398 2.2 24 2.2C11.9602 2.2 2.2 11.9602 2.2 24C2.2 36.0398 11.9602 45.8 24 45.8Z" stroke="currentColor" stroke-opacity="0.5" stroke-width="4.4"/>
|
||||
<path id="Vector_2" d="M17.5 13.5H30.5C33.5 13.5 35.5 15.5 35.5 18.5V24.5C35.5 27.5 33.5 29.5 30.5 29.5H22L16 35V29.5C14 29 12.5 27 12.5 24.5V18.5C12.5 15.5 14.5 13.5 17.5 13.5Z" stroke="currentColor" stroke-width="4.4" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
<path id="Vector_3" d="M19.5 23.7C20.715 23.7 21.7 22.715 21.7 21.5C21.7 20.285 20.715 19.3 19.5 19.3C18.285 19.3 17.3 20.285 17.3 21.5C17.3 22.715 18.285 23.7 19.5 23.7Z" fill="currentColor"/>
|
||||
<path id="Vector_4" d="M28.5 23.7C29.715 23.7 30.7 22.715 30.7 21.5C30.7 20.285 29.715 19.3 28.5 19.3C27.285 19.3 26.3 20.285 26.3 21.5C26.3 22.715 27.285 23.7 28.5 23.7Z" fill="currentColor"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip-discussion">
|
||||
<rect width="48" height="48" fill="currentColor"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.1 KiB |
@@ -0,0 +1,11 @@
|
||||
<svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<g id="Shape" clip-path="url(#clip-group)">
|
||||
<path id="Vector" d="M24 45.8C36.0398 45.8 45.8 36.0398 45.8 24C45.8 11.9602 36.0398 2.2 24 2.2C11.9602 2.2 2.2 11.9602 2.2 24C2.2 36.0398 11.9602 45.8 24 45.8Z" stroke="currentColor" stroke-opacity="0.5" stroke-width="4.4"/>
|
||||
<path id="Vector_2" d="M24 35C30.0751 35 35 30.0751 35 24C35 17.9249 30.0751 13 24 13C17.9249 13 13 17.9249 13 24C13 30.0751 17.9249 35 24 35Z" stroke="currentColor" stroke-width="4.4" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip-group">
|
||||
<rect width="48" height="48" fill="currentColor"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 717 B |
@@ -0,0 +1,10 @@
|
||||
export { default } from "./DiagramGlyph";
|
||||
export {
|
||||
DIAGRAM_GLYPH_OPTIONS,
|
||||
DIAGRAM_GLYPH_SIZE_OPTIONS,
|
||||
} from "./DiagramGlyph";
|
||||
export type {
|
||||
DiagramGlyphName,
|
||||
DiagramGlyphProps,
|
||||
DiagramGlyphSize,
|
||||
} from "./DiagramGlyph";
|
||||
@@ -0,0 +1,11 @@
|
||||
<svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<g id="Shape" clip-path="url(#clip-ladder)">
|
||||
<path id="Vector" d="M24 45.8C36.0398 45.8 45.8 36.0398 45.8 24C45.8 11.9602 36.0398 2.2 24 2.2C11.9602 2.2 2.2 11.9602 2.2 24C2.2 36.0398 11.9602 45.8 24 45.8Z" stroke="currentColor" stroke-opacity="0.5" stroke-width="4.4"/>
|
||||
<path id="Vector_2" d="M18 12V36M30 12V36M18 18H30M18 24H30M18 30H30" stroke="currentColor" stroke-width="3.3" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip-ladder">
|
||||
<rect width="48" height="48" fill="currentColor"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 645 B |
@@ -0,0 +1,8 @@
|
||||
<svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<g id="Shape">
|
||||
<path id="Vector" d="M24 45.8C36.0398 45.8 45.8 36.0398 45.8 24C45.8 11.9602 36.0398 2.2 24 2.2C11.9602 2.2 2.2 11.9602 2.2 24C2.2 36.0398 11.9602 45.8 24 45.8Z" stroke="currentColor" stroke-opacity="0.5" stroke-width="4.4"/>
|
||||
<path id="Vector_2" d="M34.46 27.4C33.9826 28.8659 33.2024 30.2151 32.17 31.36M26.29 34.76C24.7802 35.0813 23.2198 35.0813 21.71 34.76M15.83 31.36C14.7976 30.2151 14.0174 28.8659 13.54 27.4M13.54 20.6C14.0174 19.1341 14.7976 17.7849 15.83 16.64M21.71 13.24C23.2198 12.9187 24.7802 12.9187 26.29 13.24M32.17 16.64C33.2024 17.7849 33.9826 19.1341 34.46 20.6" stroke="currentColor" stroke-width="4.4" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
<path id="Vector_3" d="M24 27.6C25.9882 27.6 27.6 25.9882 27.6 24C27.6 22.0118 25.9882 20.4 24 20.4C22.0118 20.4 20.4 22.0118 20.4 24C20.4 25.9882 22.0118 27.6 24 27.6Z" fill="currentColor"/>
|
||||
<path id="Vector_4" d="M36.2 26.6C37.6359 26.6 38.8 25.4359 38.8 24C38.8 22.5641 37.6359 21.4 36.2 21.4C34.7641 21.4 33.6 22.5641 33.6 24C33.6 25.4359 34.7641 26.6 36.2 26.6Z" fill="currentColor"/>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.2 KiB |
@@ -0,0 +1,12 @@
|
||||
<svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<g id="Shape" clip-path="url(#clip-money)">
|
||||
<path id="Vector" d="M24 45.8C36.0398 45.8 45.8 36.0398 45.8 24C45.8 11.9602 36.0398 2.2 24 2.2C11.9602 2.2 2.2 11.9602 2.2 24C2.2 36.0398 11.9602 45.8 24 45.8Z" stroke="currentColor" stroke-opacity="0.5" stroke-width="4.4"/>
|
||||
<path id="Vector_2" d="M34 16H14C12.3431 16 11 17.3431 11 19V29C11 30.6569 12.3431 32 14 32H34C35.6569 32 37 30.6569 37 29V19C37 17.3431 35.6569 16 34 16Z" stroke="currentColor" stroke-width="3.3" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
<path id="Vector_3" d="M24 28C26.2091 28 28 26.2091 28 24C28 21.7909 26.2091 20 24 20C21.7909 20 20 21.7909 20 24C20 26.2091 21.7909 28 24 28Z" fill="currentColor"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip-money">
|
||||
<rect width="48" height="48" fill="currentColor"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 895 B |
@@ -0,0 +1,11 @@
|
||||
<svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<g id="Shape" clip-path="url(#clip-person)">
|
||||
<path id="Vector" d="M24 45.8C36.0398 45.8 45.8 36.0398 45.8 24C45.8 11.9602 36.0398 2.2 24 2.2C11.9602 2.2 2.2 11.9602 2.2 24C2.2 36.0398 11.9602 45.8 24 45.8Z" stroke="currentColor" stroke-opacity="0.5" stroke-width="4.4"/>
|
||||
<path id="Vector_2" d="M24 31C27.866 31 31 27.866 31 24C31 20.134 27.866 17 24 17C20.134 17 17 20.134 17 24C17 27.866 20.134 31 24 31Z" fill="currentColor"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip-person">
|
||||
<rect width="48" height="48" fill="currentColor"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 643 B |
@@ -0,0 +1,12 @@
|
||||
<svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<g id="Shape" clip-path="url(#clip-pod)">
|
||||
<path id="Vector" d="M24 45.8C36.0398 45.8 45.8 36.0398 45.8 24C45.8 11.9602 36.0398 2.2 24 2.2C11.9602 2.2 2.2 11.9602 2.2 24C2.2 36.0398 11.9602 45.8 24 45.8Z" stroke="currentColor" stroke-opacity="0.5" stroke-width="4.4"/>
|
||||
<path id="Vector_2" d="M24 36C30.6274 36 36 30.6274 36 24C36 17.3726 30.6274 12 24 12C17.3726 12 12 17.3726 12 24C12 30.6274 17.3726 36 24 36Z" stroke="currentColor" stroke-width="4.4" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
<path id="Vector_3" d="M27 31.6C29.5405 31.6 31.6 29.5405 31.6 27C31.6 24.4595 29.5405 22.4 27 22.4C24.4595 22.4 22.4 24.4595 22.4 27C22.4 29.5405 24.4595 31.6 27 31.6Z" fill="currentColor"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip-pod">
|
||||
<rect width="48" height="48" fill="currentColor"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 905 B |
@@ -0,0 +1,12 @@
|
||||
<svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<g id="Shape" clip-path="url(#clip-privacy)">
|
||||
<path id="Vector" d="M24 45.8C36.0398 45.8 45.8 36.0398 45.8 24C45.8 11.9602 36.0398 2.2 24 2.2C11.9602 2.2 2.2 11.9602 2.2 24C2.2 36.0398 11.9602 45.8 24 45.8Z" stroke="currentColor" stroke-opacity="0.5" stroke-width="4.4"/>
|
||||
<path id="Vector_2" d="M18.5 22V18.5C18.5 15.2 21 13 24 13C27 13 29.5 15.2 29.5 18.5V22" stroke="currentColor" stroke-width="4.4" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
<path id="Vector_3" fill-rule="evenodd" clip-rule="evenodd" d="M17 21H31C32.7 21 34 22.3 34 24V33C34 34.7 32.7 36 31 36H17C15.3 36 14 34.7 14 33V24C14 22.3 15.3 21 17 21ZM24 26C22.8 26 21.8 27 21.8 28.2C21.8 29.1 22.3 29.8 23 30.2V32H25V30.2C25.7 29.8 26.2 29.1 26.2 28.2C26.2 27 25.2 26 24 26Z" fill="currentColor"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip-privacy">
|
||||
<rect width="48" height="48" fill="currentColor"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 984 B |
@@ -0,0 +1,11 @@
|
||||
<svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<g id="Shape" clip-path="url(#clip-records)">
|
||||
<path id="Vector" d="M24 45.8C36.0398 45.8 45.8 36.0398 45.8 24C45.8 11.9602 36.0398 2.2 24 2.2C11.9602 2.2 2.2 11.9602 2.2 24C2.2 36.0398 11.9602 45.8 24 45.8Z" stroke="currentColor" stroke-opacity="0.5" stroke-width="4.4"/>
|
||||
<path id="Vector_2" d="M24 34C27 32 32 31.5 35.5 33V15.5C32 14 27 14.5 24 16.5C21 14.5 16 14 12.5 15.5V33C16 31.5 21 32 24 34ZM24 16.5V34" stroke="currentColor" stroke-width="3.3" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip-records">
|
||||
<rect width="48" height="48" fill="currentColor"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 716 B |
@@ -0,0 +1,12 @@
|
||||
<svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<g id="Shape" clip-path="url(#clip-rotation)">
|
||||
<path id="Vector" d="M24 45.8C36.0398 45.8 45.8 36.0398 45.8 24C45.8 11.9602 36.0398 2.2 24 2.2C11.9602 2.2 2.2 11.9602 2.2 24C2.2 36.0398 11.9602 45.8 24 45.8Z" stroke="currentColor" stroke-opacity="0.5" stroke-width="4.4"/>
|
||||
<path id="Vector_2" d="M29.5 14.47C31.4548 15.5986 33.0151 17.3012 33.9692 19.3468C34.9232 21.3924 35.2249 23.682 34.8333 25.905C34.4416 28.1279 33.3756 30.1766 31.7798 31.773C30.1841 33.3694 28.1359 34.4362 25.9131 34.8287C23.6903 35.2213 21.4006 34.9205 19.3545 33.9672C17.3085 33.014 15.6053 31.4544 14.476 29.5C13.3466 27.5457 12.8458 25.2912 13.0415 23.0426C13.2373 20.7939 14.12 18.6598 15.57 16.93" stroke="currentColor" stroke-width="4.4" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
<path id="Vector_3" d="M9.59 17.36L15.57 16.93L16.18 22.9" stroke="currentColor" stroke-width="4.4" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip-rotation">
|
||||
<rect width="48" height="48" fill="currentColor"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.1 KiB |
@@ -0,0 +1,14 @@
|
||||
<svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<g id="Shape" clip-path="url(#clip-sortition)">
|
||||
<path id="Vector" d="M24 45.8C36.0398 45.8 45.8 36.0398 45.8 24C45.8 11.9602 36.0398 2.2 24 2.2C11.9602 2.2 2.2 11.9602 2.2 24C2.2 36.0398 11.9602 45.8 24 45.8Z" stroke="currentColor" stroke-opacity="0.5" stroke-width="4.4"/>
|
||||
<path id="Vector_2" d="M30 13H18C15.2386 13 13 15.2386 13 18V30C13 32.7614 15.2386 35 18 35H30C32.7614 35 35 32.7614 35 30V18C35 15.2386 32.7614 13 30 13Z" stroke="currentColor" stroke-width="4.4" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
<path id="Vector_3" d="M19.2 21.7C20.5807 21.7 21.7 20.5807 21.7 19.2C21.7 17.8193 20.5807 16.7 19.2 16.7C17.8193 16.7 16.7 17.8193 16.7 19.2C16.7 20.5807 17.8193 21.7 19.2 21.7Z" fill="currentColor"/>
|
||||
<path id="Vector_4" d="M24 26.5C25.3807 26.5 26.5 25.3807 26.5 24C26.5 22.6193 25.3807 21.5 24 21.5C22.6193 21.5 21.5 22.6193 21.5 24C21.5 25.3807 22.6193 26.5 24 26.5Z" fill="currentColor"/>
|
||||
<path id="Vector_5" d="M28.8 31.3C30.1807 31.3 31.3 30.1807 31.3 28.8C31.3 27.4193 30.1807 26.3 28.8 26.3C27.4193 26.3 26.3 27.4193 26.3 28.8C26.3 30.1807 27.4193 31.3 28.8 31.3Z" fill="currentColor"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip-sortition">
|
||||
<rect width="48" height="48" fill="currentColor"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.3 KiB |
@@ -0,0 +1,8 @@
|
||||
<svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<g id="Shape">
|
||||
<path id="Vector" d="M24 45.8C36.0398 45.8 45.8 36.0398 45.8 24C45.8 11.9602 36.0398 2.2 24 2.2C11.9602 2.2 2.2 11.9602 2.2 24C2.2 36.0398 11.9602 45.8 24 45.8Z" stroke="currentColor" stroke-opacity="0.5" stroke-width="4.4"/>
|
||||
<path id="Vector_2" d="M16 12.5H32M16 35.5H32" stroke="currentColor" stroke-width="4.4" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
<path id="Vector_3" d="M18 12.5C18 19 24 21.5 24 24M24 24C24 26.5 18 29 18 35.5M24 24C24 21.5 30 19 30 12.5M24 24C24 26.5 30 29 30 35.5" stroke="currentColor" stroke-width="3.3" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
<path id="Vector_4" d="M24 29.5L19.8 35.5H28.2L24 29.5Z" fill="currentColor"/>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 792 B |
@@ -0,0 +1,7 @@
|
||||
<svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<g id="Shape">
|
||||
<path id="Vector" d="M24 45.8C36.0398 45.8 45.8 36.0398 45.8 24C45.8 11.9602 36.0398 2.2 24 2.2C11.9602 2.2 2.2 11.9602 2.2 24C2.2 36.0398 11.9602 45.8 24 45.8Z" stroke="currentColor" stroke-opacity="0.5" stroke-width="4.4"/>
|
||||
<path id="Vector_2" d="M30.5 11.5H17.5C16.1193 11.5 15 12.6193 15 14V34C15 35.3807 16.1193 36.5 17.5 36.5H30.5C31.8807 36.5 33 35.3807 33 34V14C33 12.6193 31.8807 11.5 30.5 11.5Z" stroke="currentColor" stroke-width="3.3" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
<path id="Vector_3" d="M19.5 24.5L22.8 28L29 20" stroke="currentColor" stroke-width="4.4" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 758 B |
@@ -0,0 +1,162 @@
|
||||
"use client";
|
||||
|
||||
/**
|
||||
* Figma: "Asset / Pattern Glyph" (25449:199)
|
||||
*/
|
||||
|
||||
import Image from "next/image";
|
||||
import { memo } from "react";
|
||||
import CircleProcessesGlyph from "./circle-processes.svg";
|
||||
import ConflictCouncilGlyph from "./conflict-council.svg";
|
||||
import ConsensusApprovalGlyph from "./consensus-approval.svg";
|
||||
import ConsensusBuildingGlyph from "./consensus-building.svg";
|
||||
import ConsensusSeekingWithDelegatesGlyph from "./consensus-seeking-with-delegates.svg";
|
||||
import DeliberativePollingGlyph from "./deliberative-polling.svg";
|
||||
import FacilitatedNegotiationGlyph from "./facilitated-negotiation.svg";
|
||||
import FullConsensusGlyph from "./full-consensus.svg";
|
||||
import LazyConsensusGlyph from "./lazy-consensus.svg";
|
||||
import MembershipAgreementGlyph from "./membership-agreement.svg";
|
||||
import ModifiedConsensusGlyph from "./modified-consensus.svg";
|
||||
import OpenParticipationGlyph from "./open-participation.svg";
|
||||
import PeerSponsorshipGlyph from "./peer-sponsorship.svg";
|
||||
import ProvisionalMembershipGlyph from "./provisional-membership.svg";
|
||||
import ScreenedReferralsGlyph from "./screened-referrals.svg";
|
||||
import SociocracyCirclesGlyph from "./sociocracy-circles.svg";
|
||||
import TieredMembershipGlyph from "./tiered-membership.svg";
|
||||
import TrainingOrOrientationGlyph from "./training-or-orientation.svg";
|
||||
|
||||
export const PATTERN_GLYPH_OPTIONS = [
|
||||
"lazy-consensus",
|
||||
"full-consensus",
|
||||
"consensus-seeking-with-delegates",
|
||||
"modified-consensus",
|
||||
"sociocracy-circles",
|
||||
"deliberative-polling",
|
||||
"open-participation",
|
||||
"peer-sponsorship",
|
||||
"consensus-approval",
|
||||
"provisional-membership",
|
||||
"membership-agreement",
|
||||
"training-or-orientation",
|
||||
"screened-referrals",
|
||||
"tiered-membership",
|
||||
"consensus-building",
|
||||
"facilitated-negotiation",
|
||||
"conflict-council",
|
||||
"circle-processes",
|
||||
] as const;
|
||||
|
||||
export type PatternGlyphName = (typeof PATTERN_GLYPH_OPTIONS)[number];
|
||||
|
||||
export const PATTERN_GLYPH_SIZE_OPTIONS = [24, 48] as const;
|
||||
export type PatternGlyphSize = (typeof PATTERN_GLYPH_SIZE_OPTIONS)[number];
|
||||
|
||||
type SvgComponent =
|
||||
| React.ComponentType<React.SVGProps<SVGSVGElement>>
|
||||
| { default: React.ComponentType<React.SVGProps<SVGSVGElement>> };
|
||||
|
||||
const glyphMap: Record<PatternGlyphName, SvgComponent> = {
|
||||
"lazy-consensus": LazyConsensusGlyph,
|
||||
"full-consensus": FullConsensusGlyph,
|
||||
"consensus-seeking-with-delegates": ConsensusSeekingWithDelegatesGlyph,
|
||||
"modified-consensus": ModifiedConsensusGlyph,
|
||||
"sociocracy-circles": SociocracyCirclesGlyph,
|
||||
"deliberative-polling": DeliberativePollingGlyph,
|
||||
"open-participation": OpenParticipationGlyph,
|
||||
"peer-sponsorship": PeerSponsorshipGlyph,
|
||||
"consensus-approval": ConsensusApprovalGlyph,
|
||||
"provisional-membership": ProvisionalMembershipGlyph,
|
||||
"membership-agreement": MembershipAgreementGlyph,
|
||||
"training-or-orientation": TrainingOrOrientationGlyph,
|
||||
"screened-referrals": ScreenedReferralsGlyph,
|
||||
"tiered-membership": TieredMembershipGlyph,
|
||||
"consensus-building": ConsensusBuildingGlyph,
|
||||
"facilitated-negotiation": FacilitatedNegotiationGlyph,
|
||||
"conflict-council": ConflictCouncilGlyph,
|
||||
"circle-processes": CircleProcessesGlyph,
|
||||
};
|
||||
|
||||
function resolveSvgComponent(module: SvgComponent) {
|
||||
if (typeof module === "object" && module !== null && "default" in module) {
|
||||
return (
|
||||
module as {
|
||||
default: React.ComponentType<React.SVGProps<SVGSVGElement>>;
|
||||
}
|
||||
).default;
|
||||
}
|
||||
return module as React.ComponentType<React.SVGProps<SVGSVGElement>>;
|
||||
}
|
||||
|
||||
export interface PatternGlyphProps {
|
||||
glyph: PatternGlyphName;
|
||||
className?: string;
|
||||
/** Width and height. Figma grid is 48; diagrams also use 24. */
|
||||
size?: PatternGlyphSize | number;
|
||||
/**
|
||||
* Accessible name when the glyph sits in a diagram. Omit for a decorative
|
||||
* mark (empty alt / `aria-hidden`).
|
||||
*/
|
||||
title?: string;
|
||||
/** Follows `title` when the glyph is named in a diagram. */
|
||||
description?: string;
|
||||
}
|
||||
|
||||
function PatternGlyphComponent({
|
||||
glyph,
|
||||
className = "",
|
||||
size = 48,
|
||||
title,
|
||||
description,
|
||||
}: PatternGlyphProps) {
|
||||
const SvgModule = glyphMap[glyph];
|
||||
if (!SvgModule) return null;
|
||||
const resolved = resolveSvgComponent(SvgModule);
|
||||
const decorative = !title;
|
||||
const label = [title, description].filter(Boolean).join(". ");
|
||||
|
||||
if (typeof resolved === "string") {
|
||||
return (
|
||||
<Image
|
||||
src={resolved}
|
||||
width={size}
|
||||
height={size}
|
||||
className={className}
|
||||
alt={decorative ? "" : label}
|
||||
unoptimized
|
||||
aria-hidden={decorative || undefined}
|
||||
/>
|
||||
);
|
||||
}
|
||||
|
||||
if (resolved == null) return null;
|
||||
|
||||
const Svg = resolved as React.ComponentType<React.SVGProps<SVGSVGElement>>;
|
||||
|
||||
if (decorative) {
|
||||
return (
|
||||
<Svg
|
||||
width={size}
|
||||
height={size}
|
||||
className={className}
|
||||
aria-hidden
|
||||
data-figma-node="25449:199"
|
||||
/>
|
||||
);
|
||||
}
|
||||
|
||||
return (
|
||||
<span
|
||||
role="img"
|
||||
aria-label={label}
|
||||
className={`inline-flex ${className}`.trim()}
|
||||
data-figma-node="25449:199"
|
||||
>
|
||||
<Svg width={size} height={size} aria-hidden />
|
||||
</span>
|
||||
);
|
||||
}
|
||||
|
||||
const PatternGlyph = memo(PatternGlyphComponent);
|
||||
PatternGlyph.displayName = "PatternGlyph";
|
||||
|
||||
export default PatternGlyph;
|
||||
@@ -0,0 +1,13 @@
|
||||
<svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<g id="Shape">
|
||||
<path id="Vector" d="M45.8 24H43.6C43.6 34.8 34.8 43.6 24 43.6V45.8V48C37.3 48 48 37.3 48 24H45.8ZM24 45.8V43.6C13.2 43.6 4.4 34.8 4.4 24H2.2H0C0 37.3 10.7 48 24 48V45.8ZM2.2 24H4.4C4.4 13.2 13.2 4.4 24 4.4V2.2V0C10.7 0 0 10.7 0 24H2.2ZM24 2.2V4.4C34.8 4.4 43.6 13.2 43.6 24H45.8H48C48 10.7 37.3 0 24 0V2.2Z" fill="currentColor" fill-opacity="0.5"/>
|
||||
<path id="Vector_2" d="M37.1 24H34.9C34.9 30 30 34.9 24 34.9V37.1V39.3C32.4 39.3 39.3 32.4 39.3 24H37.1ZM24 37.1V34.9C18 34.9 13.1 30 13.1 24H10.9H8.7C8.7 32.4 15.6 39.3 24 39.3V37.1ZM10.9 24H13.1C13.1 18 18 13.1 24 13.1V10.9V8.7C15.6 8.7 8.7 15.6 8.7 24H10.9ZM24 10.9V13.1C30 13.1 34.9 18 34.9 24H37.1H39.3C39.3 15.6 32.4 8.7 24 8.7V10.9Z" fill="currentColor"/>
|
||||
<path id="Vector_3" d="M30.5 24H28.4C28.4 26.4 26.4 28.4 24 28.4V30.5V32.7C28.8 32.7 32.7 28.8 32.7 24H30.5ZM24 30.5V28.4C21.6 28.4 19.6 26.4 19.6 24H17.5H15.3C15.3 28.8 19.2 32.7 24 32.7V30.5ZM17.5 24H19.6C19.6 21.6 21.6 19.6 24 19.6V17.5V15.3C19.2 15.3 15.3 19.2 15.3 24H17.5ZM24 17.5V19.6C26.4 19.6 28.4 21.6 28.4 24H30.5H32.7C32.7 19.2 28.8 15.3 24 15.3V17.5Z" fill="currentColor"/>
|
||||
<path id="Vector_4" d="M24 17.5C25.2 17.5 26.2 16.5 26.2 15.3C26.2 14.1 25.2 13.1 24 13.1C22.8 13.1 21.8 14.1 21.8 15.3C21.8 16.5 22.8 17.5 24 17.5Z" fill="currentColor"/>
|
||||
<path id="Vector_5" d="M26.2 15.3H24V17.5V19.6C26.4 19.6 28.4 17.7 28.4 15.3H26.2ZM24 17.5V15.3H21.8H19.6C19.6 17.7 21.6 19.6 24 19.6V17.5ZM21.8 15.3H24V13.1V10.9C21.6 10.9 19.6 12.9 19.6 15.3H21.8ZM24 13.1V15.3H26.2H28.4C28.4 12.9 26.4 10.9 24 10.9V13.1Z" fill="currentColor"/>
|
||||
<path id="Vector_6" d="M15.3 30.5C16.5 30.5 17.5 29.6 17.5 28.4C17.5 27.2 16.5 26.2 15.3 26.2C14.1 26.2 13.1 27.2 13.1 28.4C13.1 29.6 14.1 30.5 15.3 30.5Z" fill="currentColor"/>
|
||||
<path id="Vector_7" d="M17.5 28.4H15.3V30.5V32.7C17.7 32.7 19.6 30.8 19.6 28.4H17.5ZM15.3 30.5V28.4H13.1H10.9C10.9 30.8 12.9 32.7 15.3 32.7V30.5ZM13.1 28.4H15.3V26.2V24C12.9 24 10.9 26 10.9 28.4H13.1ZM15.3 26.2V28.4H17.5H19.6C19.6 26 17.7 24 15.3 24V26.2Z" fill="currentColor"/>
|
||||
<path id="Vector_8" d="M32.7 30.5C33.9 30.5 34.9 29.6 34.9 28.4C34.9 27.2 33.9 26.2 32.7 26.2C31.5 26.2 30.5 27.2 30.5 28.4C30.5 29.6 31.5 30.5 32.7 30.5Z" fill="currentColor"/>
|
||||
<path id="Vector_9" d="M34.9 28.4H32.7V30.5V32.7C35.1 32.7 37.1 30.8 37.1 28.4H34.9ZM32.7 30.5V28.4H30.5H28.4C28.4 30.8 30.3 32.7 32.7 32.7V30.5ZM30.5 28.4H32.7V26.2V24C30.3 24 28.4 26 28.4 28.4H30.5ZM32.7 26.2V28.4H34.9H37.1C37.1 26 35.1 24 32.7 24V26.2Z" fill="currentColor"/>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 2.5 KiB |
@@ -0,0 +1,12 @@
|
||||
<svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<g id="Shape">
|
||||
<path id="Vector" d="M45.8 24H43.6C43.6 34.8 34.8 43.6 24 43.6V45.8V48C37.3 48 48 37.3 48 24H45.8ZM24 45.8V43.6C13.2 43.6 4.4 34.8 4.4 24H2.2H0C0 37.3 10.7 48 24 48V45.8ZM2.2 24H4.4C4.4 13.2 13.2 4.4 24 4.4V2.2V0C10.7 0 0 10.7 0 24H2.2ZM24 2.2V4.4C34.8 4.4 43.6 13.2 43.6 24H45.8H48C48 10.7 37.3 0 24 0V2.2Z" fill="currentColor" fill-opacity="0.5"/>
|
||||
<path id="Vector_2" d="M28.4 15.3H26.2C26.2 16.5 25.2 17.5 24 17.5V19.6V21.8C27.6 21.8 30.5 18.9 30.5 15.3H28.4ZM24 19.6V17.5C22.8 17.5 21.8 16.5 21.8 15.3H19.6H17.5C17.5 18.9 20.4 21.8 24 21.8V19.6ZM19.6 15.3H21.8C21.8 14.1 22.8 13.1 24 13.1V10.9V8.7C20.4 8.7 17.5 11.7 17.5 15.3H19.6ZM24 10.9V13.1C25.2 13.1 26.2 14.1 26.2 15.3H28.4H30.5C30.5 11.7 27.6 8.7 24 8.7V10.9Z" fill="currentColor"/>
|
||||
<path id="Vector_3" d="M13.1 34.9C15.5 34.9 17.5 33 17.5 30.5C17.5 28.1 15.5 26.2 13.1 26.2C10.7 26.2 8.7 28.1 8.7 30.5C8.7 33 10.7 34.9 13.1 34.9Z" fill="currentColor"/>
|
||||
<path id="Vector_4" d="M17.5 30.5H15.3C15.3 31.7 14.3 32.7 13.1 32.7V34.9V37.1C16.7 37.1 19.6 34.2 19.6 30.5H17.5ZM13.1 34.9V32.7C11.9 32.7 10.9 31.7 10.9 30.5H8.7H6.5C6.5 34.2 9.5 37.1 13.1 37.1V34.9ZM8.7 30.5H10.9C10.9 29.3 11.9 28.4 13.1 28.4V26.2V24C9.5 24 6.5 26.9 6.5 30.5H8.7ZM13.1 26.2V28.4C14.3 28.4 15.3 29.3 15.3 30.5H17.5H19.6C19.6 26.9 16.7 24 13.1 24V26.2Z" fill="currentColor"/>
|
||||
<path id="Vector_5" d="M34.9 34.9C37.3 34.9 39.3 33 39.3 30.5C39.3 28.1 37.3 26.2 34.9 26.2C32.5 26.2 30.5 28.1 30.5 30.5C30.5 33 32.5 34.9 34.9 34.9Z" fill="currentColor"/>
|
||||
<path id="Vector_6" d="M39.3 30.5H37.1C37.1 31.7 36.1 32.7 34.9 32.7V34.9V37.1C38.5 37.1 41.4 34.2 41.4 30.5H39.3ZM34.9 34.9V32.7C33.7 32.7 32.7 31.7 32.7 30.5H30.5H28.4C28.4 34.2 31.3 37.1 34.9 37.1V34.9ZM30.5 30.5H32.7C32.7 29.3 33.7 28.4 34.9 28.4V26.2V24C31.3 24 28.4 26.9 28.4 30.5H30.5ZM34.9 26.2V28.4C36.1 28.4 37.1 29.3 37.1 30.5H39.3H41.4C41.4 26.9 38.5 24 34.9 24V26.2Z" fill="currentColor"/>
|
||||
<path id="Vector_7" d="M24.9 26C26 25.5 26.5 24.2 26 23.1C25.5 22 24.2 21.5 23.1 22L24 24L24.9 26ZM15.5 25.3C14.4 25.7 13.9 27 14.4 28.1C14.8 29.2 16.1 29.7 17.2 29.3L16.4 27.3L15.5 25.3ZM24 24L23.1 22L15.5 25.3L16.4 27.3L17.2 29.3L24.9 26L24 24Z" fill="currentColor" fill-opacity="0.5"/>
|
||||
<path id="Vector_8" d="M24.9 22C23.7 21.5 22.5 22 22 23.1C21.5 24.2 22 25.5 23.1 26L24 24L24.9 22ZM30.8 29.3C31.9 29.7 33.2 29.2 33.6 28.1C34.1 27 33.6 25.7 32.5 25.3L31.6 27.3L30.8 29.3ZM24 24L23.1 26L30.8 29.3L31.6 27.3L32.5 25.3L24.9 22L24 24Z" fill="currentColor" fill-opacity="0.5"/>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 2.5 KiB |
@@ -0,0 +1,16 @@
|
||||
<svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<g id="Shape">
|
||||
<path id="Vector" d="M45.8 24H43.6C43.6 34.8 34.8 43.6 24 43.6V45.8V48C37.3 48 48 37.3 48 24H45.8ZM24 45.8V43.6C13.2 43.6 4.4 34.8 4.4 24H2.2H0C0 37.3 10.7 48 24 48V45.8ZM2.2 24H4.4C4.4 13.2 13.2 4.4 24 4.4V2.2V0C10.7 0 0 10.7 0 24H2.2ZM24 2.2V4.4C34.8 4.4 43.6 13.2 43.6 24H45.8H48C48 10.7 37.3 0 24 0V2.2Z" fill="currentColor" fill-opacity="0.5"/>
|
||||
<path id="Vector_2" d="M15.3 15.3L13.7 16.8L31.2 34.3L32.7 32.7L34.3 31.2L16.8 13.7L15.3 15.3ZM32.7 15.3L31.2 13.7L13.7 31.2L15.3 32.7L16.8 34.3L34.3 16.8L32.7 15.3Z" fill="currentColor" fill-opacity="0.5"/>
|
||||
<path id="Vector_3" d="M15.3 19.6C17.7 19.6 19.6 17.7 19.6 15.3C19.6 12.9 17.7 10.9 15.3 10.9C12.9 10.9 10.9 12.9 10.9 15.3C10.9 17.7 12.9 19.6 15.3 19.6Z" fill="currentColor"/>
|
||||
<path id="Vector_4" d="M19.6 15.3H17.5C17.5 16.5 16.5 17.5 15.3 17.5V19.6V21.8C18.9 21.8 21.8 18.9 21.8 15.3H19.6ZM15.3 19.6V17.5C14.1 17.5 13.1 16.5 13.1 15.3H10.9H8.7C8.7 18.9 11.7 21.8 15.3 21.8V19.6ZM10.9 15.3H13.1C13.1 14.1 14.1 13.1 15.3 13.1V10.9V8.7C11.7 8.7 8.7 11.7 8.7 15.3H10.9ZM15.3 10.9V13.1C16.5 13.1 17.5 14.1 17.5 15.3H19.6H21.8C21.8 11.7 18.9 8.7 15.3 8.7V10.9Z" fill="currentColor"/>
|
||||
<path id="Vector_5" d="M32.7 19.6C35.1 19.6 37.1 17.7 37.1 15.3C37.1 12.9 35.1 10.9 32.7 10.9C30.3 10.9 28.4 12.9 28.4 15.3C28.4 17.7 30.3 19.6 32.7 19.6Z" fill="currentColor"/>
|
||||
<path id="Vector_6" d="M37.1 15.3H34.9C34.9 16.5 33.9 17.5 32.7 17.5V19.6V21.8C36.3 21.8 39.3 18.9 39.3 15.3H37.1ZM32.7 19.6V17.5C31.5 17.5 30.5 16.5 30.5 15.3H28.4H26.2C26.2 18.9 29.1 21.8 32.7 21.8V19.6ZM28.4 15.3H30.5C30.5 14.1 31.5 13.1 32.7 13.1V10.9V8.7C29.1 8.7 26.2 11.7 26.2 15.3H28.4ZM32.7 10.9V13.1C33.9 13.1 34.9 14.1 34.9 15.3H37.1H39.3C39.3 11.7 36.3 8.7 32.7 8.7V10.9Z" fill="currentColor"/>
|
||||
<path id="Vector_7" d="M15.3 37.1C17.7 37.1 19.6 35.1 19.6 32.7C19.6 30.3 17.7 28.4 15.3 28.4C12.9 28.4 10.9 30.3 10.9 32.7C10.9 35.1 12.9 37.1 15.3 37.1Z" fill="currentColor"/>
|
||||
<path id="Vector_8" d="M19.6 32.7H17.5C17.5 33.9 16.5 34.9 15.3 34.9V37.1V39.3C18.9 39.3 21.8 36.3 21.8 32.7H19.6ZM15.3 37.1V34.9C14.1 34.9 13.1 33.9 13.1 32.7H10.9H8.7C8.7 36.3 11.7 39.3 15.3 39.3V37.1ZM10.9 32.7H13.1C13.1 31.5 14.1 30.5 15.3 30.5V28.4V26.2C11.7 26.2 8.7 29.1 8.7 32.7H10.9ZM15.3 28.4V30.5C16.5 30.5 17.5 31.5 17.5 32.7H19.6H21.8C21.8 29.1 18.9 26.2 15.3 26.2V28.4Z" fill="currentColor"/>
|
||||
<path id="Vector_9" d="M32.7 37.1C35.1 37.1 37.1 35.1 37.1 32.7C37.1 30.3 35.1 28.4 32.7 28.4C30.3 28.4 28.4 30.3 28.4 32.7C28.4 35.1 30.3 37.1 32.7 37.1Z" fill="currentColor"/>
|
||||
<path id="Vector_10" d="M37.1 32.7H34.9C34.9 33.9 33.9 34.9 32.7 34.9V37.1V39.3C36.3 39.3 39.3 36.3 39.3 32.7H37.1ZM32.7 37.1V34.9C31.5 34.9 30.5 33.9 30.5 32.7H28.4H26.2C26.2 36.3 29.1 39.3 32.7 39.3V37.1ZM28.4 32.7H30.5C30.5 31.5 31.5 30.5 32.7 30.5V28.4V26.2C29.1 26.2 26.2 29.1 26.2 32.7H28.4ZM32.7 28.4V30.5C33.9 30.5 34.9 31.5 34.9 32.7H37.1H39.3C39.3 29.1 36.3 26.2 32.7 26.2V28.4Z" fill="currentColor"/>
|
||||
<path id="Vector_11" d="M24 26.2C25.2 26.2 26.2 25.2 26.2 24C26.2 22.8 25.2 21.8 24 21.8C22.8 21.8 21.8 22.8 21.8 24C21.8 25.2 22.8 26.2 24 26.2Z" fill="currentColor"/>
|
||||
<path id="Vector_12" d="M26.2 24H24V26.2V28.4C26.4 28.4 28.4 26.4 28.4 24H26.2ZM24 26.2V24H21.8H19.6C19.6 26.4 21.6 28.4 24 28.4V26.2ZM21.8 24H24V21.8V19.6C21.6 19.6 19.6 21.6 19.6 24H21.8ZM24 21.8V24H26.2H28.4C28.4 21.6 26.4 19.6 24 19.6V21.8Z" fill="currentColor"/>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 3.4 KiB |
@@ -0,0 +1,10 @@
|
||||
<svg width="48.4" height="48.4" viewBox="0 0 48.4 48.4" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<g id="Shape">
|
||||
<path id="Vector" d="M46.2 24.2H44C44 35.1 35.1 44 24.2 44V46.2V48.4C37.6 48.4 48.4 37.6 48.4 24.2H46.2ZM24.2 46.2V44C13.3 44 4.4 35.1 4.4 24.2H2.2H0C0 37.6 10.8 48.4 24.2 48.4V46.2ZM2.2 24.2H4.4C4.4 13.3 13.3 4.4 24.2 4.4V2.2V0C10.8 0 0 10.8 0 24.2H2.2ZM24.2 2.2V4.4C35.1 4.4 44 13.3 44 24.2H46.2H48.4C48.4 10.8 37.6 0 24.2 0V2.2Z" fill="currentColor" fill-opacity="0.5"/>
|
||||
<path id="Vector_2" d="M19.8 15.4H17.6C17.6 16.6 16.6 17.6 15.4 17.6V19.8V22C19 22 22 19 22 15.4H19.8ZM15.4 19.8V17.6C14.2 17.6 13.2 16.6 13.2 15.4H11H8.8C8.8 19 11.8 22 15.4 22V19.8ZM11 15.4H13.2C13.2 14.2 14.2 13.2 15.4 13.2V11V8.8C11.8 8.8 8.8 11.8 8.8 15.4H11ZM15.4 11V13.2C16.6 13.2 17.6 14.2 17.6 15.4H19.8H22C22 11.8 19 8.8 15.4 8.8V11Z" fill="currentColor"/>
|
||||
<path id="Vector_3" d="M37.4 15.4H35.2C35.2 16.6 34.2 17.6 33 17.6V19.8V22C36.6 22 39.6 19 39.6 15.4H37.4ZM33 19.8V17.6C31.8 17.6 30.8 16.6 30.8 15.4H28.6H26.4C26.4 19 29.4 22 33 22V19.8ZM28.6 15.4H30.8C30.8 14.2 31.8 13.2 33 13.2V11V8.8C29.4 8.8 26.4 11.8 26.4 15.4H28.6ZM33 11V13.2C34.2 13.2 35.2 14.2 35.2 15.4H37.4H39.6C39.6 11.8 36.6 8.8 33 8.8V11Z" fill="currentColor"/>
|
||||
<path id="Vector_4" d="M28.6 33H26.4C26.4 34.2 25.4 35.2 24.2 35.2V37.4V39.6C27.8 39.6 30.8 36.6 30.8 33H28.6ZM24.2 37.4V35.2C23 35.2 22 34.2 22 33H19.8H17.6C17.6 36.6 20.6 39.6 24.2 39.6V37.4ZM19.8 33H22C22 31.8 23 30.8 24.2 30.8V28.6V26.4C20.6 26.4 17.6 29.4 17.6 33H19.8ZM24.2 28.6V30.8C25.4 30.8 26.4 31.8 26.4 33H28.6H30.8C30.8 29.4 27.8 26.4 24.2 26.4V28.6Z" fill="currentColor"/>
|
||||
<path id="Vector_5" d="M19.8 19.8L18.2 21.4C19.8 23 22.1 23.6 24.2 23.6C26.3 23.6 28.6 23 30.2 21.4L28.6 19.8L27 18.2C26.4 18.8 25.4 19.2 24.2 19.2C23 19.2 21.9 18.8 21.4 18.2L19.8 19.8Z" fill="currentColor"/>
|
||||
<path id="Vector_6" d="M24.2 28.6H22V33H24.2H26.4V28.6H24.2Z" fill="currentColor"/>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.9 KiB |
@@ -0,0 +1,9 @@
|
||||
<svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<g id="Shape">
|
||||
<path id="Vector" d="M29.4 24H27.6C27.6 26 26 27.6 24 27.6V29.4V31.3C28 31.3 31.3 28 31.3 24H29.4ZM24 29.4V27.6C22 27.6 20.4 26 20.4 24H18.6H16.7C16.7 28 20 31.3 24 31.3V29.4ZM18.6 24H20.4C20.4 22 22 20.4 24 20.4V18.6V16.7C20 16.7 16.7 20 16.7 24H18.6ZM24 18.6V20.4C26 20.4 27.6 22 27.6 24H29.4H31.3C31.3 20 28 16.7 24 16.7V18.6Z" fill="currentColor"/>
|
||||
<path id="Vector_2" d="M38.2 21.2C38 20.2 37.1 19.5 36.1 19.7C35.1 19.9 34.5 20.9 34.7 21.9L36.5 21.5L38.2 21.2ZM33.1 17.9C33.6 18.8 34.7 19 35.6 18.4C36.4 17.9 36.6 16.8 36.1 15.9L34.6 16.9L33.1 17.9ZM32.1 11.9C31.2 11.4 30.1 11.6 29.5 12.4C29 13.3 29.2 14.4 30 14.9L31.1 13.4L32.1 11.9ZM26.1 13.3C27.1 13.5 28.1 12.9 28.3 11.9C28.5 10.9 27.8 10 26.8 9.8L26.5 11.5L26.1 13.3ZM21.2 9.8C20.2 10 19.5 10.9 19.7 11.9C19.9 12.9 20.9 13.5 21.9 13.3L21.5 11.5L21.2 9.8ZM17.9 14.9C18.8 14.4 19 13.3 18.4 12.4C17.9 11.6 16.8 11.4 15.9 11.9L16.9 13.4L17.9 14.9ZM11.9 15.9C11.4 16.8 11.6 17.9 12.4 18.4C13.3 19 14.4 18.8 14.9 17.9L13.4 16.9L11.9 15.9ZM13.3 21.9C13.5 20.9 12.9 19.9 11.9 19.7C10.9 19.5 10 20.2 9.8 21.2L11.5 21.5L13.3 21.9ZM9.8 26.8C10 27.8 10.9 28.5 11.9 28.3C12.9 28.1 13.5 27.1 13.3 26.1L11.5 26.5L9.8 26.8ZM14.9 30C14.4 29.2 13.3 29 12.4 29.5C11.6 30.1 11.4 31.2 11.9 32.1L13.4 31.1L14.9 30ZM15.9 36.1C16.8 36.6 17.9 36.4 18.4 35.6C19 34.7 18.8 33.6 17.9 33.1L16.9 34.6L15.9 36.1ZM21.9 34.7C20.9 34.5 19.9 35.1 19.7 36.1C19.5 37.1 20.2 38 21.2 38.2L21.5 36.5L21.9 34.7ZM26.8 38.2C27.8 38 28.5 37.1 28.3 36.1C28.1 35.1 27.1 34.5 26.1 34.7L26.5 36.5L26.8 38.2ZM30 33.1C29.2 33.6 29 34.7 29.5 35.6C30.1 36.4 31.2 36.6 32.1 36.1L31.1 34.6L30 33.1ZM36.1 32.1C36.6 31.2 36.4 30.1 35.6 29.5C34.7 29 33.6 29.2 33.1 30L34.6 31.1L36.1 32.1ZM34.7 26.1C34.5 27.1 35.1 28.1 36.1 28.3C37.1 28.5 38 27.8 38.2 26.8L36.5 26.5L34.7 26.1ZM36.7 24H38.5C38.5 23 38.4 22.1 38.2 21.2L36.5 21.5L34.7 21.9C34.8 22.6 34.9 23.3 34.9 24H36.7ZM34.6 16.9L36.1 15.9C35 14.3 33.6 13 32.1 11.9L31.1 13.4L30 14.9C31.2 15.7 32.3 16.8 33.1 17.9L34.6 16.9ZM26.5 11.5L26.8 9.8C25.9 9.6 25 9.5 24 9.5V11.3V13.1C24.7 13.1 25.4 13.2 26.1 13.3L26.5 11.5ZM24 11.3V9.5C23 9.5 22.1 9.6 21.2 9.8L21.5 11.5L21.9 13.3C22.6 13.2 23.3 13.1 24 13.1V11.3ZM16.9 13.4L15.9 11.9C14.3 13 13 14.3 11.9 15.9L13.4 16.9L14.9 17.9C15.7 16.8 16.8 15.7 17.9 14.9L16.9 13.4ZM11.5 21.5L9.8 21.2C9.6 22.1 9.5 23 9.5 24H11.3H13.1C13.1 23.3 13.2 22.6 13.3 21.9L11.5 21.5ZM11.3 24H9.5C9.5 25 9.6 25.9 9.8 26.8L11.5 26.5L13.3 26.1C13.2 25.4 13.1 24.7 13.1 24H11.3ZM13.4 31.1L11.9 32.1C13 33.6 14.3 35 15.9 36.1L16.9 34.6L17.9 33.1C16.8 32.3 15.7 31.2 14.9 30L13.4 31.1ZM21.5 36.5L21.2 38.2C22.1 38.4 23 38.5 24 38.5V36.7V34.9C23.3 34.9 22.6 34.8 21.9 34.7L21.5 36.5ZM24 36.7V38.5C25 38.5 25.9 38.4 26.8 38.2L26.5 36.5L26.1 34.7C25.4 34.8 24.7 34.9 24 34.9V36.7ZM31.1 34.6L32.1 36.1C33.6 35 35 33.6 36.1 32.1L34.6 31.1L33.1 30C32.3 31.2 31.2 32.3 30 33.1L31.1 34.6ZM36.5 26.5L38.2 26.8C38.4 25.9 38.5 25 38.5 24H36.7H34.9C34.9 24.7 34.8 25.4 34.7 26.1L36.5 26.5Z" fill="currentColor"/>
|
||||
<path id="Vector_3" d="M45.4 19.8C45.2 18.8 44.2 18.1 43.2 18.3C42.2 18.5 41.6 19.5 41.8 20.5L43.6 20.1L45.4 19.8ZM39.1 13.9C39.6 14.7 40.8 15 41.6 14.4C42.4 13.9 42.7 12.7 42.1 11.9L40.6 12.9L39.1 13.9ZM36.1 5.9C35.3 5.3 34.1 5.6 33.6 6.4C33 7.2 33.2 8.3 34.1 8.9L35.1 7.4L36.1 5.9ZM27.5 6.2C28.5 6.4 29.5 5.7 29.7 4.8C29.9 3.8 29.2 2.8 28.2 2.6L27.9 4.4L27.5 6.2ZM19.8 2.6C18.8 2.8 18.1 3.8 18.3 4.8C18.5 5.7 19.5 6.4 20.5 6.2L20.1 4.4L19.8 2.6ZM13.9 8.9C14.7 8.3 15 7.2 14.4 6.4C13.9 5.6 12.7 5.3 11.9 5.9L12.9 7.4L13.9 8.9ZM5.9 11.9C5.3 12.7 5.6 13.9 6.4 14.4C7.2 15 8.3 14.7 8.9 13.9L7.4 12.9L5.9 11.9ZM6.2 20.5C6.4 19.5 5.7 18.5 4.8 18.3C3.8 18.1 2.8 18.8 2.6 19.8L4.4 20.1L6.2 20.5ZM2.6 28.2C2.8 29.2 3.8 29.9 4.8 29.7C5.7 29.5 6.4 28.5 6.2 27.5L4.4 27.9L2.6 28.2ZM8.9 34.1C8.3 33.2 7.2 33 6.4 33.6C5.6 34.1 5.3 35.3 5.9 36.1L7.4 35.1L8.9 34.1ZM11.9 42.1C12.7 42.7 13.9 42.4 14.4 41.6C15 40.8 14.7 39.6 13.9 39.1L12.9 40.6L11.9 42.1ZM20.5 41.8C19.5 41.6 18.5 42.2 18.3 43.2C18.1 44.2 18.8 45.2 19.8 45.4L20.1 43.6L20.5 41.8ZM28.2 45.4C29.2 45.2 29.9 44.2 29.7 43.2C29.5 42.2 28.5 41.6 27.5 41.8L27.9 43.6L28.2 45.4ZM34.1 39.1C33.2 39.6 33 40.8 33.6 41.6C34.1 42.4 35.3 42.7 36.1 42.1L35.1 40.6L34.1 39.1ZM42.1 36.1C42.7 35.3 42.4 34.1 41.6 33.6C40.8 33 39.6 33.2 39.1 34.1L40.6 35.1L42.1 36.1ZM41.8 27.5C41.6 28.5 42.2 29.5 43.2 29.7C44.2 29.9 45.2 29.2 45.4 28.2L43.6 27.9L41.8 27.5ZM44 24H45.8C45.8 22.5 45.6 21.1 45.4 19.8L43.6 20.1L41.8 20.5C42 21.6 42.1 22.8 42.1 24H44ZM40.6 12.9L42.1 11.9C40.5 9.5 38.5 7.5 36.1 5.9L35.1 7.4L34.1 8.9C36.1 10.2 37.8 11.9 39.1 13.9L40.6 12.9ZM27.9 4.4L28.2 2.6C26.9 2.4 25.5 2.2 24 2.2V4V5.9C25.2 5.9 26.4 6 27.5 6.2L27.9 4.4ZM24 4V2.2C22.5 2.2 21.1 2.4 19.8 2.6L20.1 4.4L20.5 6.2C21.6 6 22.8 5.9 24 5.9V4ZM12.9 7.4L11.9 5.9C9.5 7.5 7.5 9.5 5.9 11.9L7.4 12.9L8.9 13.9C10.2 11.9 11.9 10.2 13.9 8.9L12.9 7.4ZM4.4 20.1L2.6 19.8C2.4 21.1 2.2 22.5 2.2 24H4H5.9C5.9 22.8 6 21.6 6.2 20.5L4.4 20.1ZM4 24H2.2C2.2 25.5 2.4 26.9 2.6 28.2L4.4 27.9L6.2 27.5C6 26.4 5.9 25.2 5.9 24H4ZM7.4 35.1L5.9 36.1C7.5 38.5 9.5 40.5 11.9 42.1L12.9 40.6L13.9 39.1C11.9 37.8 10.2 36.1 8.9 34.1L7.4 35.1ZM20.1 43.6L19.8 45.4C21.1 45.6 22.5 45.8 24 45.8V44V42.1C22.8 42.1 21.6 42 20.5 41.8L20.1 43.6ZM24 44V45.8C25.5 45.8 26.9 45.6 28.2 45.4L27.9 43.6L27.5 41.8C26.4 42 25.2 42.1 24 42.1V44ZM35.1 40.6L36.1 42.1C38.5 40.5 40.5 38.5 42.1 36.1L40.6 35.1L39.1 34.1C37.8 36.1 36.1 37.8 34.1 39.1L35.1 40.6ZM43.6 27.9L45.4 28.2C45.6 26.9 45.8 25.5 45.8 24H44H42.1C42.1 25.2 42 26.4 41.8 27.5L43.6 27.9Z" fill="currentColor" fill-opacity="0.5"/>
|
||||
<path id="Vector_4" d="M25.8 4C25.8 3 25 2.2 24 2.2C23 2.2 22.2 3 22.2 4H24H25.8ZM22.2 11.3C22.2 12.3 23 13.1 24 13.1C25 13.1 25.8 12.3 25.8 11.3H24H22.2ZM24 4H22.2V11.3H24H25.8V4H24Z" fill="currentColor"/>
|
||||
<path id="Vector_5" d="M25.8 36.7C25.8 35.7 25 34.9 24 34.9C23 34.9 22.2 35.7 22.2 36.7H24H25.8ZM22.2 44C22.2 45 23 45.8 24 45.8C25 45.8 25.8 45 25.8 44H24H22.2ZM24 36.7H22.2V44H24H25.8V36.7H24Z" fill="currentColor"/>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 5.9 KiB |
@@ -0,0 +1,14 @@
|
||||
<svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<g id="Shape">
|
||||
<path id="Vector" d="M45.8 24H43.6C43.6 34.8 34.8 43.6 24 43.6V45.8V48C37.3 48 48 37.3 48 24H45.8ZM24 45.8V43.6C13.2 43.6 4.4 34.8 4.4 24H2.2H0C0 37.3 10.7 48 24 48V45.8ZM2.2 24H4.4C4.4 13.2 13.2 4.4 24 4.4V2.2V0C10.7 0 0 10.7 0 24H2.2ZM24 2.2V4.4C34.8 4.4 43.6 13.2 43.6 24H45.8H48C48 10.7 37.3 0 24 0V2.2Z" fill="currentColor" fill-opacity="0.5"/>
|
||||
<path id="Vector_2" d="M30.5 24H28.4C28.4 26.4 26.4 28.4 24 28.4V30.5V32.7C28.8 32.7 32.7 28.8 32.7 24H30.5ZM24 30.5V28.4C21.6 28.4 19.6 26.4 19.6 24H17.5H15.3C15.3 28.8 19.2 32.7 24 32.7V30.5ZM17.5 24H19.6C19.6 21.6 21.6 19.6 24 19.6V17.5V15.3C19.2 15.3 15.3 19.2 15.3 24H17.5ZM24 17.5V19.6C26.4 19.6 28.4 21.6 28.4 24H30.5H32.7C32.7 19.2 28.8 15.3 24 15.3V17.5Z" fill="currentColor" fill-opacity="0.5"/>
|
||||
<path id="Vector_3" d="M15.3 18.5C17.1 18.5 18.5 17.1 18.5 15.3C18.5 13.5 17.1 12 15.3 12C13.5 12 12 13.5 12 15.3C12 17.1 13.5 18.5 15.3 18.5Z" fill="currentColor"/>
|
||||
<path id="Vector_4" d="M18.5 15.3H16.4C16.4 15.9 15.9 16.4 15.3 16.4V18.5V20.7C18.3 20.7 20.7 18.3 20.7 15.3H18.5ZM15.3 18.5V16.4C14.7 16.4 14.2 15.9 14.2 15.3H12H9.8C9.8 18.3 12.3 20.7 15.3 20.7V18.5ZM12 15.3H14.2C14.2 14.7 14.7 14.2 15.3 14.2V12V9.8C12.3 9.8 9.8 12.3 9.8 15.3H12ZM15.3 12V14.2C15.9 14.2 16.4 14.7 16.4 15.3H18.5H20.7C20.7 12.3 18.3 9.8 15.3 9.8V12Z" fill="currentColor"/>
|
||||
<path id="Vector_5" d="M32.7 18.5C34.5 18.5 36 17.1 36 15.3C36 13.5 34.5 12 32.7 12C30.9 12 29.5 13.5 29.5 15.3C29.5 17.1 30.9 18.5 32.7 18.5Z" fill="currentColor"/>
|
||||
<path id="Vector_6" d="M36 15.3H33.8C33.8 15.9 33.3 16.4 32.7 16.4V18.5V20.7C35.7 20.7 38.2 18.3 38.2 15.3H36ZM32.7 18.5V16.4C32.1 16.4 31.6 15.9 31.6 15.3H29.5H27.3C27.3 18.3 29.7 20.7 32.7 20.7V18.5ZM29.5 15.3H31.6C31.6 14.7 32.1 14.2 32.7 14.2V12V9.8C29.7 9.8 27.3 12.3 27.3 15.3H29.5ZM32.7 12V14.2C33.3 14.2 33.8 14.7 33.8 15.3H36H38.2C38.2 12.3 35.7 9.8 32.7 9.8V12Z" fill="currentColor"/>
|
||||
<path id="Vector_7" d="M15.3 36C17.1 36 18.5 34.5 18.5 32.7C18.5 30.9 17.1 29.5 15.3 29.5C13.5 29.5 12 30.9 12 32.7C12 34.5 13.5 36 15.3 36Z" fill="currentColor"/>
|
||||
<path id="Vector_8" d="M18.5 32.7H16.4C16.4 33.3 15.9 33.8 15.3 33.8V36V38.2C18.3 38.2 20.7 35.7 20.7 32.7H18.5ZM15.3 36V33.8C14.7 33.8 14.2 33.3 14.2 32.7H12H9.8C9.8 35.7 12.3 38.2 15.3 38.2V36ZM12 32.7H14.2C14.2 32.1 14.7 31.6 15.3 31.6V29.5V27.3C12.3 27.3 9.8 29.7 9.8 32.7H12ZM15.3 29.5V31.6C15.9 31.6 16.4 32.1 16.4 32.7H18.5H20.7C20.7 29.7 18.3 27.3 15.3 27.3V29.5Z" fill="currentColor"/>
|
||||
<path id="Vector_9" d="M32.7 36C34.5 36 36 34.5 36 32.7C36 30.9 34.5 29.5 32.7 29.5C30.9 29.5 29.5 30.9 29.5 32.7C29.5 34.5 30.9 36 32.7 36Z" fill="currentColor"/>
|
||||
<path id="Vector_10" d="M36 32.7H33.8C33.8 33.3 33.3 33.8 32.7 33.8V36V38.2C35.7 38.2 38.2 35.7 38.2 32.7H36ZM32.7 36V33.8C32.1 33.8 31.6 33.3 31.6 32.7H29.5H27.3C27.3 35.7 29.7 38.2 32.7 38.2V36ZM29.5 32.7H31.6C31.6 32.1 32.1 31.6 32.7 31.6V29.5V27.3C29.7 27.3 27.3 29.7 27.3 32.7H29.5ZM32.7 29.5V31.6C33.3 31.6 33.8 32.1 33.8 32.7H36H38.2C38.2 29.7 35.7 27.3 32.7 27.3V29.5Z" fill="currentColor"/>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 3.0 KiB |
@@ -0,0 +1,16 @@
|
||||
<svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<g id="Shape">
|
||||
<path id="Vector" d="M45.8 24H43.6C43.6 34.8 34.8 43.6 24 43.6V45.8V48C37.3 48 48 37.3 48 24H45.8ZM24 45.8V43.6C13.2 43.6 4.4 34.8 4.4 24H2.2H0C0 37.3 10.7 48 24 48V45.8ZM2.2 24H4.4C4.4 13.2 13.2 4.4 24 4.4V2.2V0C10.7 0 0 10.7 0 24H2.2ZM24 2.2V4.4C34.8 4.4 43.6 13.2 43.6 24H45.8H48C48 10.7 37.3 0 24 0V2.2Z" fill="currentColor" fill-opacity="0.5"/>
|
||||
<path id="Vector_2" d="M24 6.5L25.3 4.8L24 3.8L22.7 4.8L24 6.5ZM24 41.4L22.7 43.2L24 44.2L25.3 43.2L24 41.4ZM24 6.5L22.7 8.3C24.4 9.6 25.8 11.8 26.8 14.6C27.8 17.4 28.4 20.7 28.4 24C28.4 27.3 27.8 30.6 26.8 33.4C25.8 36.2 24.4 38.4 22.7 39.7L24 41.4L25.3 43.2C27.9 41.2 29.8 38.2 31 34.9C32.1 31.5 32.7 27.8 32.7 24C32.7 20.2 32.1 16.4 31 13.1C29.8 9.8 27.9 6.8 25.3 4.8L24 6.5ZM24 41.4L25.3 39.7C23.6 38.4 22.1 36.2 21.1 33.4C20.1 30.6 19.6 27.3 19.6 24C19.6 20.7 20.1 17.4 21.1 14.6C22.1 11.8 23.6 9.6 25.3 8.3L24 6.5L22.7 4.8C20.1 6.8 18.2 9.8 17 13.1C15.8 16.4 15.3 20.2 15.3 24C15.3 27.8 15.8 31.5 17 34.9C18.2 38.2 20.1 41.2 22.7 43.2L24 41.4Z" fill="currentColor" fill-opacity="0.5"/>
|
||||
<path id="Vector_3" d="M15.3 17.5C16.5 17.5 17.5 16.5 17.5 15.3C17.5 14.1 16.5 13.1 15.3 13.1C14.1 13.1 13.1 14.1 13.1 15.3C13.1 16.5 14.1 17.5 15.3 17.5Z" fill="currentColor"/>
|
||||
<path id="Vector_4" d="M17.5 15.3H15.3V17.5V19.6C17.7 19.6 19.6 17.7 19.6 15.3H17.5ZM15.3 17.5V15.3H13.1H10.9C10.9 17.7 12.9 19.6 15.3 19.6V17.5ZM13.1 15.3H15.3V13.1V10.9C12.9 10.9 10.9 12.9 10.9 15.3H13.1ZM15.3 13.1V15.3H17.5H19.6C19.6 12.9 17.7 10.9 15.3 10.9V13.1Z" fill="currentColor"/>
|
||||
<path id="Vector_5" d="M32.7 17.5C33.9 17.5 34.9 16.5 34.9 15.3C34.9 14.1 33.9 13.1 32.7 13.1C31.5 13.1 30.5 14.1 30.5 15.3C30.5 16.5 31.5 17.5 32.7 17.5Z" fill="currentColor"/>
|
||||
<path id="Vector_6" d="M34.9 15.3H32.7V17.5V19.6C35.1 19.6 37.1 17.7 37.1 15.3H34.9ZM32.7 17.5V15.3H30.5H28.4C28.4 17.7 30.3 19.6 32.7 19.6V17.5ZM30.5 15.3H32.7V13.1V10.9C30.3 10.9 28.4 12.9 28.4 15.3H30.5ZM32.7 13.1V15.3H34.9H37.1C37.1 12.9 35.1 10.9 32.7 10.9V13.1Z" fill="currentColor"/>
|
||||
<path id="Vector_7" d="M10.9 26.2C12.1 26.2 13.1 25.2 13.1 24C13.1 22.8 12.1 21.8 10.9 21.8C9.7 21.8 8.7 22.8 8.7 24C8.7 25.2 9.7 26.2 10.9 26.2Z" fill="currentColor"/>
|
||||
<path id="Vector_8" d="M13.1 24H10.9V26.2V28.4C13.3 28.4 15.3 26.4 15.3 24H13.1ZM10.9 26.2V24H8.7H6.5C6.5 26.4 8.5 28.4 10.9 28.4V26.2ZM8.7 24H10.9V21.8V19.6C8.5 19.6 6.5 21.6 6.5 24H8.7ZM10.9 21.8V24H13.1H15.3C15.3 21.6 13.3 19.6 10.9 19.6V21.8Z" fill="currentColor"/>
|
||||
<path id="Vector_9" d="M37.1 26.2C38.3 26.2 39.3 25.2 39.3 24C39.3 22.8 38.3 21.8 37.1 21.8C35.9 21.8 34.9 22.8 34.9 24C34.9 25.2 35.9 26.2 37.1 26.2Z" fill="currentColor"/>
|
||||
<path id="Vector_10" d="M39.3 24H37.1V26.2V28.4C39.5 28.4 41.4 26.4 41.4 24H39.3ZM37.1 26.2V24H34.9H32.7C32.7 26.4 34.7 28.4 37.1 28.4V26.2ZM34.9 24H37.1V21.8V19.6C34.7 19.6 32.7 21.6 32.7 24H34.9ZM37.1 21.8V24H39.3H41.4C41.4 21.6 39.5 19.6 37.1 19.6V21.8Z" fill="currentColor"/>
|
||||
<path id="Vector_11" d="M24 34.9C25.2 34.9 26.2 33.9 26.2 32.7C26.2 31.5 25.2 30.5 24 30.5C22.8 30.5 21.8 31.5 21.8 32.7C21.8 33.9 22.8 34.9 24 34.9Z" fill="currentColor"/>
|
||||
<path id="Vector_12" d="M26.2 32.7H24V34.9V37.1C26.4 37.1 28.4 35.1 28.4 32.7H26.2ZM24 34.9V32.7H21.8H19.6C19.6 35.1 21.6 37.1 24 37.1V34.9ZM21.8 32.7H24V30.5V28.4C21.6 28.4 19.6 30.3 19.6 32.7H21.8ZM24 30.5V32.7H26.2H28.4C28.4 30.3 26.4 28.4 24 28.4V30.5Z" fill="currentColor"/>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 3.4 KiB |
@@ -0,0 +1,16 @@
|
||||
<svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<g id="Shape">
|
||||
<path id="Vector" d="M45.8 24H43.6C43.6 34.8 34.8 43.6 24 43.6V45.8V48C37.3 48 48 37.3 48 24H45.8ZM24 45.8V43.6C13.2 43.6 4.4 34.8 4.4 24H2.2H0C0 37.3 10.7 48 24 48V45.8ZM2.2 24H4.4C4.4 13.2 13.2 4.4 24 4.4V2.2V0C10.7 0 0 10.7 0 24H2.2ZM24 2.2V4.4C34.8 4.4 43.6 13.2 43.6 24H45.8H48C48 10.7 37.3 0 24 0V2.2Z" fill="currentColor" fill-opacity="0.5"/>
|
||||
<path id="Vector_2" d="M37.1 24H34.9C34.9 30 30 34.9 24 34.9V37.1V39.3C32.4 39.3 39.3 32.4 39.3 24H37.1ZM24 37.1V34.9C18 34.9 13.1 30 13.1 24H10.9H8.7C8.7 32.4 15.6 39.3 24 39.3V37.1ZM10.9 24H13.1C13.1 18 18 13.1 24 13.1V10.9V8.7C15.6 8.7 8.7 15.6 8.7 24H10.9ZM24 10.9V13.1C30 13.1 34.9 18 34.9 24H37.1H39.3C39.3 15.6 32.4 8.7 24 8.7V10.9Z" fill="currentColor"/>
|
||||
<path id="Vector_3" d="M24 10.9H15.8V37.1H24H32.2V10.9H24Z" fill="currentColor"/>
|
||||
<path id="Vector_4" d="M10.9 24V32.2H37.1V24V15.8H10.9V24Z" fill="currentColor"/>
|
||||
<path id="Vector_5" d="M24 17.5C25.2 17.5 26.2 16.5 26.2 15.3C26.2 14.1 25.2 13.1 24 13.1C22.8 13.1 21.8 14.1 21.8 15.3C21.8 16.5 22.8 17.5 24 17.5Z" fill="currentColor"/>
|
||||
<path id="Vector_6" d="M26.2 15.3H24V17.5V19.6C26.4 19.6 28.4 17.7 28.4 15.3H26.2ZM24 17.5V15.3H21.8H19.6C19.6 17.7 21.6 19.6 24 19.6V17.5ZM21.8 15.3H24V13.1V10.9C21.6 10.9 19.6 12.9 19.6 15.3H21.8ZM24 13.1V15.3H26.2H28.4C28.4 12.9 26.4 10.9 24 10.9V13.1Z" fill="currentColor"/>
|
||||
<path id="Vector_7" d="M24 34.9C25.2 34.9 26.2 33.9 26.2 32.7C26.2 31.5 25.2 30.5 24 30.5C22.8 30.5 21.8 31.5 21.8 32.7C21.8 33.9 22.8 34.9 24 34.9Z" fill="currentColor"/>
|
||||
<path id="Vector_8" d="M26.2 32.7H24V34.9V37.1C26.4 37.1 28.4 35.1 28.4 32.7H26.2ZM24 34.9V32.7H21.8H19.6C19.6 35.1 21.6 37.1 24 37.1V34.9ZM21.8 32.7H24V30.5V28.4C21.6 28.4 19.6 30.3 19.6 32.7H21.8ZM24 30.5V32.7H26.2H28.4C28.4 30.3 26.4 28.4 24 28.4V30.5Z" fill="currentColor"/>
|
||||
<path id="Vector_9" d="M15.3 26.2C16.5 26.2 17.5 25.2 17.5 24C17.5 22.8 16.5 21.8 15.3 21.8C14.1 21.8 13.1 22.8 13.1 24C13.1 25.2 14.1 26.2 15.3 26.2Z" fill="currentColor"/>
|
||||
<path id="Vector_10" d="M17.5 24H15.3V26.2V28.4C17.7 28.4 19.6 26.4 19.6 24H17.5ZM15.3 26.2V24H13.1H10.9C10.9 26.4 12.9 28.4 15.3 28.4V26.2ZM13.1 24H15.3V21.8V19.6C12.9 19.6 10.9 21.6 10.9 24H13.1ZM15.3 21.8V24H17.5H19.6C19.6 21.6 17.7 19.6 15.3 19.6V21.8Z" fill="currentColor"/>
|
||||
<path id="Vector_11" d="M32.7 26.2C33.9 26.2 34.9 25.2 34.9 24C34.9 22.8 33.9 21.8 32.7 21.8C31.5 21.8 30.5 22.8 30.5 24C30.5 25.2 31.5 26.2 32.7 26.2Z" fill="currentColor"/>
|
||||
<path id="Vector_12" d="M34.9 24H32.7V26.2V28.4C35.1 28.4 37.1 26.4 37.1 24H34.9ZM32.7 26.2V24H30.5H28.4C28.4 26.4 30.3 28.4 32.7 28.4V26.2ZM30.5 24H32.7V21.8V19.6C30.3 19.6 28.4 21.6 28.4 24H30.5ZM32.7 21.8V24H34.9H37.1C37.1 21.6 35.1 19.6 32.7 19.6V21.8Z" fill="currentColor"/>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 2.7 KiB |
@@ -0,0 +1,10 @@
|
||||
export { default } from "./PatternGlyph";
|
||||
export {
|
||||
PATTERN_GLYPH_OPTIONS,
|
||||
PATTERN_GLYPH_SIZE_OPTIONS,
|
||||
} from "./PatternGlyph";
|
||||
export type {
|
||||
PatternGlyphName,
|
||||
PatternGlyphProps,
|
||||
PatternGlyphSize,
|
||||
} from "./PatternGlyph";
|
||||
@@ -0,0 +1,8 @@
|
||||
<svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<g id="Shape">
|
||||
<path id="Vector" d="M43.6 24H40.9C40.9 33.3 33.3 40.9 24 40.9V43.6V46.3C36.3 46.3 46.3 36.3 46.3 24H43.6ZM24 43.6V40.9C14.7 40.9 7.1 33.3 7.1 24H4.4H1.7C1.7 36.3 11.7 46.3 24 46.3V43.6ZM4.4 24H7.1C7.1 14.7 14.7 7.1 24 7.1V4.4V1.7C11.7 1.7 1.7 11.7 1.7 24H4.4ZM24 4.4V7.1C33.3 7.1 40.9 14.7 40.9 24H43.6H46.3C46.3 11.7 36.3 1.7 24 1.7V4.4Z" fill="currentColor"/>
|
||||
<path id="Vector_2" d="M14.4 6.4L12.6 8.4C15.8 11.4 18.9 17.8 20.9 25C22.8 32.3 23.3 39.4 22 43.6L24.6 44.3L27.2 45.1C28.9 39.5 28.1 31.2 26.1 23.6C24.1 16.1 20.6 8.5 16.3 4.4L14.4 6.4Z" fill="currentColor" fill-opacity="0.5"/>
|
||||
<path id="Vector_3" d="M7.1 18.6L7 21.3C11.5 21.5 15.5 23.9 18.4 27.7C21.3 31.5 22.9 36.5 22.7 41.3L25.4 41.4L28.1 41.5C28.4 35.4 26.3 29.2 22.7 24.4C19 19.6 13.7 16.1 7.2 15.8L7.1 18.6Z" fill="currentColor" fill-opacity="0.5"/>
|
||||
<path id="Vector_4" d="M38.6 13.6L37.8 11C31.4 13 26.9 17.9 24.5 23.6C22.1 29.4 21.7 36.1 23.7 42.2L26.2 41.4L28.8 40.6C27.3 35.8 27.6 30.3 29.5 25.7C31.4 21.1 34.8 17.6 39.4 16.2L38.6 13.6Z" fill="currentColor" fill-opacity="0.5"/>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.1 KiB |
@@ -0,0 +1,9 @@
|
||||
<svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<g id="Shape">
|
||||
<path id="Vector" d="M45.8 24H43.6C43.6 34.8 34.8 43.6 24 43.6V45.8V48C37.3 48 48 37.3 48 24H45.8ZM24 45.8V43.6C13.2 43.6 4.4 34.8 4.4 24H2.2H0C0 37.3 10.7 48 24 48V45.8ZM2.2 24H4.4C4.4 13.2 13.2 4.4 24 4.4V2.2V0C10.7 0 0 10.7 0 24H2.2ZM24 2.2V4.4C34.8 4.4 43.6 13.2 43.6 24H45.8H48C48 10.7 37.3 0 24 0V2.2Z" fill="currentColor" fill-opacity="0.5"/>
|
||||
<path id="Vector_2" d="M13.8 13.8V11.8H11.8V13.8H13.8ZM29.6 13.8H31.6V11.8H29.6V13.8ZM29.6 15.7V17.7H31.6V15.7H29.6ZM13.8 15.7H11.8V17.7H13.8V15.7ZM13.8 13.8V15.7H29.6V13.8V11.8H13.8V13.8ZM29.6 13.8H27.6V15.7H29.6H31.6V13.8H29.6ZM29.6 15.7V13.8H13.8V15.7V17.7H29.6V15.7ZM13.8 15.7H15.7V13.8H13.8H11.8V15.7H13.8Z" fill="currentColor"/>
|
||||
<path id="Vector_3" d="M13.8 19.7V17.7H11.8V19.7H13.8ZM23.7 19.7H25.6V17.7H23.7V19.7ZM23.7 21.7V23.7H25.6V21.7H23.7ZM13.8 21.7H11.8V23.7H13.8V21.7ZM13.8 19.7V21.7H23.7V19.7V17.7H13.8V19.7ZM23.7 19.7H21.7V21.7H23.7H25.6V19.7H23.7ZM23.7 21.7V19.7H13.8V21.7V23.7H23.7V21.7ZM13.8 21.7H15.7V19.7H13.8H11.8V21.7H13.8Z" fill="currentColor"/>
|
||||
<path id="Vector_4" d="M13.8 25.6V23.7H11.8V25.6H13.8ZM19.7 25.6H21.7V23.7H19.7V25.6ZM19.7 27.6V29.6H21.7V27.6H19.7ZM13.8 27.6H11.8V29.6H13.8V27.6ZM13.8 25.6V27.6H19.7V25.6V23.7H13.8V25.6ZM19.7 25.6H17.7V27.6H19.7H21.7V25.6H19.7ZM19.7 27.6V25.6H13.8V27.6V29.6H19.7V27.6ZM13.8 27.6H15.7V25.6H13.8H11.8V27.6H13.8Z" fill="currentColor"/>
|
||||
<path id="Vector_5" d="M35.5 31.6H33.6C33.6 32.7 32.7 33.6 31.6 33.6V35.5V37.5C34.9 37.5 37.5 34.9 37.5 31.6H35.5ZM31.6 35.5V33.6C30.5 33.6 29.6 32.7 29.6 31.6H27.6H25.6C25.6 34.9 28.3 37.5 31.6 37.5V35.5ZM27.6 31.6H29.6C29.6 30.5 30.5 29.6 31.6 29.6V27.6V25.6C28.3 25.6 25.6 28.3 25.6 31.6H27.6ZM31.6 27.6V29.6C32.7 29.6 33.6 30.5 33.6 31.6H35.5H37.5C37.5 28.3 34.9 25.6 31.6 25.6V27.6Z" fill="currentColor"/>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.8 KiB |
@@ -0,0 +1,8 @@
|
||||
<svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<g id="Shape">
|
||||
<path id="Vector" d="M45.8 24H43.6C43.6 34.8 34.8 43.6 24 43.6V45.8V48C37.3 48 48 37.3 48 24H45.8ZM24 45.8V43.6C13.2 43.6 4.4 34.8 4.4 24H2.2H0C0 37.3 10.7 48 24 48V45.8ZM2.2 24H4.4C4.4 13.2 13.2 4.4 24 4.4V2.2V0C10.7 0 0 10.7 0 24H2.2ZM24 2.2V4.4C34.8 4.4 43.6 13.2 43.6 24H45.8H48C48 10.7 37.3 0 24 0V2.2Z" fill="currentColor" fill-opacity="0.5"/>
|
||||
<path id="Vector_2" d="M39 21C38.7 19.8 37.6 19.1 36.4 19.3C35.2 19.5 34.5 20.7 34.7 21.9L36.8 21.4L39 21ZM33.1 17.9C33.7 18.9 35.1 19.2 36.1 18.5C37.1 17.9 37.4 16.5 36.7 15.5L34.9 16.7L33.1 17.9ZM32.5 11.3C31.5 10.6 30.1 10.9 29.5 11.9C28.8 12.9 29.1 14.3 30.1 14.9L31.3 13.1L32.5 11.3ZM26.1 13.3C27.3 13.5 28.5 12.8 28.7 11.6C28.9 10.4 28.2 9.3 27 9L26.6 11.2L26.1 13.3ZM21 9C19.8 9.3 19.1 10.4 19.3 11.6C19.5 12.8 20.7 13.5 21.9 13.3L21.4 11.2L21 9ZM17.9 14.9C18.9 14.3 19.2 12.9 18.5 11.9C17.9 10.9 16.5 10.6 15.5 11.3L16.7 13.1L17.9 14.9ZM11.3 15.5C10.6 16.5 10.9 17.9 11.9 18.5C12.9 19.2 14.3 18.9 14.9 17.9L13.1 16.7L11.3 15.5ZM13.3 21.9C13.5 20.7 12.8 19.5 11.6 19.3C10.4 19.1 9.3 19.8 9 21L11.2 21.4L13.3 21.9ZM9 27C9.3 28.2 10.4 28.9 11.6 28.7C12.8 28.5 13.5 27.3 13.3 26.1L11.2 26.6L9 27ZM14.9 30.1C14.3 29.1 12.9 28.8 11.9 29.5C10.9 30.1 10.6 31.5 11.3 32.5L13.1 31.3L14.9 30.1ZM15.5 36.7C16.5 37.4 17.9 37.1 18.5 36.1C19.2 35.1 18.9 33.7 17.9 33.1L16.7 34.9L15.5 36.7ZM21.9 34.7C20.7 34.5 19.5 35.2 19.3 36.4C19.1 37.6 19.8 38.7 21 39L21.4 36.8L21.9 34.7ZM27 39C28.2 38.7 28.9 37.6 28.7 36.4C28.5 35.2 27.3 34.5 26.1 34.7L26.6 36.8L27 39ZM30.1 33.1C29.1 33.7 28.8 35.1 29.5 36.1C30.1 37.1 31.5 37.4 32.5 36.7L31.3 34.9L30.1 33.1ZM36.7 32.5C37.4 31.5 37.1 30.1 36.1 29.5C35.1 28.8 33.7 29.1 33.1 30.1L34.9 31.3L36.7 32.5ZM34.7 26.1C34.5 27.3 35.2 28.5 36.4 28.7C37.6 28.9 38.7 28.2 39 27L36.8 26.6L34.7 26.1ZM37.1 24H39.3C39.3 23 39.2 22 39 21L36.8 21.4L34.7 21.9C34.8 22.6 34.9 23.3 34.9 24H37.1ZM34.9 16.7L36.7 15.5C35.6 13.8 34.1 12.4 32.5 11.3L31.3 13.1L30.1 14.9C31.2 15.7 32.3 16.7 33.1 17.9L34.9 16.7ZM26.6 11.2L27 9C26 8.8 25 8.7 24 8.7V10.9V13.1C24.7 13.1 25.4 13.2 26.1 13.3L26.6 11.2ZM24 10.9V8.7C23 8.7 22 8.8 21 9L21.4 11.2L21.9 13.3C22.6 13.2 23.3 13.1 24 13.1V10.9ZM16.7 13.1L15.5 11.3C13.8 12.4 12.4 13.8 11.3 15.5L13.1 16.7L14.9 17.9C15.7 16.7 16.7 15.7 17.9 14.9L16.7 13.1ZM11.2 21.4L9 21C8.8 22 8.7 23 8.7 24H10.9H13.1C13.1 23.3 13.2 22.6 13.3 21.9L11.2 21.4ZM10.9 24H8.7C8.7 25 8.8 26 9 27L11.2 26.6L13.3 26.1C13.2 25.4 13.1 24.7 13.1 24H10.9ZM13.1 31.3L11.3 32.5C12.4 34.1 13.8 35.6 15.5 36.7L16.7 34.9L17.9 33.1C16.7 32.3 15.7 31.2 14.9 30.1L13.1 31.3ZM21.4 36.8L21 39C22 39.2 23 39.3 24 39.3V37.1V34.9C23.3 34.9 22.6 34.8 21.9 34.7L21.4 36.8ZM24 37.1V39.3C25 39.3 26 39.2 27 39L26.6 36.8L26.1 34.7C25.4 34.8 24.7 34.9 24 34.9V37.1ZM31.3 34.9L32.5 36.7C34.1 35.6 35.6 34.1 36.7 32.5L34.9 31.3L33.1 30.1C32.3 31.2 31.2 32.3 30.1 33.1L31.3 34.9ZM36.8 26.6L39 27C39.2 26 39.3 25 39.3 24H37.1H34.9C34.9 24.7 34.8 25.4 34.7 26.1L36.8 26.6Z" fill="currentColor"/>
|
||||
<path id="Vector_3" d="M24 28.4C26.4 28.4 28.4 26.4 28.4 24C28.4 21.6 26.4 19.6 24 19.6C21.6 19.6 19.6 21.6 19.6 24C19.6 26.4 21.6 28.4 24 28.4Z" fill="currentColor"/>
|
||||
<path id="Vector_4" d="M28.4 24H26.2C26.2 25.2 25.2 26.2 24 26.2V28.4V30.5C27.6 30.5 30.5 27.6 30.5 24H28.4ZM24 28.4V26.2C22.8 26.2 21.8 25.2 21.8 24H19.6H17.5C17.5 27.6 20.4 30.5 24 30.5V28.4ZM19.6 24H21.8C21.8 22.8 22.8 21.8 24 21.8V19.6V17.5C20.4 17.5 17.5 20.4 17.5 24H19.6ZM24 19.6V21.8C25.2 21.8 26.2 22.8 26.2 24H28.4H30.5C30.5 20.4 27.6 17.5 24 17.5V19.6Z" fill="currentColor"/>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 3.5 KiB |
@@ -0,0 +1,5 @@
|
||||
<svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<g id="Shape">
|
||||
<path id="Vector" d="M24 45.8V43.6C13.2 43.6 4.4 34.8 4.4 24H2.2H0C0 37.3 10.7 48 24 48V45.8ZM2.2 24H4.4C4.4 13.2 13.2 4.4 24 4.4V2.2V0C10.7 0 0 10.7 0 24H2.2ZM24 2.2V4.4C34.8 4.4 43.6 13.2 43.6 24H45.8H48C48 10.7 37.3 0 24 0V2.2ZM45.8 24H43.6C43.6 34.8 34.8 43.6 24 43.6V45.8V48C37.3 48 48 37.3 48 24H45.8Z" fill="currentColor" fill-opacity="0.5"/>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 473 B |
@@ -0,0 +1,8 @@
|
||||
<svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<g id="Shape">
|
||||
<path id="Vector" d="M45.8 24H43.6C43.6 34.8 34.8 43.6 24 43.6V45.8V48C37.3 48 48 37.3 48 24H45.8ZM24 45.8V43.6C13.2 43.6 4.4 34.8 4.4 24H2.2H0C0 37.3 10.7 48 24 48V45.8ZM2.2 24H4.4C4.4 13.2 13.2 4.4 24 4.4V2.2V0C10.7 0 0 10.7 0 24H2.2ZM24 2.2V4.4C34.8 4.4 43.6 13.2 43.6 24H45.8H48C48 10.7 37.3 0 24 0V2.2Z" fill="currentColor" fill-opacity="0.5"/>
|
||||
<path id="Vector_2" d="M19.6 15.3V17.5H28.4V15.3V13.1H19.6V15.3ZM28.4 15.3V17.5C29.6 17.5 30.5 18.4 30.5 19.6H32.7H34.9C34.9 16 32 13.1 28.4 13.1V15.3ZM32.7 19.6H30.5V28.4H32.7H34.9V19.6H32.7ZM32.7 28.4H30.5C30.5 29.6 29.6 30.5 28.4 30.5V32.7V34.9C32 34.9 34.9 32 34.9 28.4H32.7ZM28.4 32.7V30.5H19.6V32.7V34.9H28.4V32.7ZM19.6 32.7V30.5C18.4 30.5 17.5 29.6 17.5 28.4H15.3H13.1C13.1 32 16 34.9 19.6 34.9V32.7ZM15.3 28.4H17.5V19.6H15.3H13.1V28.4H15.3ZM15.3 19.6H17.5C17.5 18.4 18.4 17.5 19.6 17.5V15.3V13.1C16 13.1 13.1 16 13.1 19.6H15.3Z" fill="currentColor"/>
|
||||
<path id="Vector_3" d="M24 15.3H21.8V32.7H24H26.2V15.3H24ZM15.3 24V26.2H32.7V24V21.8H15.3V24Z" fill="currentColor"/>
|
||||
<path id="Vector_4" d="M28.4 24H26.2C26.2 25.2 25.2 26.2 24 26.2V28.4V30.5C27.6 30.5 30.5 27.6 30.5 24H28.4ZM24 28.4V26.2C22.8 26.2 21.8 25.2 21.8 24H19.6H17.5C17.5 27.6 20.4 30.5 24 30.5V28.4ZM19.6 24H21.8C21.8 22.8 22.8 21.8 24 21.8V19.6V17.5C20.4 17.5 17.5 20.4 17.5 24H19.6ZM24 19.6V21.8C25.2 21.8 26.2 22.8 26.2 24H28.4H30.5C30.5 20.4 27.6 17.5 24 17.5V19.6Z" fill="currentColor"/>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.5 KiB |
@@ -0,0 +1,7 @@
|
||||
<svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<g id="Shape">
|
||||
<path id="Vector" d="M45.8 24H43.6C43.6 34.8 34.8 43.6 24 43.6V45.8V48C37.3 48 48 37.3 48 24H45.8ZM24 45.8V43.6C13.2 43.6 4.4 34.8 4.4 24H2.2H0C0 37.3 10.7 48 24 48V45.8ZM2.2 24H4.4C4.4 13.2 13.2 4.4 24 4.4V2.2V0C10.7 0 0 10.7 0 24H2.2ZM24 2.2V4.4C34.8 4.4 43.6 13.2 43.6 24H45.8H48C48 10.7 37.3 0 24 0V2.2Z" fill="currentColor" fill-opacity="0.5"/>
|
||||
<path id="Vector_2" d="M26.2 10.9C26.2 9.7 25.2 8.7 24 8.7C22.8 8.7 21.8 9.7 21.8 10.9H24H26.2ZM24 24H21.8C21.8 24.8 22.3 25.6 23 26L24 24ZM31.7 30.3C32.8 30.9 34.1 30.4 34.7 29.3C35.2 28.3 34.8 26.9 33.7 26.4L32.7 28.4L31.7 30.3ZM24 10.9H21.8V24H24H26.2V10.9H24ZM24 24L23 26L31.7 30.3L32.7 28.4L33.7 26.4L25 22L24 24Z" fill="currentColor" fill-opacity="0.5"/>
|
||||
<path id="Vector_3" d="M4.4 24C4.4 25.2 5.3 26.2 6.5 26.2C7.8 26.2 8.7 25.2 8.7 24H6.5H4.4ZM39.3 24C39.3 25.2 40.2 26.2 41.4 26.2C42.7 26.2 43.6 25.2 43.6 24H41.4H39.3ZM9 21C9.3 19.8 8.5 18.7 7.3 18.5C6.1 18.2 5 19 4.7 20.2L6.9 20.6L9 21ZM7.7 13.1C7 14.1 7.3 15.4 8.3 16.1C9.3 16.8 10.6 16.5 11.3 15.5L9.5 14.3L7.7 13.1ZM15.5 11.3C16.5 10.6 16.8 9.3 16.1 8.3C15.4 7.3 14.1 7 13.1 7.7L14.3 9.5L15.5 11.3ZM20.2 4.7C19 5 18.2 6.1 18.5 7.3C18.7 8.5 19.8 9.3 21 9L20.6 6.9L20.2 4.7ZM27 9C28.2 9.3 29.3 8.5 29.5 7.3C29.8 6.1 29 5 27.8 4.7L27.4 6.9L27 9ZM34.9 7.7C33.9 7 32.5 7.3 31.9 8.3C31.2 9.3 31.5 10.6 32.5 11.3L33.7 9.5L34.9 7.7ZM36.7 15.5C37.4 16.5 38.7 16.8 39.7 16.1C40.7 15.4 41 14.1 40.3 13.1L38.5 14.3L36.7 15.5ZM43.3 20.2C43 19 41.9 18.2 40.7 18.5C39.5 18.7 38.7 19.8 39 21L41.1 20.6L43.3 20.2ZM6.5 24H8.7C8.7 23 8.8 22 9 21L6.9 20.6L4.7 20.2C4.5 21.4 4.4 22.7 4.4 24H6.5ZM9.5 14.3L11.3 15.5C11.9 14.7 12.5 13.9 13.2 13.2L11.7 11.7L10.1 10.1C9.2 11 8.4 12 7.7 13.1L9.5 14.3ZM11.7 11.7L13.2 13.2C13.9 12.5 14.7 11.9 15.5 11.3L14.3 9.5L13.1 7.7C12 8.4 11 9.2 10.1 10.1L11.7 11.7ZM20.6 6.9L21 9C22 8.8 23 8.7 24 8.7V6.5V4.4C22.7 4.4 21.4 4.5 20.2 4.7L20.6 6.9ZM24 6.5V8.7C25 8.7 26 8.8 27 9L27.4 6.9L27.8 4.7C26.6 4.5 25.3 4.4 24 4.4V6.5ZM33.7 9.5L32.5 11.3C33.3 11.9 34.1 12.5 34.8 13.2L36.3 11.7L37.9 10.1C37 9.2 36 8.4 34.9 7.7L33.7 9.5ZM36.3 11.7L34.8 13.2C35.5 13.9 36.1 14.7 36.7 15.5L38.5 14.3L40.3 13.1C39.6 12 38.8 11 37.9 10.1L36.3 11.7ZM41.1 20.6L39 21C39.2 22 39.3 23 39.3 24H41.4H43.6C43.6 22.7 43.5 21.4 43.3 20.2L41.1 20.6Z" fill="currentColor"/>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 2.3 KiB |
@@ -0,0 +1,10 @@
|
||||
<svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<g id="Shape">
|
||||
<path id="Vector" d="M26.2 15.3H24C24 20.1 20.1 24 15.3 24V26.2V28.4C22.5 28.4 28.4 22.5 28.4 15.3H26.2ZM15.3 26.2V24C10.5 24 6.5 20.1 6.5 15.3H4.4H2.2C2.2 22.5 8 28.4 15.3 28.4V26.2ZM4.4 15.3H6.5C6.5 10.5 10.5 6.5 15.3 6.5V4.4V2.2C8 2.2 2.2 8 2.2 15.3H4.4ZM15.3 4.4V6.5C20.1 6.5 24 10.5 24 15.3H26.2H28.4C28.4 8 22.5 2.2 15.3 2.2V4.4Z" fill="currentColor" fill-opacity="0.5"/>
|
||||
<path id="Vector_2" d="M43.6 32.7H41.4C41.4 37.5 37.5 41.4 32.7 41.4V43.6V45.8C39.9 45.8 45.8 39.9 45.8 32.7H43.6ZM32.7 43.6V41.4C27.9 41.4 24 37.5 24 32.7H21.8H19.6C19.6 39.9 25.5 45.8 32.7 45.8V43.6ZM21.8 32.7H24C24 27.9 27.9 24 32.7 24V21.8V19.6C25.5 19.6 19.6 25.5 19.6 32.7H21.8ZM32.7 21.8V24C37.5 24 41.4 27.9 41.4 32.7H43.6H45.8C45.8 25.5 39.9 19.6 32.7 19.6V21.8Z" fill="currentColor" fill-opacity="0.5"/>
|
||||
<path id="Vector_3" d="M15.3 19.6C17.7 19.6 19.6 17.7 19.6 15.3C19.6 12.9 17.7 10.9 15.3 10.9C12.9 10.9 10.9 12.9 10.9 15.3C10.9 17.7 12.9 19.6 15.3 19.6Z" fill="currentColor"/>
|
||||
<path id="Vector_4" d="M19.6 15.3H17.5C17.5 16.5 16.5 17.5 15.3 17.5V19.6V21.8C18.9 21.8 21.8 18.9 21.8 15.3H19.6ZM15.3 19.6V17.5C14.1 17.5 13.1 16.5 13.1 15.3H10.9H8.7C8.7 18.9 11.7 21.8 15.3 21.8V19.6ZM10.9 15.3H13.1C13.1 14.1 14.1 13.1 15.3 13.1V10.9V8.7C11.7 8.7 8.7 11.7 8.7 15.3H10.9ZM15.3 10.9V13.1C16.5 13.1 17.5 14.1 17.5 15.3H19.6H21.8C21.8 11.7 18.9 8.7 15.3 8.7V10.9Z" fill="currentColor"/>
|
||||
<path id="Vector_5" d="M32.7 37.1C35.1 37.1 37.1 35.1 37.1 32.7C37.1 30.3 35.1 28.4 32.7 28.4C30.3 28.4 28.4 30.3 28.4 32.7C28.4 35.1 30.3 37.1 32.7 37.1Z" fill="currentColor"/>
|
||||
<path id="Vector_6" d="M37.1 32.7H34.9C34.9 33.9 33.9 34.9 32.7 34.9V37.1V39.3C36.3 39.3 39.3 36.3 39.3 32.7H37.1ZM32.7 37.1V34.9C31.5 34.9 30.5 33.9 30.5 32.7H28.4H26.2C26.2 36.3 29.1 39.3 32.7 39.3V37.1ZM28.4 32.7H30.5C30.5 31.5 31.5 30.5 32.7 30.5V28.4V26.2C29.1 26.2 26.2 29.1 26.2 32.7H28.4ZM32.7 28.4V30.5C33.9 30.5 34.9 31.5 34.9 32.7H37.1H39.3C39.3 29.1 36.3 26.2 32.7 26.2V28.4Z" fill="currentColor"/>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 2.0 KiB |
@@ -0,0 +1,10 @@
|
||||
<svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<g id="Shape">
|
||||
<path id="Vector" d="M45.8 24H43.6C43.6 34.8 34.8 43.6 24 43.6V45.8V48C37.3 48 48 37.3 48 24H45.8ZM24 45.8V43.6C13.2 43.6 4.4 34.8 4.4 24H2.2H0C0 37.3 10.7 48 24 48V45.8ZM2.2 24H4.4C4.4 13.2 13.2 4.4 24 4.4V2.2V0C10.7 0 0 10.7 0 24H2.2ZM24 2.2V4.4C34.8 4.4 43.6 13.2 43.6 24H45.8H48C48 10.7 37.3 0 24 0V2.2Z" fill="currentColor" fill-opacity="0.5"/>
|
||||
<path id="Vector_2" d="M29.5 11.2H27.3C27.3 13 25.8 14.5 24 14.5V16.7V18.9C28.2 18.9 31.6 15.5 31.6 11.2H29.5ZM24 16.7V14.5C22.2 14.5 20.7 13 20.7 11.2H18.5H16.4C16.4 15.5 19.8 18.9 24 18.9V16.7ZM18.5 11.2H20.7C20.7 9.4 22.2 8 24 8V5.8V3.6C19.8 3.6 16.4 7 16.4 11.2H18.5ZM24 5.8V8C25.8 8 27.3 9.4 27.3 11.2H29.5H31.6C31.6 7 28.2 3.6 24 3.6V5.8Z" fill="currentColor"/>
|
||||
<path id="Vector_3" d="M18.5 30.9H16.4C16.4 32.7 14.9 34.1 13.1 34.1V36.3V38.5C17.3 38.5 20.7 35.1 20.7 30.9H18.5ZM13.1 36.3V34.1C11.3 34.1 9.8 32.7 9.8 30.9H7.6H5.5C5.5 35.1 8.9 38.5 13.1 38.5V36.3ZM7.6 30.9H9.8C9.8 29.1 11.3 27.6 13.1 27.6V25.4V23.2C8.9 23.2 5.5 26.7 5.5 30.9H7.6ZM13.1 25.4V27.6C14.9 27.6 16.4 29.1 16.4 30.9H18.5H20.7C20.7 26.7 17.3 23.2 13.1 23.2V25.4Z" fill="currentColor"/>
|
||||
<path id="Vector_4" d="M40.4 30.9H38.2C38.2 32.7 36.7 34.1 34.9 34.1V36.3V38.5C39.1 38.5 42.5 35.1 42.5 30.9H40.4ZM34.9 36.3V34.1C33.1 34.1 31.6 32.7 31.6 30.9H29.5H27.3C27.3 35.1 30.7 38.5 34.9 38.5V36.3ZM29.5 30.9H31.6C31.6 29.1 33.1 27.6 34.9 27.6V25.4V23.2C30.7 23.2 27.3 26.7 27.3 30.9H29.5ZM34.9 25.4V27.6C36.7 27.6 38.2 29.1 38.2 30.9H40.4H42.5C42.5 26.7 39.1 23.2 34.9 23.2V25.4Z" fill="currentColor"/>
|
||||
<path id="Vector_5" d="M18.5 27.6V29.8H29.5V27.6V25.4H18.5V27.6Z" fill="currentColor"/>
|
||||
<path id="Vector_6" d="M27.9 29.1C28.8 30 30.1 30 31 29.1C31.8 28.3 31.8 26.9 31 26.1L29.5 27.6L27.9 29.1ZM25.5 20.6C24.7 19.8 23.3 19.8 22.5 20.6C21.6 21.5 21.6 22.8 22.5 23.7L24 22.1L25.5 20.6ZM29.5 27.6L31 26.1L25.5 20.6L24 22.1L22.5 23.7L27.9 29.1L29.5 27.6Z" fill="currentColor"/>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 2.0 KiB |
@@ -0,0 +1,9 @@
|
||||
<svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<g id="Shape">
|
||||
<path id="Vector" d="M45.8 24H43.6C43.6 34.8 34.8 43.6 24 43.6V45.8V48C37.3 48 48 37.3 48 24H45.8ZM24 45.8V43.6C13.2 43.6 4.4 34.8 4.4 24H2.2H0C0 37.3 10.7 48 24 48V45.8ZM2.2 24H4.4C4.4 13.2 13.2 4.4 24 4.4V2.2V0C10.7 0 0 10.7 0 24H2.2ZM24 2.2V4.4C34.8 4.4 43.6 13.2 43.6 24H45.8H48C48 10.7 37.3 0 24 0V2.2Z" fill="currentColor" fill-opacity="0.5"/>
|
||||
<path id="Vector_2" d="M37.1 24H34.9C34.9 30 30 34.9 24 34.9V37.1V39.3C32.4 39.3 39.3 32.4 39.3 24H37.1ZM24 37.1V34.9C18 34.9 13.1 30 13.1 24H10.9H8.7C8.7 32.4 15.6 39.3 24 39.3V37.1ZM10.9 24H13.1C13.1 18 18 13.1 24 13.1V10.9V8.7C15.6 8.7 8.7 15.6 8.7 24H10.9ZM24 10.9V13.1C30 13.1 34.9 18 34.9 24H37.1H39.3C39.3 15.6 32.4 8.7 24 8.7V10.9Z" fill="currentColor"/>
|
||||
<path id="Vector_3" d="M28.4 24H26.2C26.2 25.2 25.2 26.2 24 26.2V28.4V30.5C27.6 30.5 30.5 27.6 30.5 24H28.4ZM24 28.4V26.2C22.8 26.2 21.8 25.2 21.8 24H19.6H17.5C17.5 27.6 20.4 30.5 24 30.5V28.4ZM19.6 24H21.8C21.8 22.8 22.8 21.8 24 21.8V19.6V17.5C20.4 17.5 17.5 20.4 17.5 24H19.6ZM24 19.6V21.8C25.2 21.8 26.2 22.8 26.2 24H28.4H30.5C30.5 20.4 27.6 17.5 24 17.5V19.6Z" fill="currentColor"/>
|
||||
<path id="Vector_4" d="M26.2 2.2C26.2 1 25.2 0 24 0C22.8 0 21.8 1 21.8 2.2H24H26.2ZM21.8 10.9C21.8 12.1 22.8 13.1 24 13.1C25.2 13.1 26.2 12.1 26.2 10.9H24H21.8ZM26.2 19.6C26.2 18.4 25.2 17.5 24 17.5C22.8 17.5 21.8 18.4 21.8 19.6H24H26.2ZM21.8 28.4C21.8 29.6 22.8 30.5 24 30.5C25.2 30.5 26.2 29.6 26.2 28.4H24H21.8ZM26.2 37.1C26.2 35.9 25.2 34.9 24 34.9C22.8 34.9 21.8 35.9 21.8 37.1H24H26.2ZM21.8 41.4C21.8 42.7 22.8 43.6 24 43.6C25.2 43.6 26.2 42.7 26.2 41.4H24H21.8ZM24 2.2H21.8V10.9H24H26.2V2.2H24ZM24 19.6H21.8V28.4H24H26.2V19.6H24ZM24 37.1H21.8V41.4H24H26.2V37.1H24Z" fill="currentColor"/>
|
||||
<path id="Vector_5" d="M2.2 21.8C1 21.8 0 22.8 0 24C0 25.2 1 26.2 2.2 26.2V24V21.8ZM10.9 26.2C12.1 26.2 13.1 25.2 13.1 24C13.1 22.8 12.1 21.8 10.9 21.8V24V26.2ZM19.6 21.8C18.4 21.8 17.5 22.8 17.5 24C17.5 25.2 18.4 26.2 19.6 26.2V24V21.8ZM28.4 26.2C29.6 26.2 30.5 25.2 30.5 24C30.5 22.8 29.6 21.8 28.4 21.8V24V26.2ZM37.1 21.8C35.9 21.8 34.9 22.8 34.9 24C34.9 25.2 35.9 26.2 37.1 26.2V24V21.8ZM41.4 26.2C42.7 26.2 43.6 25.2 43.6 24C43.6 22.8 42.7 21.8 41.4 21.8V24V26.2ZM2.2 24V26.2H10.9V24V21.8H2.2V24ZM19.6 24V26.2H28.4V24V21.8H19.6V24ZM37.1 24V26.2H41.4V24V21.8H37.1V24Z" fill="currentColor"/>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 2.4 KiB |
@@ -0,0 +1,10 @@
|
||||
<svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<g id="Shape">
|
||||
<path id="Vector" d="M45.8 24H43.6C43.6 34.8 34.8 43.6 24 43.6V45.8V48C37.3 48 48 37.3 48 24H45.8ZM24 45.8V43.6C13.2 43.6 4.4 34.8 4.4 24H2.2H0C0 37.3 10.7 48 24 48V45.8ZM2.2 24H4.4C4.4 13.2 13.2 4.4 24 4.4V2.2V0C10.7 0 0 10.7 0 24H2.2ZM24 2.2V4.4C34.8 4.4 43.6 13.2 43.6 24H45.8H48C48 10.7 37.3 0 24 0V2.2Z" fill="currentColor" fill-opacity="0.5"/>
|
||||
<path id="Vector_2" d="M12.8 13.7V12.4H11.4V13.7H12.8ZM27.9 35.7L26.9 36.6L29.2 39V35.7H27.9ZM12.8 32.9H11.4V34.3H12.8V32.9ZM12.8 13.7V15.1H22.4V13.7V12.4H12.8V13.7ZM22.4 13.7V15.1C23.3 15.1 24.4 15.6 25.2 16.4C26 17.2 26.5 18.3 26.5 19.2H27.9H29.2C29.2 17.4 28.4 15.7 27.1 14.5C25.9 13.3 24.2 12.4 22.4 12.4V13.7ZM27.9 19.2H26.5V35.7H27.9H29.2V19.2H27.9ZM27.9 35.7L28.8 34.7C27.5 33.3 25.7 31.5 22.4 31.5V32.9V34.3C24.5 34.3 25.6 35.3 26.9 36.6L27.9 35.7ZM22.4 32.9V31.5H12.8V32.9V34.3H22.4V32.9ZM12.8 32.9H14.2V13.7H12.8H11.4V32.9H12.8Z" fill="currentColor"/>
|
||||
<path id="Vector_3" d="M34.7 13.7H36.1V12.4H34.7V13.7ZM19.7 35.7H18.3V39L20.6 36.6L19.7 35.7ZM34.7 32.9V34.3H36.1V32.9H34.7ZM34.7 13.7V12.4H25.1V13.7V15.1H34.7V13.7ZM25.1 13.7V12.4C23.3 12.4 21.6 13.3 20.4 14.5C19.2 15.7 18.3 17.4 18.3 19.2H19.7H21C21 18.3 21.5 17.2 22.3 16.4C23.2 15.6 24.2 15.1 25.1 15.1V13.7ZM19.7 19.2H18.3V35.7H19.7H21V19.2H19.7ZM19.7 35.7L20.6 36.6C22 35.3 23 34.3 25.1 34.3V32.9V31.5C21.8 31.5 20.1 33.3 18.7 34.7L19.7 35.7ZM25.1 32.9V34.3H34.7V32.9V31.5H25.1V32.9ZM34.7 32.9H36.1V13.7H34.7H33.4V32.9H34.7Z" fill="currentColor"/>
|
||||
<path id="Vector_4" d="M23.8 24.7C25.3 24.7 26.5 23.5 26.5 22C26.5 20.4 25.3 19.2 23.8 19.2C22.3 19.2 21 20.4 21 22C21 23.5 22.3 24.7 23.8 24.7Z" fill="currentColor"/>
|
||||
<path id="Vector_5" d="M26.5 22H25.1C25.1 22.7 24.5 23.3 23.8 23.3V24.7V26.1C26 26.1 27.9 24.2 27.9 22H26.5ZM23.8 24.7V23.3C23 23.3 22.4 22.7 22.4 22H21H19.7C19.7 24.2 21.5 26.1 23.8 26.1V24.7ZM21 22H22.4C22.4 21.2 23 20.6 23.8 20.6V19.2V17.8C21.5 17.8 19.7 19.7 19.7 22H21ZM23.8 19.2V20.6C24.5 20.6 25.1 21.2 25.1 22H26.5H27.9C27.9 19.7 26 17.8 23.8 17.8V19.2Z" fill="currentColor"/>
|
||||
<path id="Vector_6" d="M23.8 24.7H22.4V32.9H23.8H25.1V24.7H23.8Z" fill="currentColor"/>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 2.2 KiB |
@@ -54,13 +54,13 @@ Urgency is constant under capitalism. There will always be another crisis, anoth
|
||||
|
||||
Rest as strategy is the hardest thing to accept because rest isn't something you earn after the work is done. The work is never done. Rest has to be structural, built into how you operate, or it won't happen.
|
||||
|
||||
Schedule breaks into your calendar the same way you schedule meetings. Not "take a break when you need it" no one ever needs it until they're already destroyed. Monthly week-long breaks where nothing happens. Quarterly weekend retreats that aren't about work. Built-in downtime between major projects.
|
||||
Schedule breaks into your calendar the same way you schedule meetings. Not "take a break when you need it." No one ever needs it until they're already destroyed. Monthly week-long breaks where nothing happens. Quarterly weekend retreats that aren't about work. Built-in downtime between major projects.
|
||||
|
||||
Normalize people being unavailable. If someone says they can't take something on, that's the end of the discussion. No guilt, no pressure, no subtle implications that they're not committed enough. The person who protects their capacity is more valuable than the person who destroys themselves.
|
||||
|
||||
Building structures for sustainability isn't about being nice to ourselves. It's about building movements that can actually win. That means rotation so knowledge spreads and no one becomes indispensable. That means preserving institutional memory so learning accumulates. That means limiting scope so the work remains possible. That means treating rest as strategy, not weakness.
|
||||
|
||||
Rotation means no role is permanent. The person coordinating meetings, managing the budget, maintaining relationships with allied groups, running the communication channels all of it rotates on a set schedule. Six months, a year, whatever makes sense for the role and the group.
|
||||
Rotation means no role is permanent. The person coordinating meetings, managing the budget, maintaining relationships with allied groups, running the communication channels. All of it rotates on a set schedule. Six months, a year, whatever makes sense for the role and the group.
|
||||
|
||||
Preserving institutional memory becomes critical when someone burns out and leaves, because they take everything they learned with them. How to navigate specific relationships. What strategies failed before. Why certain decisions were made. The new person starts from zero, makes the same mistakes, learns the same lessons. The group never accumulates knowledge, it just cycles through individuals.
|
||||
|
||||
|
||||
@@ -14,6 +14,8 @@ background:
|
||||
color: "#FFF1D4"
|
||||
---
|
||||
|
||||
Your organizing group lives in a Discord server. Your mutual aid network coordinates through a Facebook group. Your worker coop runs on Slack. Every conversation, every decision, every conflict gets filtered through platforms designed by corporations to maximize engagement, which is just a polite word for addiction.
|
||||
|
||||
This isn't neutral. The medium shapes the message, and algorithmic mediation shapes how we relate to each other in ways that actively undermine the solidarity we're trying to build.
|
||||
|
||||
Watch what happens in a group chat when someone raises a contentious point. The conversation accelerates. People respond immediately, reacting to the last message without absorbing the whole thread. Nuance disappears. Someone misreads tone, someone else gets defensive, and within twenty minutes you've got a full-blown conflict that wouldn't have happened in a room together.
|
||||
@@ -56,10 +58,6 @@ Stop letting convenience dictate strategy. Yes, everyone's already on Facebook.
|
||||
|
||||
Learn about alternatives. Research platform coops, explore democratic technology projects, understand what's possible beyond corporate platforms. Support these projects with money and labor when you can. Develop technical literacy within your group. Not everyone needs to code, but someone should understand how your tools work and what the alternatives are.
|
||||
|
||||
The anti-social network isn't about rejecting technology. It's about refusing to let corporate platforms mediate all human connection and political organizing. It's about building tools that serve us rather than extract from us. It's about remembering that the most important networks are the ones between actual people, in actual space, building actual power together.
|
||||
|
||||
Your organizing group lives in a Discord server. Your mutual aid network coordinates through a Facebook group. Your worker coop runs on Slack. Every conversation, every decision, every conflict gets filtered through platforms designed by corporations to maximize engagement, which is just a polite word for addiction.
|
||||
|
||||
The cooperative model also solves the governance problem. When users control the platform, they can decide collectively what features to build, what data to collect, how to handle moderation. This is democratic technology: tools that serve their users rather than extracting value from them.
|
||||
|
||||
Use print for things that matter: analysis that took time to develop, information the community needs, calls to action, documentation of victories and lessons. Use it to create physical artifacts of your work that persist beyond the lifespan of any platform.
|
||||
@@ -75,3 +73,5 @@ Technology is shaped by the social relations of its production. Capitalist techn
|
||||
This means investing in democratic alternatives. It means learning technical skills or supporting people who have them. It means treating digital infrastructure as seriously as physical infrastructure. It means refusing to accept that organizing must happen on terms set by corporations.
|
||||
|
||||
Use print strategically and beautifully. Make things people want to keep and share. Use risograph, xerox, whatever you have access to. The Secret Riso Project shows that small-scale print production can be both accessible and powerful.
|
||||
|
||||
The anti-social network isn't about rejecting technology. It's about refusing to let corporate platforms mediate all human connection and political organizing. It's about building tools that serve us rather than extract from us. It's about remembering that the most important networks are the ones between actual people, in actual space, building actual power together.
|
||||
@@ -38,6 +38,8 @@ Rotating responsibilities prevents the accumulation of informal power. Your grou
|
||||
|
||||
Name the roles explicitly. Note-taker, treasurer, communications coordinator, whatever you need. Write down what each role does. This isn't about creating a bureaucracy, it's about making power visible so it can be shared.
|
||||
|
||||
Rotate them. Six months, a year, whatever makes sense. This prevents anyone from accumulating informal power through being the only person who knows how things work. It also distributes skills across the group.
|
||||
|
||||
When someone rotates out, they document what they did and train their replacement. Knowledge can't be hoarded. If only one person understands the finances or the website or the coalition relationships, they have structural power whether you acknowledge it or not.
|
||||
|
||||
Keep records. Meeting notes, decisions made, rationales discussed. This isn't paranoia, it's memory. Without records, the people who were there control the narrative.
|
||||
@@ -64,12 +66,10 @@ When your worker coop can't make decisions, when your mutual aid network splinte
|
||||
|
||||
The choice isn't between structure and freedom. It's between explicit structures that can be challenged and changed, and implicit structures that operate in the shadows. One enables democracy. The other prevents it.
|
||||
|
||||
Build structures. Make them visible. Change them when they don't work. That's not selling out, that's how you build something that lasts.
|
||||
|
||||
Name who can bring proposals and how they get on the agenda. Otherwise the people who are most comfortable speaking up or who talk to the right people beforehand set the agenda by default.
|
||||
|
||||
Rotate them. Six months, a year, whatever makes sense. This prevents anyone from accumulating informal power through being the only person who knows how things work. It also distributes skills across the group.
|
||||
|
||||
Information access is crucial because hidden information is hidden power. If discussions happen in private chats, if decisions get made in informal hangouts, if context lives in the heads of a few long-timers, you have an invisible hierarchy.
|
||||
|
||||
Make information accessible. Use shared documents, public channels, whatever works. The point is that anyone in the group can access what they need to participate fully.
|
||||
|
||||
Build structures. Make them visible. Change them when they don't work. That's not selling out, that's how you build something that lasts.
|
||||
@@ -34,10 +34,6 @@ This requires the original core to accept that different groups will operate dif
|
||||
|
||||
Growth means change, and you can't add people without things changing. New people bring new perspectives and energy. If your group can't absorb that, the problem isn't them.
|
||||
|
||||
These practices make change manageable. They create structures so integration doesn't depend on heroes working themselves to death. The alternative is slow collapse: your best people burn out, new people drift away, eventually no one's left.
|
||||
|
||||
You need more people. You need them to actually become part of what you're building. This is how.
|
||||
|
||||
Staged responsibility means not giving new people important roles immediately. Map which tasks need deep organizational knowledge and which just need someone willing. Coalition negotiations? That needs context. Social media? Less so. Note-taking? Anyone can do it.
|
||||
|
||||
Month one: observe and take simple tasks. Show up, help with setup, take notes. Month two: join working groups, contribute to discussions, take on contained tasks. Month three onward: more autonomy as understanding deepens.
|
||||
@@ -51,3 +47,7 @@ Document processes, but recognize documentation misses most of what matters. Mee
|
||||
Every few months, talk through key moments: actions that worked, conflicts resolved, important decisions. Make sure newer members hear it. The informal spaces matter too. Pre-meeting chat, post-action talk, group messages. This is where people learn what actually gets valued.
|
||||
|
||||
Split into smaller working groups with real autonomy. Five to ten people, focused on specific work. They coordinate through assemblies but operate independently. A new person joining a six-person group can be effectively integrated. A new person joining a forty-person meeting just gets lost.
|
||||
|
||||
These practices make change manageable. They create structures so integration doesn't depend on heroes working themselves to death. The alternative is slow collapse: your best people burn out, new people drift away, eventually no one's left.
|
||||
|
||||
You need more people. You need them to actually become part of what you're building. This is how.
|
||||
@@ -50,8 +50,6 @@ The point isn't specific tools, it's the principle: use encrypted ephemeral chan
|
||||
|
||||
Stop treating institutional memory as a luxury you'll get to when things calm down. Things won't calm down. The crisis is permanent under capitalism. Either you build systems that preserve knowledge despite constant turbulence, or you accept endless cycles of reinvention that exhaust everyone involved.
|
||||
|
||||
Documentation isn't about bureaucracy. It's about refusing to let hard-won knowledge disappear when it could help the next person trying to do the work. It's about building organizations that can outlast any individual member. It's about sustainability in the ruins.
|
||||
|
||||
The critical distinction: these repositories contain procedures, not personal data. Document the how of your work without including identifying information. How to verify requests, how to coordinate pickups, how to handle disputes. The process, not the people.
|
||||
|
||||
Build redundancy into your system. Multiple members should have access to documentation repositories. Critical information should exist in at least two forms. If the wiki goes down or someone loses the password, you need backup. Consider quarterly reviews where coordinators check that documentation remains current and accessible.
|
||||
@@ -61,3 +59,5 @@ Not everything needs the same security level. Public-facing resources like volun
|
||||
Case-specific details stay in Signal. Personal information stays in Signal. Real-time sensitive coordination stays in Signal. General procedures, lessons learned, organizational structures can move to documentation. The line is whether the information could identify or harm specific people. If yes, it stays ephemeral. If no, it gets preserved.
|
||||
|
||||
The open source model offers useful parallels here. Successful projects separate community discussion, which happens in ephemeral channels, from documentation, which lives in wikis and readme files. They have contribution guidelines, architecture decisions, and troubleshooting guides that persist. The knowledge exists independently of any individual contributor. When someone leaves, their specific conversations may disappear, but their contributions to understanding how the system works remain.
|
||||
|
||||
Documentation isn't about bureaucracy. It's about refusing to let hard-won knowledge disappear when it could help the next person trying to do the work. It's about building organizations that can outlast any individual member. It's about sustainability in the ruins.
|
||||
@@ -208,6 +208,8 @@ Full folder map and PNG audit: **[guides/static-assets.md](./guides/static-asset
|
||||
|
||||
- **Imports:** use **`asset/icon`** (named **`Icon`** component), **`asset/Logo`**, **`asset/Avatar`**, etc.—same rule as **`buttons/Button`**, no top-level **`asset/index.tsx`** barrel.
|
||||
- **`asset/icon/`** — **`Icon.tsx`** maps icon names to SVG modules beside it (`arrow_back.svg`, …); **`index.tsx`** re-exports **`Icon`** and **`ICON_NAME_OPTIONS`** / types.
|
||||
- **`asset/DiagramGlyph/`** — Figma [**Asset / Diagram Glyph**](https://www.figma.com/design/agv0VBLiBlcnSAaiAORgPR/Community-Rule-System?node-id=25359-65776) (25359:65776). 17 inline SVGs on a 48 viewBox; paths use `currentColor`.
|
||||
- **`asset/PatternGlyph/`** — Figma [**Asset / Pattern Glyph**](https://www.figma.com/design/agv0VBLiBlcnSAaiAORgPR/Community-Rule-System?node-id=25449-199) (25449:199). 18 zine pattern marks; same `currentColor` contract.
|
||||
- **`public/assets/`** — lowercase kebab-case folders: **`icons/`**, **`logos/`** (incl. **`logos/partners/`**), **`marketing/`**, **`case-study/`**, **`shapes/`**, **`vector/`**, **`template-mark/`**, **`share/`**. Use helpers in **`lib/assetUtils.ts`** (`ASSETS`, `partnerLogoPath`, `vectorMarkPath`, …).
|
||||
- **`public/assets/vector/<slug>.svg`** — Figma Asset / Vector marks (same kebab **`slug`** convention as **`public/assets/template-mark/`**). Use **`vectorMarkPath(slug)`**.
|
||||
- **`asset/Logo`** — Community Rule **`Logo`** component (folder PascalCase, like **`Avatar/`**); brand SVG at **`public/assets/logos/community-rule.svg`**.
|
||||
|
||||
@@ -11,7 +11,7 @@ public/
|
||||
icons/ # UI chrome (close, help) + FeatureGrid card glyphs
|
||||
logos/ # Brand + social lockups
|
||||
partners/ # Logo wall partner SVGs (kebab org slug)
|
||||
marketing/ # Hero, OG share images, feature panels, section numbers, avatars, banners, book cover
|
||||
marketing/ # Hero, OG share images, feature panels, section numbers, avatars, banners, book cover, how-it-works flow screens
|
||||
case-study/ # CaseStudy card SVG artwork (canonical)
|
||||
shapes/ # Decorative ornaments (stats, quotes, unions, content shapes)
|
||||
vector/ # Use-case group marks
|
||||
|
||||
@@ -122,6 +122,11 @@ export function featurePanelPath(key: FeaturePanelKey): string {
|
||||
return `assets/marketing/feature-${key}.svg`;
|
||||
}
|
||||
|
||||
/** Flow-screen figures on `/how-it-works`. */
|
||||
export function howItWorksFigureAssetPath(slug: string): string {
|
||||
return `assets/marketing/how-it-works/${slug}.png`;
|
||||
}
|
||||
|
||||
/** Feature-grid card glyphs in `public/assets/icons/` (Figma **18632:10668**). */
|
||||
export type FeatureIconKey =
|
||||
| "git-branch"
|
||||
|
||||
@@ -0,0 +1,101 @@
|
||||
import type howItWorksPage from "../messages/en/pages/howItWorks.json";
|
||||
|
||||
const HOW_IT_WORKS_WORDS_PER_MINUTE = 200;
|
||||
|
||||
export const HOW_IT_WORKS_RULE_CARD_ID = "how-it-works-rule-card";
|
||||
|
||||
type HowItWorksMessages = typeof howItWorksPage;
|
||||
|
||||
export type HowItWorksGuideBlock =
|
||||
| { type: "p"; lead?: string; text: string }
|
||||
| { type: "figure"; src: string; caption: string }
|
||||
| { type: "ruleFigure" }
|
||||
| { type: "shareRow" };
|
||||
|
||||
const MARKDOWN_LINK = /\[([^\]]+)\]\(([^)]+)\)/g;
|
||||
|
||||
export function asHowItWorksGuideBlock(
|
||||
block: HowItWorksMessages["sections"][number]["blocks"][number],
|
||||
): HowItWorksGuideBlock | null {
|
||||
switch (block.type) {
|
||||
case "p":
|
||||
case "figure":
|
||||
case "ruleFigure":
|
||||
case "shareRow":
|
||||
return block as HowItWorksGuideBlock;
|
||||
default:
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
export function stripGuideMarkup(text: string): string {
|
||||
return text.replace(MARKDOWN_LINK, "$1");
|
||||
}
|
||||
|
||||
function blockPlainText(
|
||||
block: HowItWorksGuideBlock,
|
||||
caption: string,
|
||||
): string {
|
||||
if (block.type === "p") {
|
||||
return [block.lead, block.text].filter(Boolean).join(" ");
|
||||
}
|
||||
if (block.type === "figure") {
|
||||
return block.caption;
|
||||
}
|
||||
if (block.type === "ruleFigure") {
|
||||
return caption;
|
||||
}
|
||||
return "";
|
||||
}
|
||||
|
||||
/** Visible guide copy used to set the byline read time. */
|
||||
export function collectHowItWorksGuideText(page: HowItWorksMessages): string {
|
||||
const parts: string[] = [];
|
||||
for (const section of page.sections) {
|
||||
parts.push(section.heading);
|
||||
for (const rawBlock of section.blocks) {
|
||||
const block = asHowItWorksGuideBlock(rawBlock);
|
||||
if (!block) continue;
|
||||
parts.push(blockPlainText(block, page.teamRule.caption));
|
||||
}
|
||||
}
|
||||
return stripGuideMarkup(parts.filter(Boolean).join(" "));
|
||||
}
|
||||
|
||||
export function howItWorksReadMinutes(page: HowItWorksMessages): number {
|
||||
const words = collectHowItWorksGuideText(page)
|
||||
.trim()
|
||||
.split(/\s+/)
|
||||
.filter(Boolean).length;
|
||||
return Math.max(1, Math.round(words / HOW_IT_WORKS_WORDS_PER_MINUTE));
|
||||
}
|
||||
|
||||
export function formatHowItWorksDate(isoDate: string): string {
|
||||
const date = new Date(`${isoDate}T00:00:00Z`);
|
||||
return new Intl.DateTimeFormat("en-GB", {
|
||||
day: "numeric",
|
||||
month: "long",
|
||||
year: "numeric",
|
||||
timeZone: "UTC",
|
||||
}).format(date);
|
||||
}
|
||||
|
||||
export function formatHowItWorksByline(
|
||||
page: HowItWorksMessages,
|
||||
minutes: number,
|
||||
): string {
|
||||
const unit = minutes === 1 ? page.byline.minute : page.byline.minutes;
|
||||
return page.byline.template
|
||||
.replace("{author}", page.banner.author)
|
||||
.replace("{date}", formatHowItWorksDate(page.banner.date))
|
||||
.replace("{minutes}", String(minutes))
|
||||
.replace("{unit}", unit);
|
||||
}
|
||||
|
||||
export function howItWorksWikiMarkdown(
|
||||
title: string,
|
||||
description: string,
|
||||
url: string,
|
||||
): string {
|
||||
return `[${title}](${url})\n\n${description}`;
|
||||
}
|
||||
@@ -1,5 +1,4 @@
|
||||
import type { BlogPost } from "./content";
|
||||
import { markdownToHtml } from "./content";
|
||||
import type howItWorksPage from "../messages/en/pages/howItWorks.json";
|
||||
|
||||
export const HOW_IT_WORKS_SENTINEL_SLUG = "__how-it-works__";
|
||||
@@ -8,12 +7,12 @@ type HowItWorksMessages = typeof howItWorksPage;
|
||||
|
||||
/**
|
||||
* Builds a {@link BlogPost}-shaped object for static marketing pages that reuse
|
||||
* blog article chrome (`ContentBanner`, `.post-body`) without a markdown file.
|
||||
* blog article chrome (`ContentBanner`) without a markdown file.
|
||||
*/
|
||||
export function buildHowItWorksSyntheticPost(
|
||||
page: HowItWorksMessages,
|
||||
): BlogPost {
|
||||
const { banner, bodyMarkdown } = page;
|
||||
const { banner } = page;
|
||||
|
||||
return {
|
||||
slug: HOW_IT_WORKS_SENTINEL_SLUG,
|
||||
@@ -23,8 +22,8 @@ export function buildHowItWorksSyntheticPost(
|
||||
author: banner.author,
|
||||
date: banner.date,
|
||||
},
|
||||
content: bodyMarkdown,
|
||||
htmlContent: markdownToHtml(bodyMarkdown),
|
||||
content: "",
|
||||
htmlContent: "",
|
||||
filePath: "messages/en/pages/howItWorks.json",
|
||||
lastModified: new Date(banner.date),
|
||||
};
|
||||
|
||||
@@ -148,7 +148,7 @@
|
||||
}
|
||||
},
|
||||
"howItWorks": {
|
||||
"title": "A Guide to CommunityRule",
|
||||
"title": "When your community sits down to write its Rule",
|
||||
"description": "Sketch your Rule in CommunityRule, then make it your community's own over five short meetings.",
|
||||
"keywords": [
|
||||
"how it works",
|
||||
|
||||
@@ -1,12 +1,374 @@
|
||||
{
|
||||
"_comment": "Guide to CommunityRule on /how-it-works. Banner, byline, sections, figures and closing buttons follow the Figma Content page Template frame.",
|
||||
"banner": {
|
||||
"title": "A Guide to CommunityRule",
|
||||
"title": "When your community sits down to write its Rule",
|
||||
"description": "Sketch your Rule in CommunityRule, then make it your community's own over five short meetings.",
|
||||
"author": "CommunityRule",
|
||||
"date": "2026-01-15"
|
||||
"author": "CommunityRule Creative Team",
|
||||
"date": "2027-02-18"
|
||||
},
|
||||
"byline": {
|
||||
"template": "By {author}. {date}. {minutes} {unit} read. ",
|
||||
"minute": "minute",
|
||||
"minutes": "minutes",
|
||||
"beforeYouStart": "Before you start"
|
||||
},
|
||||
"relatedArticles": {
|
||||
"title": "Related articles"
|
||||
},
|
||||
"bodyMarkdown": "Whether you organize a mutual aid network, manage an open-source project, or run a worker-owned cooperative, unwritten rules are a liability. Implicit structures cause volunteer burnout, endless meetings, and shadow hierarchies where the loudest voices quietly hold the most power.\n\nCommunityRule makes the implicit explicit. It is a modular governance toolkit providing a library of proven patterns that you can mix, match, and export to keep your community safe, equitable, and highly functional.\n\n**How the Platform Works: From Chaos to Clarity**\n\nThe CommunityRule experience is a guided drafting process that takes you from a blank page to a fully functioning governance document.\n\nYou begin by selecting an organizational archetype that matches your mission. The tool then recommends a baseline set of governance patterns. For instance, a mutual aid group receives recommendations prioritized for rapid physical safety, while an open-source project sees patterns optimized for asynchronous code review and protecting maintainer bandwidth.\n\nNext, you customize. You are never locked into a template. You can explore the pattern library to swap out tools, adjust how much authority is granted to different roles, and define your specific safety protocols.\n\nFinally, you export your completed Operating Manual. The platform generates a clean, structured document that you can host on your website, embed in your GitHub repository, or print as a welcome packet for new members. Your group now has a single source of truth.\n\n**The Four Pillars of Governance**\n\nTo build a resilient Operating Manual, you configure settings across four load-bearing pillars. When these are clearly defined, your members are freed from procedural debates and can focus entirely on your shared mission.\n\n**Membership Patterns**\n\nThis pillar defines the boundaries of your community: who is allowed inside, how they join, and what is required to maintain standing.\n\nYou select patterns that align onboarding with your culture. A massive online network might choose an \"Open Access\" pattern to maximize growth, while an activist coalition handling sensitive work might implement \"Exclusionary Vouching,\" requiring new entrants to be personally verified by existing members. Just as importantly, this pillar helps you define clear exit paths. By establishing how members can safely take a leave of absence or transition to an alumni role, you protect the health of the individual and prevent vital institutional knowledge from vanishing when someone burns out.\n\n**Decision-Making Patterns**\n\nThis acts as your organizational engine, defining exactly how proposals turn into executed actions without trapping your group in endless deliberation.\n\nThe key is matching the weight of the decision to the right process. Requiring everyone to vote on daily operations paralyzes a group, but allowing one person to unilaterally change core values destroys trust. You solve this by assigning different patterns to different scopes of work. You might use a \"Do-ocracy\" pattern for administrative tasks, empowering whoever is actually doing the work to make the call without asking permission. For strategic choices, you might implement a \"Supermajority\" pattern, ensuring significant changes have overwhelming buy-in before enactment. This distribution of authority lets your group move fast on the small things and move together on the big things.\n\n**Conflict Management**\n\nConflict is inevitable; toxicity and organizational collapse are preventable. This pillar helps you design repair pathways before a dispute escalates into a crisis.\n\nHealthy communities rely on repair and accountability rather than corporate punishment. You select conflict strategies based on how much external authority is required to solve a problem. For interpersonal friction, \"Restorative Practices\" or \"Peer Mediation\" provide a structured environment and a neutral facilitator, but leave the final resolution to the disputing parties so they co-create their own repair plan. For severe Code of Conduct violations, a \"Conflict Resolution Council\" introduces trusted elders who investigate and issue formal recommendations. Having these patterns pre-selected removes panic and bias from the resolution process.\n\n**Communication Methods**\n\nWhere you talk dictates how you govern. This pillar helps you map your digital and physical infrastructure to ensure you use the right tool for the right conversation.\n\nMixing social banter, secure logistics, and formal voting in one chaotic group chat is a recipe for disaster. You will define the logistics and behavioral norms for each platform your group uses. You might designate Signal strictly for tactical coordination where disappearing messages are mandatory, use Discord for casual onboarding, and reserve a forum like Discourse exclusively for deep, asynchronous policy deliberation.\n\nCrucially, you attach a specific Code oLine truncated
|
||||
"relatedSlugs": [
|
||||
"resolving-active-conflicts",
|
||||
"operational-security-mutual-aid",
|
||||
"making-decisions-without-hierarchy"
|
||||
],
|
||||
"teamRule": {
|
||||
"title": "CommunityRule Creative Team",
|
||||
"description": "We build and maintain CommunityRule for the communities that use it. It is free for every community that wants to write down how it decides.",
|
||||
"caption": "The CommunityRule Creative Team's Rule on one page with its five parts labeled.",
|
||||
"categories": {
|
||||
"values": {
|
||||
"name": "Values",
|
||||
"chips": [
|
||||
"Transparency",
|
||||
"Forkability",
|
||||
"Documentation",
|
||||
"Maintenance",
|
||||
"Voluntarism"
|
||||
]
|
||||
},
|
||||
"communication": {
|
||||
"name": "Communication",
|
||||
"chips": [
|
||||
"GitHub / GitLab",
|
||||
"Matrix / Element",
|
||||
"Email distribution list",
|
||||
"How we run meetings"
|
||||
]
|
||||
},
|
||||
"membership": {
|
||||
"name": "Membership",
|
||||
"chips": ["Join by contributing", "Companions"]
|
||||
},
|
||||
"decisionMaking": {
|
||||
"name": "Decision-making",
|
||||
"chips": [
|
||||
"Consensus decision-making",
|
||||
"Lazy consensus",
|
||||
"Do-ocracy",
|
||||
"Changing this Rule"
|
||||
]
|
||||
},
|
||||
"conflictManagement": {
|
||||
"name": "Conflict management",
|
||||
"chips": ["Conflict ladder", "Hearing panel", "Restorative practices"]
|
||||
}
|
||||
}
|
||||
},
|
||||
"share": {
|
||||
"send": "Send this to your community",
|
||||
"copyWiki": "Copy into your wiki",
|
||||
"print": "Print the card",
|
||||
"copiedTitle": "Copied to clipboard",
|
||||
"copyFailedTitle": "Could not copy"
|
||||
},
|
||||
"closing": {
|
||||
"createRule": "Create rule",
|
||||
"createRuleHref": "/create/informational",
|
||||
"downloadKit": "Download the kit",
|
||||
"downloadKitHref": "/kit"
|
||||
},
|
||||
"sections": [
|
||||
{
|
||||
"id": "what-you-will-have-by-the-end",
|
||||
"heading": "What you will have by the end",
|
||||
"blocks": [
|
||||
{
|
||||
"type": "p",
|
||||
"text": "A Rule is a short document your community can read aloud in a few minutes. It has five parts. The first part names what your community values and the plain signs that a value is slipping. CommunityRule calls those signs signals of violation. The other four parts say how you talk, who belongs, how you decide and what happens when you disagree. Every community has answers to those four already, written or not."
|
||||
},
|
||||
{
|
||||
"type": "p",
|
||||
"text": "Here is ours. The CommunityRule Creative Team, the people who build CommunityRule, adopted its own Rule on 30 October 2026. One of its values is Documentation, which pulls against speed. One sign it is slipping is that only one person knows how to deploy. Whoever does the work decides a small change, and anything bigger is approved after 72 hours with no objection."
|
||||
},
|
||||
{
|
||||
"type": "ruleFigure"
|
||||
},
|
||||
{
|
||||
"type": "p",
|
||||
"text": "Nobody starts from a blank page. CommunityRule puts cards in front of your community, drawn from a deck of hundreds, and each card is one way to answer a question. A card is a starting text. Your community can rewrite its words or write a card of its own."
|
||||
},
|
||||
{
|
||||
"type": "p",
|
||||
"text": "CommunityRule comes from the Media Economies Design Lab at the University of Colorado Boulder and it is free for every community."
|
||||
},
|
||||
{
|
||||
"type": "p",
|
||||
"text": "A Rule is an agreement between people and it sits beside your bylaws if you have them."
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "what-a-rule-costs",
|
||||
"heading": "What a Rule costs",
|
||||
"blocks": [
|
||||
{
|
||||
"type": "p",
|
||||
"text": "A Rule costs five short meetings and at least one real argument. It also costs somebody some quiet power. Somebody has been making decisions the community never handed them and a Rule takes those back. That person will feel it and it may be you."
|
||||
},
|
||||
{
|
||||
"type": "p",
|
||||
"text": "A Rule needs upkeep too. Leave it alone and your community has hidden rules again plus a document that says something else."
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "before-you-start",
|
||||
"heading": "Before you start",
|
||||
"blocks": [
|
||||
{
|
||||
"type": "p",
|
||||
"text": "Your community settles five things before anyone sketches. Any member can raise them."
|
||||
},
|
||||
{
|
||||
"type": "p",
|
||||
"lead": "Check that your community is not in the middle of a dispute.",
|
||||
"text": "A community in a dispute cannot write fair rules. Everyone is arguing about an outcome and a Rule is about method. Write it after the dispute and start with [Resolving Active Conflicts](/blog/resolving-active-conflicts) for now."
|
||||
},
|
||||
{
|
||||
"type": "p",
|
||||
"lead": "Choose whose email goes in.",
|
||||
"text": "The tool keeps your place in one browser until someone adds an email. That email becomes the login and only that login can change the Rule later. Use your community's shared inbox if it has one. The Rule stays with whichever email logs in, and deleting that account deletes the Rule. If your community has no shared inbox, choose the person on purpose."
|
||||
},
|
||||
{
|
||||
"type": "p",
|
||||
"lead": "Decide where to start.",
|
||||
"text": "Your community can pick card by card, start from one of the thirteen templates or start from a copy of a Rule another community shared with you. On a template's page choose Customize, which shows the template's cards question by question so your community can change what does not fit. The other button, Use without changes, skips the cards. Changing a template is how a community finds out where it differs."
|
||||
},
|
||||
{
|
||||
"type": "p",
|
||||
"lead": "Find what is already written.",
|
||||
"text": "Bring your bylaws or the pinned message in your chat to the first meeting. The screens take a logo or a photo and no documents, so keep them on the table beside the sketch."
|
||||
},
|
||||
{
|
||||
"type": "p",
|
||||
"lead": "Decide what stays out.",
|
||||
"text": "Leave out rosters, meeting places and legal names if your community's work puts people at risk. Every Rule starts private. Only the people you invite can read it until the person who holds the pen turns on a link. A Rule is public and featured only when a group asks us in writing."
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "sketch-it-in-communityrule",
|
||||
"heading": "Sketch it in CommunityRule",
|
||||
"blocks": [
|
||||
{
|
||||
"type": "p",
|
||||
"text": "The screens are the quick part. One or two people can sketch a whole Rule in one sitting, and nothing is shared until you invite people. Answer for the community you are today and pick what is closest to what you do now. The meetings are where your community decides whether to keep it."
|
||||
},
|
||||
{
|
||||
"type": "p",
|
||||
"lead": "1. Say who you are.",
|
||||
"text": "The first screens ask your community's name, what it does, its kind, how far it reaches, how established it is and how many people have a say in its big decisions. A short screen of yes or no questions follows, such as whether you pay anyone for the work. The answers sort the cards and are never published."
|
||||
},
|
||||
{
|
||||
"type": "p",
|
||||
"lead": "2. Add a logo and save your progress.",
|
||||
"text": "Add your community's logo or a photo, or skip it. Then add the email your community chose. A login link goes to that address so you can come back to the sketch."
|
||||
},
|
||||
{
|
||||
"type": "p",
|
||||
"lead": "3. Name your values.",
|
||||
"text": "Pick the values your community already lives by, up to six, or skip them for now and add them later. Each value asks what it means to your community and how you will know you are not living up to it. The second answer is your signals of violation. Keep a value only if your community can say what breaking it looks like."
|
||||
},
|
||||
{
|
||||
"type": "figure",
|
||||
"src": "value-dialog",
|
||||
"caption": "A value in CommunityRule with one row for what it means and one for the signs it is slipping."
|
||||
},
|
||||
{
|
||||
"type": "p",
|
||||
"text": "The four questions come next, each on its own screen of cards. They run how you talk, who belongs, how you decide and what happens when you disagree. The cards suggested for a community like yours come first, tagged Recommended. See all shows the rest with a search, and no card is hidden. Open a card to read the whole policy and change its words. Each question needs at least one card before you move on, and your community can pick more than one."
|
||||
},
|
||||
{
|
||||
"type": "figure",
|
||||
"src": "decisions-deck",
|
||||
"caption": "A screen of cards for how you decide with the suggested cards tagged Recommended."
|
||||
},
|
||||
{
|
||||
"type": "p",
|
||||
"lead": "4. Say how you talk.",
|
||||
"text": "Start with where your community really makes its decisions. Say so if that is the group chat. One card is Signal. Your community coordinates in encrypted Signal groups with messages that disappear on a timer. Another is Code of conduct. One code covers how members treat each other in every channel, meeting and space."
|
||||
},
|
||||
{
|
||||
"type": "p",
|
||||
"lead": "5. Say who belongs.",
|
||||
"text": "The cards cover who can join, how they join and what the community asks of a member. One card is Open admission. Anyone who agrees to follow your Rule can join and start on the work the same day. Another is Vouching. Two members who know someone in person vouch for them before they join. Pick the card closest to what your community did the last time someone asked to join. Leave and return lets a member step back for up to six months and come back without starting over."
|
||||
},
|
||||
{
|
||||
"type": "p",
|
||||
"lead": "6. Say how you decide.",
|
||||
"text": "This question has the most cards. A vote on every small thing stalls a community. One person changing a big thing breaks trust. So pick one card for everyday calls and one for decisions that touch everyone. One card is Do-ocracy. Whoever does the work decides how it gets done. Another is Supermajority rule. A proposal passes only when your community's supermajority share of the active members who vote says yes, such as three quarters. Stop reading cards when one sounds like your last meeting."
|
||||
},
|
||||
{
|
||||
"type": "p",
|
||||
"lead": "7. Say what happens when you disagree.",
|
||||
"text": "One card is Conflict ladder. The two people talk first, then each brings a friend to negotiate, and the people your community names step in last. Another is Conflict working group. Two to five members named in advance hear what the first steps could not settle and propose a plan the members approve. Pick now while nobody is angry."
|
||||
},
|
||||
{
|
||||
"type": "figure",
|
||||
"src": "final-review",
|
||||
"caption": "Final review in CommunityRule with the Rule as one card and a chip for each part."
|
||||
},
|
||||
{
|
||||
"type": "p",
|
||||
"lead": "8. Read it through.",
|
||||
"text": "This screen shows your Rule as one card with a chip for each card and value. Open a chip to change its words or use a section's add chip to pick another card. A question with no card and a card with no words are flagged. Fix each flag before you go on."
|
||||
},
|
||||
{
|
||||
"type": "p",
|
||||
"lead": "9. Invite people or finish.",
|
||||
"text": "Enter an email for each person who should read the Rule, or paste a list. Ask before you add anyone. Each person gets a private link by email and can read the Rule. Only the login your community chose can change it. The Rule and its exports never show names. While the Rule is still a sketch choose Finish without inviting. You can invite everyone from your profile at the last meeting."
|
||||
},
|
||||
{
|
||||
"type": "p",
|
||||
"lead": "10. Finish.",
|
||||
"text": "Your community has a sketch of its Rule. Rules stay private until you share them. Print it or save it as a PDF for the first meeting. A RULE.md file is there for a repo. To change it later, whoever holds the login opens Edit and goes back to the final review."
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "turn-the-sketch-into-your-rule",
|
||||
"heading": "Turn the sketch into your Rule",
|
||||
"blocks": [
|
||||
{
|
||||
"type": "p",
|
||||
"text": "A sketch is not a Rule until your community has argued with it. The kit spreads that argument over five short meetings, each inside a meeting you already hold, and any member can run it. The kit is free for volunteer-run groups and it lives at [communityrule.info/kit](/kit)."
|
||||
},
|
||||
{
|
||||
"type": "p",
|
||||
"text": "Before the first meeting book all five and choose who takes the three roles. The facilitator keeps the room on the question and speaks last. The scribe types only what the room agreed and reads it back. The timekeeper calls time. The roles rotate each meeting. Ask everyone to bring one question your community has never asked out loud. Print the worksheets, or use the kit's online board if you meet on a call. Paper is safer for a community whose work puts people at risk."
|
||||
},
|
||||
{
|
||||
"type": "p",
|
||||
"text": "Every meeting opens the same way. Someone reads aloud the kit's short rule for how the room decides, before the first proposal. Every meeting closes the same way too. In the last 10 minutes the scribe enters what the room agreed, logged in with the address your community chose, while everyone checks the wording. Nothing else goes into CommunityRule."
|
||||
},
|
||||
{
|
||||
"type": "p",
|
||||
"lead": "Meeting 1, 60 minutes.",
|
||||
"text": "Everyone writes one question your community has never asked out loud, without a name, and the facilitator reads them all. Sort them under the four questions and start with the one that has the most. Spend the rest of the meeting on it. Say how it works now, read what your sketch says and agree what you can."
|
||||
},
|
||||
{
|
||||
"type": "p",
|
||||
"lead": "Meetings 2 to 4, 45 minutes each.",
|
||||
"text": "Take one question each, in whatever order your community chooses. Read back what you agreed last time. Then say how it works now, read what the sketch says and what else you could try and agree what you can. Have more time? Take two questions in one 90-minute meeting."
|
||||
},
|
||||
{
|
||||
"type": "p",
|
||||
"lead": "Meeting 5, 45 minutes.",
|
||||
"text": "Start with values while the room is fresh. For each one say what it looks like when it is slipping. Then someone who wrote the least reads the whole draft aloud. Fix anything that sounds wrong while everyone is there. Agree how the draft reaches every member and when objections close."
|
||||
},
|
||||
{
|
||||
"type": "p",
|
||||
"lead": "Send it out.",
|
||||
"text": "Nothing counts until every member has seen the draft and had time to object. Invite every member from your profile so each gets a private link, and send the draft wherever members actually read, not only the main chat. Objections close the day before your next regular meeting, with at least seven days to respond. That meeting decides any objections the way the draft says. If nobody objects in time the Rule counts. Write down the date it took effect."
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "when-your-community-gets-stuck",
|
||||
"heading": "When your community gets stuck",
|
||||
"blocks": [
|
||||
{
|
||||
"type": "p",
|
||||
"text": "Most meetings stall in one of a few ways and each has a short fix."
|
||||
},
|
||||
{
|
||||
"type": "p",
|
||||
"lead": "Your community splits on a card.",
|
||||
"text": "This is the argument the meetings are for. It costs less now than in the middle of a dispute. Ask what the community did the last time it came up and pick that card. Give the other card a meeting of its own."
|
||||
},
|
||||
{
|
||||
"type": "p",
|
||||
"lead": "Nobody knows the answer.",
|
||||
"text": "Then nobody decided and somebody has been handling it anyway. Ask who dealt with it last time and pick the card closest to what they did. Then ask the community whether to keep doing it that way. Anything your community does not settle can wait and you can add it to your Rule later."
|
||||
},
|
||||
{
|
||||
"type": "p",
|
||||
"lead": "Time runs out.",
|
||||
"text": "Agree what you can, park the rest with a date and keep the full 10 minutes for the close."
|
||||
},
|
||||
{
|
||||
"type": "p",
|
||||
"lead": "One or two people do all the talking.",
|
||||
"text": "Go around the room once before opening it up. The facilitator speaks last."
|
||||
},
|
||||
{
|
||||
"type": "p",
|
||||
"lead": "The room starts reliving an old conflict.",
|
||||
"text": "Bring it back to method. Ask what you would want the Rule to say next time."
|
||||
},
|
||||
{
|
||||
"type": "p",
|
||||
"lead": "Only a few people come.",
|
||||
"text": "Go ahead. Sending the draft out is how everyone else gets a say."
|
||||
},
|
||||
{
|
||||
"type": "p",
|
||||
"lead": "Still stuck?",
|
||||
"text": "Send your question through [Ask an organizer](#ask-organizer). A person will write back within two working days. You can also bring your draft to office hours. The times are at [communityrule.info/kit](/kit)."
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "after-it-counts",
|
||||
"heading": "After it counts",
|
||||
"blocks": [
|
||||
{
|
||||
"type": "p",
|
||||
"lead": "1. Put it where the next new member will find it.",
|
||||
"text": "That could be the doc new members read or the wall where you meet."
|
||||
},
|
||||
{
|
||||
"type": "p",
|
||||
"lead": "2. Use it once on purpose.",
|
||||
"text": "Open the Rule the next time a decision comes up. Do what it says."
|
||||
},
|
||||
{
|
||||
"type": "p",
|
||||
"lead": "3. Set a date to read it again.",
|
||||
"text": "Read the signals aloud and ask whether anyone has seen one. Change the Rule if someone has."
|
||||
},
|
||||
{
|
||||
"type": "p",
|
||||
"lead": "4. Tell us what it changed.",
|
||||
"text": "Write to us through [Ask an organizer](#ask-organizer)."
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "what-we-are-not-sure-about",
|
||||
"heading": "What we are not sure about",
|
||||
"blocks": [
|
||||
{
|
||||
"type": "p",
|
||||
"text": "We are the lab and the organizers working with it. We rebuilt CommunityRule because of what we learned about the earlier version. Early versions confused people. Many struggled to understand the modules, find the right ones and customize them. Uptake was slow. Many people tried the editor, often alone or in a workshop, and few groups are known to have adopted a Rule and kept it."
|
||||
},
|
||||
{
|
||||
"type": "p",
|
||||
"text": "Andy DiLallo rebuilt the tool around what we learned. We think the meetings are the rest of the fix, because a community that argued over its Rule is more likely to keep it. We cannot show that yet."
|
||||
},
|
||||
{
|
||||
"type": "p",
|
||||
"text": "Tell us how yours went. The form is called [Ask an organizer](#ask-organizer)."
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "updates-from-groups",
|
||||
"heading": "Updates from groups",
|
||||
"blocks": [
|
||||
{
|
||||
"type": "shareRow"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
After Width: | Height: | Size: 48 KiB |
|
After Width: | Height: | Size: 35 KiB |
|
After Width: | Height: | Size: 53 KiB |
@@ -0,0 +1,78 @@
|
||||
import DiagramGlyph, {
|
||||
DIAGRAM_GLYPH_OPTIONS,
|
||||
DIAGRAM_GLYPH_SIZE_OPTIONS,
|
||||
} from "../../app/components/asset/DiagramGlyph";
|
||||
|
||||
export default {
|
||||
title: "Components/Asset/DiagramGlyph",
|
||||
component: DiagramGlyph,
|
||||
parameters: {
|
||||
layout: "centered",
|
||||
docs: {
|
||||
description: {
|
||||
component:
|
||||
"Diagram glyphs from Asset / Diagram Glyph. Paths use currentColor so a parent text class recolors the mark.",
|
||||
},
|
||||
},
|
||||
},
|
||||
argTypes: {
|
||||
glyph: {
|
||||
control: { type: "select" },
|
||||
options: [...DIAGRAM_GLYPH_OPTIONS],
|
||||
},
|
||||
size: {
|
||||
control: { type: "select" },
|
||||
options: [...DIAGRAM_GLYPH_SIZE_OPTIONS],
|
||||
},
|
||||
className: { control: "text" },
|
||||
title: { control: "text" },
|
||||
description: { control: "text" },
|
||||
},
|
||||
};
|
||||
|
||||
export const Default = {
|
||||
args: {
|
||||
glyph: "group",
|
||||
size: 48,
|
||||
className: "text-[var(--color-content-default-primary)]",
|
||||
},
|
||||
};
|
||||
|
||||
export const Size24 = {
|
||||
args: {
|
||||
glyph: "vote",
|
||||
size: 24,
|
||||
className: "text-[var(--color-content-default-primary)]",
|
||||
},
|
||||
};
|
||||
|
||||
export const Recolor = {
|
||||
args: {
|
||||
glyph: "consensus",
|
||||
size: 48,
|
||||
className: "text-[var(--color-content-default-brand-primary)]",
|
||||
},
|
||||
};
|
||||
|
||||
export const InDiagram = {
|
||||
args: {
|
||||
glyph: "rotation",
|
||||
size: 48,
|
||||
className: "text-[var(--color-content-default-primary)]",
|
||||
title: "Rotation",
|
||||
description: "Roles move on a set schedule so no one keeps the keys.",
|
||||
},
|
||||
};
|
||||
|
||||
export const AllGlyphs = {
|
||||
render: () => (
|
||||
<div className="grid grid-cols-6 gap-4 text-[var(--color-content-default-primary)]">
|
||||
{DIAGRAM_GLYPH_OPTIONS.map((glyph) => (
|
||||
<div key={glyph} className="flex flex-col items-center gap-2">
|
||||
<DiagramGlyph glyph={glyph} size={48} />
|
||||
<span className="text-xx-small-paragraph">{glyph}</span>
|
||||
</div>
|
||||
))}
|
||||
</div>
|
||||
),
|
||||
};
|
||||
@@ -0,0 +1,78 @@
|
||||
import PatternGlyph, {
|
||||
PATTERN_GLYPH_OPTIONS,
|
||||
PATTERN_GLYPH_SIZE_OPTIONS,
|
||||
} from "../../app/components/asset/PatternGlyph";
|
||||
|
||||
export default {
|
||||
title: "Components/Asset/PatternGlyph",
|
||||
component: PatternGlyph,
|
||||
parameters: {
|
||||
layout: "centered",
|
||||
docs: {
|
||||
description: {
|
||||
component:
|
||||
"Pattern glyphs from the Structure Before Crisis zine. Paths use currentColor so a parent text class recolors the mark.",
|
||||
},
|
||||
},
|
||||
},
|
||||
argTypes: {
|
||||
glyph: {
|
||||
control: { type: "select" },
|
||||
options: [...PATTERN_GLYPH_OPTIONS],
|
||||
},
|
||||
size: {
|
||||
control: { type: "select" },
|
||||
options: [...PATTERN_GLYPH_SIZE_OPTIONS],
|
||||
},
|
||||
className: { control: "text" },
|
||||
title: { control: "text" },
|
||||
description: { control: "text" },
|
||||
},
|
||||
};
|
||||
|
||||
export const Default = {
|
||||
args: {
|
||||
glyph: "lazy-consensus",
|
||||
size: 48,
|
||||
className: "text-[var(--color-content-default-primary)]",
|
||||
},
|
||||
};
|
||||
|
||||
export const Size24 = {
|
||||
args: {
|
||||
glyph: "open-participation",
|
||||
size: 24,
|
||||
className: "text-[var(--color-content-default-primary)]",
|
||||
},
|
||||
};
|
||||
|
||||
export const Recolor = {
|
||||
args: {
|
||||
glyph: "full-consensus",
|
||||
size: 48,
|
||||
className: "text-[var(--color-content-default-brand-primary)]",
|
||||
},
|
||||
};
|
||||
|
||||
export const InDiagram = {
|
||||
args: {
|
||||
glyph: "conflict-council",
|
||||
size: 48,
|
||||
className: "text-[var(--color-content-default-primary)]",
|
||||
title: "Conflict council",
|
||||
description: "Named members hear what the first steps could not settle.",
|
||||
},
|
||||
};
|
||||
|
||||
export const AllGlyphs = {
|
||||
render: () => (
|
||||
<div className="grid grid-cols-6 gap-4 text-[var(--color-content-default-primary)]">
|
||||
{PATTERN_GLYPH_OPTIONS.map((glyph) => (
|
||||
<div key={glyph} className="flex flex-col items-center gap-2">
|
||||
<PatternGlyph glyph={glyph} size={48} />
|
||||
<span className="text-xx-small-paragraph text-center">{glyph}</span>
|
||||
</div>
|
||||
))}
|
||||
</div>
|
||||
),
|
||||
};
|
||||
@@ -24,16 +24,16 @@ const mockBlogPost = {
|
||||
const guidePost = {
|
||||
slug: "__how-it-works__",
|
||||
frontmatter: {
|
||||
title: "A Guide to CommunityRule",
|
||||
title: "When your community sits down to write its Rule",
|
||||
description:
|
||||
"CommunityRule is a modular governance toolkit designed to help democratic groups build, customize, and publish their own Operating Manual.",
|
||||
author: "CommunityRule",
|
||||
date: "2026-01-15",
|
||||
"Sketch your Rule in CommunityRule, then make it your community's own over five short meetings.",
|
||||
author: "CommunityRule Creative Team",
|
||||
date: "2027-02-18",
|
||||
},
|
||||
content: "",
|
||||
htmlContent: "",
|
||||
filePath: "messages/en/pages/howItWorks.json",
|
||||
lastModified: new Date("2026-01-15"),
|
||||
lastModified: new Date("2027-02-18"),
|
||||
};
|
||||
|
||||
export default {
|
||||
|
||||
@@ -0,0 +1,57 @@
|
||||
import "@testing-library/jest-dom/vitest";
|
||||
import { describe, expect, it } from "vitest";
|
||||
import { render, screen } from "@testing-library/react";
|
||||
import DiagramGlyph, {
|
||||
DIAGRAM_GLYPH_OPTIONS,
|
||||
} from "../../app/components/asset/DiagramGlyph";
|
||||
|
||||
describe("DiagramGlyph", () => {
|
||||
it("renders every glyph at 48 and 24", () => {
|
||||
const { rerender } = render(
|
||||
<DiagramGlyph glyph="group" size={48} />,
|
||||
);
|
||||
expect(document.querySelector("svg")).toHaveAttribute("width", "48");
|
||||
expect(document.querySelector("svg")).toHaveAttribute("height", "48");
|
||||
expect(document.querySelector("svg")).toHaveAttribute("aria-hidden");
|
||||
|
||||
rerender(<DiagramGlyph glyph="group" size={24} />);
|
||||
expect(document.querySelector("svg")).toHaveAttribute("width", "24");
|
||||
expect(document.querySelector("svg")).toHaveAttribute("height", "24");
|
||||
|
||||
for (const glyph of DIAGRAM_GLYPH_OPTIONS) {
|
||||
rerender(<DiagramGlyph glyph={glyph} />);
|
||||
expect(document.querySelector("svg")).toBeInTheDocument();
|
||||
}
|
||||
});
|
||||
|
||||
it("names a diagram glyph and keeps a decorative glyph unlabeled", () => {
|
||||
const { rerender } = render(
|
||||
<DiagramGlyph
|
||||
glyph="rotation"
|
||||
title="Rotation"
|
||||
description="Roles move on a set schedule."
|
||||
/>,
|
||||
);
|
||||
expect(
|
||||
screen.getByRole("img", {
|
||||
name: "Rotation. Roles move on a set schedule.",
|
||||
}),
|
||||
).toBeInTheDocument();
|
||||
|
||||
rerender(<DiagramGlyph glyph="rotation" />);
|
||||
expect(screen.queryByRole("img")).not.toBeInTheDocument();
|
||||
expect(document.querySelector("svg")).toHaveAttribute("aria-hidden");
|
||||
});
|
||||
|
||||
it("recolors with one text class", () => {
|
||||
render(
|
||||
<DiagramGlyph
|
||||
glyph="consensus"
|
||||
className="text-[var(--color-content-default-brand-primary)]"
|
||||
/>,
|
||||
);
|
||||
expect(document.querySelector("svg")).toHaveClass(
|
||||
"text-[var(--color-content-default-brand-primary)]",
|
||||
);
|
||||
});
|
||||
});
|
||||
@@ -0,0 +1,55 @@
|
||||
import "@testing-library/jest-dom/vitest";
|
||||
import { describe, expect, it } from "vitest";
|
||||
import { render, screen } from "@testing-library/react";
|
||||
import PatternGlyph, {
|
||||
PATTERN_GLYPH_OPTIONS,
|
||||
} from "../../app/components/asset/PatternGlyph";
|
||||
|
||||
describe("PatternGlyph", () => {
|
||||
it("renders every glyph at 48 and 24", () => {
|
||||
const { rerender } = render(
|
||||
<PatternGlyph glyph="lazy-consensus" size={48} />,
|
||||
);
|
||||
expect(document.querySelector("svg")).toHaveAttribute("width", "48");
|
||||
expect(document.querySelector("svg")).toHaveAttribute("aria-hidden");
|
||||
|
||||
rerender(<PatternGlyph glyph="lazy-consensus" size={24} />);
|
||||
expect(document.querySelector("svg")).toHaveAttribute("width", "24");
|
||||
|
||||
for (const glyph of PATTERN_GLYPH_OPTIONS) {
|
||||
rerender(<PatternGlyph glyph={glyph} />);
|
||||
expect(document.querySelector("svg")).toBeInTheDocument();
|
||||
}
|
||||
});
|
||||
|
||||
it("names a diagram glyph and keeps a decorative glyph unlabeled", () => {
|
||||
const { rerender } = render(
|
||||
<PatternGlyph
|
||||
glyph="conflict-council"
|
||||
title="Conflict council"
|
||||
description="Named members hear what the first steps could not settle."
|
||||
/>,
|
||||
);
|
||||
expect(
|
||||
screen.getByRole("img", {
|
||||
name: "Conflict council. Named members hear what the first steps could not settle.",
|
||||
}),
|
||||
).toBeInTheDocument();
|
||||
|
||||
rerender(<PatternGlyph glyph="conflict-council" />);
|
||||
expect(screen.queryByRole("img")).not.toBeInTheDocument();
|
||||
expect(document.querySelector("svg")).toHaveAttribute("aria-hidden");
|
||||
});
|
||||
|
||||
it("recolors with one text class", () => {
|
||||
render(
|
||||
<PatternGlyph
|
||||
glyph="full-consensus"
|
||||
className="text-[var(--color-content-default-brand-primary)]"
|
||||
/>,
|
||||
);
|
||||
expect(document.querySelector("svg")).toHaveClass(
|
||||
"text-[var(--color-content-default-brand-primary)]",
|
||||
);
|
||||
});
|
||||
});
|
||||
@@ -0,0 +1,58 @@
|
||||
import "@testing-library/jest-dom/vitest";
|
||||
import { describe, expect, it, vi, beforeEach } from "vitest";
|
||||
import { fireEvent, waitFor } from "@testing-library/react";
|
||||
import {
|
||||
renderWithProviders as render,
|
||||
screen,
|
||||
} from "../utils/test-utils";
|
||||
import HowItWorksShareRow from "../../app/(marketing)/how-it-works/_components/HowItWorksShareRow";
|
||||
|
||||
const writeText = vi.fn().mockResolvedValue(undefined);
|
||||
|
||||
describe("HowItWorksShareRow", () => {
|
||||
beforeEach(() => {
|
||||
writeText.mockReset();
|
||||
writeText.mockResolvedValue(undefined);
|
||||
Object.defineProperty(window.navigator, "clipboard", {
|
||||
configurable: true,
|
||||
value: { writeText },
|
||||
});
|
||||
});
|
||||
|
||||
it("copies wiki markdown and prints only the rule card", async () => {
|
||||
const print = vi.spyOn(window, "print").mockImplementation(() => {});
|
||||
|
||||
render(
|
||||
<HowItWorksShareRow
|
||||
sendLabel="Send this to your community"
|
||||
copyLabel="Copy into your wiki"
|
||||
printLabel="Print the card"
|
||||
copiedTitle="Copied to clipboard"
|
||||
copyFailedTitle="Could not copy"
|
||||
mailtoHref="mailto:?subject=Guide"
|
||||
wikiMarkdown="[Guide](https://example.com)"
|
||||
/>,
|
||||
);
|
||||
|
||||
expect(
|
||||
screen.getByRole("link", { name: "Send this to your community" }),
|
||||
).toHaveAttribute("href", "mailto:?subject=Guide");
|
||||
|
||||
fireEvent.click(
|
||||
screen.getByRole("button", { name: "Copy into your wiki" }),
|
||||
);
|
||||
await waitFor(() => {
|
||||
expect(writeText).toHaveBeenCalledWith("[Guide](https://example.com)");
|
||||
});
|
||||
expect(screen.getByText("Copied to clipboard")).toBeInTheDocument();
|
||||
|
||||
fireEvent.click(screen.getByRole("button", { name: "Print the card" }));
|
||||
expect(print).toHaveBeenCalled();
|
||||
const printStyle = document.getElementById("how-it-works-card-print");
|
||||
expect(printStyle?.textContent).toContain("#how-it-works-rule-card");
|
||||
expect(printStyle?.textContent).toContain("visibility: hidden");
|
||||
window.dispatchEvent(new Event("afterprint"));
|
||||
expect(document.getElementById("how-it-works-card-print")).toBeNull();
|
||||
print.mockRestore();
|
||||
});
|
||||
});
|
||||
@@ -3,6 +3,10 @@ import { screen, waitFor } from "@testing-library/react";
|
||||
import { renderWithProviders as render } from "../utils/test-utils";
|
||||
import HowItWorksPage from "../../app/(marketing)/how-it-works/page";
|
||||
import messages from "../../messages/en/index";
|
||||
import {
|
||||
formatHowItWorksByline,
|
||||
howItWorksReadMinutes,
|
||||
} from "../../lib/howItWorksGuide";
|
||||
|
||||
vi.mock("next/dynamic", () => ({
|
||||
default: (importFn) => {
|
||||
@@ -13,6 +17,10 @@ vi.mock("next/dynamic", () => ({
|
||||
},
|
||||
}));
|
||||
|
||||
vi.mock("../../lib/requestSiteOrigin", () => ({
|
||||
getRequestSiteOrigin: async () => "https://communityrule.info",
|
||||
}));
|
||||
|
||||
vi.mock("../../app/components/sections/ContentBanner", () => ({
|
||||
default: ({ post, variant }) => (
|
||||
<section data-testid="content-banner" data-variant={variant}>
|
||||
@@ -32,11 +40,16 @@ vi.mock("../../app/components/sections/AskOrganizer", () => ({
|
||||
),
|
||||
}));
|
||||
|
||||
async function renderPage() {
|
||||
const ui = await HowItWorksPage();
|
||||
return render(ui);
|
||||
}
|
||||
|
||||
describe("HowItWorksPage", () => {
|
||||
const page = messages.pages.howItWorks;
|
||||
|
||||
test("renders banner, body sections, related articles, and ask organizer", async () => {
|
||||
render(<HowItWorksPage />);
|
||||
test("renders banner, guide sections, related articles, and ask organizer", async () => {
|
||||
await renderPage();
|
||||
|
||||
expect(screen.getByTestId("content-banner")).toBeInTheDocument();
|
||||
expect(
|
||||
@@ -48,6 +61,41 @@ describe("HowItWorksPage", () => {
|
||||
);
|
||||
expect(screen.getByText(page.banner.description)).toBeInTheDocument();
|
||||
|
||||
expect(
|
||||
screen.getByRole("heading", { name: "What you will have by the end" }),
|
||||
).toBeInTheDocument();
|
||||
expect(
|
||||
screen.getByRole("heading", { name: "Sketch it in CommunityRule" }),
|
||||
).toBeInTheDocument();
|
||||
expect(
|
||||
screen.getByText(page.teamRule.caption),
|
||||
).toBeInTheDocument();
|
||||
expect(
|
||||
screen.getByRole("link", { name: page.closing.createRule }),
|
||||
).toHaveAttribute("href", page.closing.createRuleHref);
|
||||
expect(
|
||||
screen.getByRole("link", { name: page.closing.downloadKit }),
|
||||
).toHaveAttribute("href", page.closing.downloadKitHref);
|
||||
expect(
|
||||
screen.getByRole("link", { name: page.byline.beforeYouStart }),
|
||||
).toHaveAttribute("href", "#before-you-start");
|
||||
expect(
|
||||
screen.getByText(
|
||||
formatHowItWorksByline(page, howItWorksReadMinutes(page)).trim(),
|
||||
{ exact: false },
|
||||
),
|
||||
).toBeInTheDocument();
|
||||
expect(
|
||||
screen.getByRole("link", { name: "Resolving Active Conflicts" }),
|
||||
).toHaveAttribute("href", "/blog/resolving-active-conflicts");
|
||||
expect(screen.queryByText(/\[Confirm how long/)).not.toBeInTheDocument();
|
||||
expect(
|
||||
screen.queryByText(/Dated entries from groups/),
|
||||
).not.toBeInTheDocument();
|
||||
expect(
|
||||
screen.queryByRole("heading", { name: "Updates from groups" }),
|
||||
).not.toBeInTheDocument();
|
||||
|
||||
await waitFor(() => {
|
||||
expect(screen.getByTestId("related-articles")).toBeInTheDocument();
|
||||
});
|
||||
@@ -57,15 +105,35 @@ describe("HowItWorksPage", () => {
|
||||
screen.getByText(messages.pages.home.askOrganizer.title),
|
||||
).toBeInTheDocument();
|
||||
expect(
|
||||
screen.getByText(/How the Platform Works: From Chaos to Clarity/),
|
||||
screen.queryByText(/How the Platform Works: From Chaos to Clarity/),
|
||||
).not.toBeInTheDocument();
|
||||
expect(
|
||||
screen.queryByText(/The Four Pillars of Governance/),
|
||||
).not.toBeInTheDocument();
|
||||
});
|
||||
|
||||
test("gives each flow screen a one-sentence caption", async () => {
|
||||
await renderPage();
|
||||
|
||||
expect(
|
||||
screen.getByText(
|
||||
"A value in CommunityRule with one row for what it means and one for the signs it is slipping.",
|
||||
),
|
||||
).toBeInTheDocument();
|
||||
expect(
|
||||
screen.getByText(/mutual aid network, manage an open-source project/),
|
||||
screen.getByText(
|
||||
"A screen of cards for how you decide with the suggested cards tagged Recommended.",
|
||||
),
|
||||
).toBeInTheDocument();
|
||||
expect(
|
||||
screen.getByText(
|
||||
"Final review in CommunityRule with the Rule as one card and a chip for each part.",
|
||||
),
|
||||
).toBeInTheDocument();
|
||||
});
|
||||
|
||||
test("clips body ornaments at the page frame and keeps them behind copy", () => {
|
||||
const { container } = render(<HowItWorksPage />);
|
||||
test("clips body ornaments at the page frame and keeps them behind copy", async () => {
|
||||
const { container } = await renderPage();
|
||||
|
||||
const page = container.querySelector("div.min-h-screen");
|
||||
expect(page).toHaveClass("overflow-x-clip");
|
||||
|
||||
@@ -0,0 +1,44 @@
|
||||
import { describe, expect, it } from "vitest";
|
||||
import messages from "../../messages/en/index";
|
||||
import {
|
||||
collectHowItWorksGuideText,
|
||||
formatHowItWorksByline,
|
||||
formatHowItWorksDate,
|
||||
howItWorksReadMinutes,
|
||||
howItWorksWikiMarkdown,
|
||||
} from "../../lib/howItWorksGuide";
|
||||
|
||||
describe("howItWorksGuide", () => {
|
||||
const page = messages.pages.howItWorks;
|
||||
|
||||
it("formats the Figma date and byline from the final text", () => {
|
||||
expect(formatHowItWorksDate(page.banner.date)).toBe("18 February 2027");
|
||||
const minutes = howItWorksReadMinutes(page);
|
||||
expect(minutes).toBeGreaterThanOrEqual(10);
|
||||
expect(formatHowItWorksByline(page, 1)).toBe(
|
||||
"By CommunityRule Creative Team. 18 February 2027. 1 minute read. ",
|
||||
);
|
||||
expect(formatHowItWorksByline(page, minutes)).toBe(
|
||||
`By CommunityRule Creative Team. 18 February 2027. ${minutes} minutes read. `,
|
||||
);
|
||||
const guideText = collectHowItWorksGuideText(page);
|
||||
expect(guideText).toContain(
|
||||
"A Rule is a short document your community can read aloud in a few minutes.",
|
||||
);
|
||||
expect(guideText).toContain("Resolving Active Conflicts");
|
||||
expect(guideText).not.toContain("](/kit)");
|
||||
expect(guideText).not.toMatch(/\[[^\]]*\]/);
|
||||
});
|
||||
|
||||
it("builds wiki markdown from the title, description and URL", () => {
|
||||
expect(
|
||||
howItWorksWikiMarkdown(
|
||||
page.banner.title,
|
||||
page.banner.description,
|
||||
"https://communityrule.info/how-it-works",
|
||||
),
|
||||
).toBe(
|
||||
`[${page.banner.title}](https://communityrule.info/how-it-works)\n\n${page.banner.description}`,
|
||||
);
|
||||
});
|
||||
});
|
||||
@@ -0,0 +1,109 @@
|
||||
import { readFileSync } from "node:fs";
|
||||
import path from "node:path";
|
||||
import { describe, expect, it } from "vitest";
|
||||
|
||||
const BLOG_DIR = path.join(process.cwd(), "content/blog");
|
||||
|
||||
function readGuide(slug: string): string {
|
||||
return readFileSync(path.join(BLOG_DIR, `${slug}.md`), "utf8");
|
||||
}
|
||||
|
||||
function bodyAfterFrontmatter(markdown: string): string {
|
||||
return markdown.replace(/^---[\s\S]*?---\n*/, "").trim();
|
||||
}
|
||||
|
||||
function lastParagraph(markdown: string): string {
|
||||
const body = bodyAfterFrontmatter(markdown);
|
||||
const paragraphs = body.split(/\n\n+/).map((paragraph) => paragraph.trim());
|
||||
return paragraphs[paragraphs.length - 1] ?? "";
|
||||
}
|
||||
|
||||
describe("Learn guide copy", () => {
|
||||
it("splits the two broken Avoiding Burnout sentences", () => {
|
||||
const body = bodyAfterFrontmatter(
|
||||
readGuide("avoiding-burnout-sustainability-in-the-ruins"),
|
||||
);
|
||||
|
||||
expect(body).toContain(
|
||||
`Not "take a break when you need it." No one ever needs it`,
|
||||
);
|
||||
expect(body).not.toContain(
|
||||
`Not "take a break when you need it" no one ever needs it`,
|
||||
);
|
||||
expect(body).toContain(
|
||||
"running the communication channels. All of it rotates",
|
||||
);
|
||||
expect(body).not.toContain(
|
||||
"running the communication channels all of it rotates",
|
||||
);
|
||||
});
|
||||
|
||||
it("ends How Chaos Concentrates Control on its closing line and keeps Rotate them after the named roles", () => {
|
||||
const body = bodyAfterFrontmatter(readGuide("how-chaos-concentrates-control"));
|
||||
const roles =
|
||||
"Name the roles explicitly. Note-taker, treasurer, communications coordinator, whatever you need.";
|
||||
const rotateThem = "Rotate them. Six months, a year, whatever makes sense.";
|
||||
const closing =
|
||||
"Build structures. Make them visible. Change them when they don't work. That's not selling out, that's how you build something that lasts.";
|
||||
|
||||
expect(body.indexOf(roles)).toBeGreaterThan(-1);
|
||||
expect(body.indexOf(rotateThem)).toBeGreaterThan(body.indexOf(roles));
|
||||
expect(body.indexOf(closing)).toBeGreaterThan(body.indexOf(rotateThem));
|
||||
expect(lastParagraph(body)).toBe(closing);
|
||||
expect(body.indexOf("Name who can bring proposals")).toBeLessThan(
|
||||
body.indexOf(closing),
|
||||
);
|
||||
expect(body.indexOf("Make information accessible")).toBeLessThan(
|
||||
body.indexOf(closing),
|
||||
);
|
||||
});
|
||||
|
||||
it("opens Digital Mediation on the setup and ends on its closing line", () => {
|
||||
const body = bodyAfterFrontmatter(
|
||||
readGuide("digital-mediation-and-the-death-of-nuance"),
|
||||
);
|
||||
const setup = "Your organizing group lives in a Discord server.";
|
||||
const thesis = "This isn't neutral.";
|
||||
const closing =
|
||||
"The anti-social network isn't about rejecting technology. It's about refusing to let corporate platforms mediate all human connection and political organizing. It's about building tools that serve us rather than extract from us. It's about remembering that the most important networks are the ones between actual people, in actual space, building actual power together.";
|
||||
|
||||
expect(body.startsWith(setup)).toBe(true);
|
||||
expect(body.indexOf(thesis)).toBeGreaterThan(body.indexOf(setup));
|
||||
expect(lastParagraph(body)).toBe(closing);
|
||||
});
|
||||
|
||||
it("ends Knowledge Management on its closing line after the five restored paragraphs", () => {
|
||||
const body = bodyAfterFrontmatter(
|
||||
readGuide("knowledge-management-and-institutional-amnesia"),
|
||||
);
|
||||
const firstRestored =
|
||||
"The critical distinction: these repositories contain procedures, not personal data.";
|
||||
const lastRestored =
|
||||
"The open source model offers useful parallels here.";
|
||||
const closing =
|
||||
"Documentation isn't about bureaucracy. It's about refusing to let hard-won knowledge disappear when it could help the next person trying to do the work. It's about building organizations that can outlast any individual member. It's about sustainability in the ruins.";
|
||||
|
||||
expect(body.indexOf(firstRestored)).toBeGreaterThan(-1);
|
||||
expect(body.indexOf(lastRestored)).toBeGreaterThan(body.indexOf(firstRestored));
|
||||
expect(body.indexOf(closing)).toBeGreaterThan(body.indexOf(lastRestored));
|
||||
expect(lastParagraph(body)).toBe(closing);
|
||||
});
|
||||
|
||||
it("moves the Integrating New Members wrap-up after the three sections that followed it", () => {
|
||||
const body = bodyAfterFrontmatter(
|
||||
readGuide("integrating-new-members-without-dilution"),
|
||||
);
|
||||
const staged = "Staged responsibility means not giving new people important roles immediately.";
|
||||
const redundant = "Making knowledge redundant matters because if one person holds crucial knowledge";
|
||||
const split = "Split into smaller working groups with real autonomy.";
|
||||
const wrapUp = "These practices make change manageable.";
|
||||
const closing =
|
||||
"You need more people. You need them to actually become part of what you're building. This is how.";
|
||||
|
||||
expect(body.indexOf(staged)).toBeGreaterThan(-1);
|
||||
expect(body.indexOf(redundant)).toBeGreaterThan(body.indexOf(staged));
|
||||
expect(body.indexOf(split)).toBeGreaterThan(body.indexOf(redundant));
|
||||
expect(body.indexOf(wrapUp)).toBeGreaterThan(body.indexOf(split));
|
||||
expect(lastParagraph(body)).toBe(closing);
|
||||
});
|
||||
});
|
||||