Skip to content

Commit e2113ff

Browse files
committed
feat(terracotta): native generative art — bone paper, terra ink, 3 variants
- TerracottaGenerativeArt: seeded broadside / woodcut plate / topographic chart - Fixed Plumb palette, paper grain, registration crosshairs, edge rules - Replace brutalist GenerativeArt in blog post, series, side panel, dialog, code modal - Add generative plate strip to Galley reader hero
1 parent c616ba8 commit e2113ff

7 files changed

Lines changed: 509 additions & 12 deletions

File tree

src/components/TerracottaCodeModal.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { X, Code } from '@phosphor-icons/react';
44
import { motion, AnimatePresence } from 'framer-motion';
55
import { Prism as SyntaxHighlighter } from 'react-syntax-highlighter';
66
import { customTheme } from '../utils/customTheme';
7-
import GenerativeArt from './GenerativeArt';
7+
import TerracottaGenerativeArt from './TerracottaGenerativeArt';
88

99
const TerracottaCodeModal = ({ isOpen, onClose, children, language }) => {
1010
useEffect(() => {
@@ -34,7 +34,7 @@ const TerracottaCodeModal = ({ isOpen, onClose, children, language }) => {
3434
transition={{ duration: 0.3, ease: 'circOut' }}
3535
>
3636
<div className="absolute inset-0 opacity-[0.04] pointer-events-none">
37-
<GenerativeArt seed="CODE_MODAL" className="w-full h-full" />
37+
<TerracottaGenerativeArt seed="CODE_MODAL" className="w-full h-full" />
3838
</div>
3939
<div className="flex items-center justify-between px-6 py-4 border-b border-[#1A161320] bg-[#E8DECE]/60 z-10">
4040
<div className="flex items-center gap-3">

src/components/TerracottaDialog.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import React from 'react';
22
import { motion, AnimatePresence } from 'framer-motion';
33
import { XIcon } from '@phosphor-icons/react';
4-
import GenerativeArt from './GenerativeArt';
4+
import TerracottaGenerativeArt from './TerracottaGenerativeArt';
55

66
const TerracottaDialog = ({
77
isOpen,
@@ -40,7 +40,7 @@ const TerracottaDialog = ({
4040
onClick={(e) => e.stopPropagation()}
4141
>
4242
<div className="absolute inset-0 opacity-[0.04] pointer-events-none">
43-
<GenerativeArt seed={title} className="w-full h-full" />
43+
<TerracottaGenerativeArt seed={title} className="w-full h-full" />
4444
</div>
4545

4646
<div className="absolute top-0 left-0 w-8 h-8 border-t-2 border-l-2 border-[#C96442]" />

0 commit comments

Comments
 (0)