mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-10-23 07:26:30 +00:00
feat(collab): a chain for the mascot to hold on an empty links panel
This commit is contained in:
@@ -27,6 +27,7 @@ export type TrekScene =
|
||||
| 'packing'
|
||||
| 'files'
|
||||
| 'notes'
|
||||
| 'links'
|
||||
| 'polls'
|
||||
| 'journey'
|
||||
| 'collections'
|
||||
@@ -212,6 +213,21 @@ function SceneBack({ scene }: { scene: TrekScene }) {
|
||||
</g>
|
||||
</g>
|
||||
)
|
||||
case 'links':
|
||||
// two chain links clicking into each other beside the body. The lower one
|
||||
// carries a surface-coloured under-stroke so it reads as passing through
|
||||
// the upper one rather than lying flat on top of it.
|
||||
return (
|
||||
<g className="trek-chain">
|
||||
<g transform="rotate(-36 73 56)">
|
||||
<rect x="58" y="49" width="20" height="13" rx="6.5" fill="none" stroke="currentColor" strokeWidth="3" />
|
||||
<g className="trek-link">
|
||||
<rect x="68" y="49" width="20" height="13" rx="6.5" fill="none" stroke="var(--m-bg)" strokeWidth="5.6" />
|
||||
<rect x="68" y="49" width="20" height="13" rx="6.5" fill="none" stroke="currentColor" strokeWidth="3" />
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
)
|
||||
case 'polls':
|
||||
// vote bars gently rising and settling like live tallies
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user