Skip to content

Commit 5489657

Browse files
authored
Add snake staff illustration (#125)
* Add snake staff illustration component. Use vector-only SVG (no embedded raster) so lanyard and badge align with strokes. Register snakeStaff and add Storybook story. * Update snake staff illustration from Figma export. Drop the redundant serpente-staff.svg source file; the React component is the single source of truth. * Update snake staff badge and label paths from Figma. Use the orange staff badge and revised vector outlines for STAFF and PyCon Italia. * Update snake staff lanyard layering from Figma export. Redraw strap behind bodies with a separate front mask and revised path geometry. * Update snake staff badge and lanyard from Figma export.
1 parent 78be725 commit 5489657

5 files changed

Lines changed: 69 additions & 0 deletions

File tree

‎src/illustrations/illustration.stories.tsx‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ import { SnakeInDragonInverted } from "./snake-in-dragon-inverted";
1616
import { SnakeLetter } from "./snake-letter";
1717
import { SnakeLongNeck } from "./snake-long-neck";
1818
import { SnakePencil } from "./snake-pencil";
19+
import { SnakeStaff } from "./snake-staff";
1920
import { SnakeTail } from "./snake-tail";
2021
import { SnakeWithBalloon } from "./snake-with-balloon";
2122
import { SnakeWithContacts } from "./snake-with-contacts";
@@ -90,6 +91,9 @@ SnakeLongNeckStory.args = { component: SnakeLongNeck };
9091
export const SnakePencilStory = Template.bind({});
9192
SnakePencilStory.args = { component: SnakePencil };
9293

94+
export const SnakeStaffStory = Template.bind({});
95+
SnakeStaffStory.args = { component: SnakeStaff };
96+
9397
export const SnakeTailStory = Template.bind({});
9498
SnakeTailStory.args = { component: SnakeTail };
9599

‎src/illustrations/illustrations.ts‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ import { SnakeInDragonInverted } from "./snake-in-dragon-inverted";
1515
import { SnakeLetter } from "./snake-letter";
1616
import { SnakeLongNeck } from "./snake-long-neck";
1717
import { SnakePencil } from "./snake-pencil";
18+
import { SnakeStaff } from "./snake-staff";
1819
import { SnakeTail } from "./snake-tail";
1920
import { SnakeTailUp } from "./snake-tail-up";
2021
import { SnakeWithBalloon } from "./snake-with-balloon";
@@ -64,6 +65,8 @@ export const getIllustration = (name: Illustration | undefined) => {
6465
return SnakeLongNeck;
6566
case "snakePencil":
6667
return SnakePencil;
68+
case "snakeStaff":
69+
return SnakeStaff;
6770
case "snakeTail":
6871
return SnakeTail;
6972
case "snakeWithBalloon":

‎src/illustrations/index.ts‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ export { SnakeInDragonInverted } from "./snake-in-dragon-inverted";
1515
export { SnakeLetter } from "./snake-letter";
1616
export { SnakeLongNeck } from "./snake-long-neck";
1717
export { SnakePencil } from "./snake-pencil";
18+
export { SnakeStaff } from "./snake-staff";
1819
export { SnakeTail } from "./snake-tail";
1920
export { SnakeWithBalloon } from "./snake-with-balloon";
2021
export { SnakeWithContacts } from "./snake-with-contacts";

0 commit comments

Comments
 (0)