The most complete open-source travel planner: real-time collaboration, bookings, budgets, packing lists, journals, offline PWA, SSO and an AI-ready MCP server, with planet-wide place search and routing built in.
TypeScript budget-trackercollaborativedockeritinerarymcp-serveroffline-firstopen-sourceopenstreetmappacking-listpwareal-timeself-hostedselfhostedtraveltravel-apptravel-journaltravel-plannertripitwanderlog
import type { BookDecoratedTemplate } from '../template-format';
/**
* Double spreads laid as a collage: polaroids, a row of stamps, a gallery
* of arches. Each is drawn in the theme of its archetype.
*
* Drawn on a 210 mm page and kept as fractions of it (template-format.ts),
* in the colours and faces of the theme named above; their links let any
* other theme recolour them.
*/
export const INNER_COLLAGE: readonly BookDecoratedTemplate[] = [
{
id: 'polaroid-stack',
labelKey: 'studio.templates.name.polaroidStack',
kind: 'inner',
archetype: 'stamp-collage',
tags: ['polaroid', 'collage', 'tape', 'scrapbook', 'four-photos', 'lively'],
descr:
'Four photos as polaroids turned a few degrees and taped down, two on each page; on the right the title in a script, the date in spaced capitals and a few lines of the story.',
background: '#fbf2e2',
backgroundToken: 'paper',
elements: [
{
id: 'p1',
role: 'photo:1',
tint: { shadow: 'ink' },
frame: { x: 0.1048, y: 0.0952, w: 0.4571, h: 0.5429 },
rotation: -4,
opacity: 1,
locked: false,
kind: 'photo',
photoId: null,
fit: 'cover',
focalX: 0.5,
focalY: 0.5,
radius: 0,
filter: 'none',
mask: null,
frameStyle: 'polaroid',
shadow: { dx: 0.0048, dy: 0.0057, color: '#2a1b2e', alpha: 0.16 },
},
{
id: 'p2',
role: 'photo:2',
tint: { shadow: 'ink' },
frame: { x: 0.4857, y: 0.3143, w: 0.4286, h: 0.5048 },
rotation: 5,
opacity: 1,
locked: false,
kind: 'photo',
photoId: null,
fit: 'cover',
focalX: 0.5,
focalY: 0.5,
radius: 0,
filter: 'none',
mask: null,
frameStyle: 'polaroid',
shadow: { dx: 0.0048, dy: 0.0057, color: '#2a1b2e', alpha: 0.16 },
},
{
id: 'p3',
role: 'photo:3',
tint: { shadow: 'ink' },
frame: { x: 1.0952, y: 0.1048, w: 0.3905, h: 0.4667 },
rotation: 3,
opacity: 1,
locked: false,
kind: 'photo',
photoId: null,
fit: 'cover',
focalX: 0.5,
focalY: 0.5,
radius: 0,
filter: 'none',
mask: null,
frameStyle: 'polaroid',
shadow: { dx: 0.0048, dy: 0.0057, color: '#2a1b2e', alpha: 0.16 },
},
{
id: 'p4',
role: 'photo:4',
tint: { shadow: 'ink' },
frame: { x: 1.5143, y: 0.1619, w: 0.4, h: 0.4762 },
rotation: -6,
opacity: 1,
locked: false,
kind: 'photo',
photoId: null,
fit: 'cover',
focalX: 0.5,
focalY: 0.5,
radius: 0,
filter: 'none',
mask: null,
frameStyle: 'polaroid',
shadow: { dx: 0.0048, dy: 0.0057, color: '#2a1b2e', alpha: 0.16 },
},
{
id: 's5',
keep: true,
frame: { x: 0.2476, y: 0.0571, w: 0.1524, h: 0.0762 },
rotation: -8,
opacity: 1,
locked: false,
kind: 'sticker',
stickerId: 'maskingTape',
colors: [],
flipX: false,
},
{
id: 's6',
tint: { colors: ['accent2', 'paper'] },
frame: { x: 0.6286, y: 0.2762, w: 0.1714, h: 0.0476 },
rotation: 12,
opacity: 1,
locked: false,
kind: 'sticker',
stickerId: 'washiStripes',
colors: ['#e9801a', '#fbf2e2'],
flipX: false,
},
{
id: 's7',
tint: { colors: ['accent3', 'paper'] },
frame: { x: 1.2095, y: 0.0667, w: 0.1714, h: 0.0476 },
rotation: -6,
opacity: 1,
locked: false,
kind: 'sticker',
stickerId: 'washiDots',
colors: ['#12807f', '#fbf2e2'],
flipX: false,
},
{
id: 's8',
keep: true,
frame: { x: 1.6381, y: 0.1238, w: 0.1524, h: 0.0762 },
rotation: 9,
opacity: 1,
locked: false,
kind: 'sticker',
stickerId: 'maskingTape',
colors: [],
flipX: false,
},
{
id: 't9',
role: 'title',
frame: { x: 1.1048, y: 0.6667, w: 0.819, h: 0.1429 },
rotation: 0,
opacity: 1,
locked: false,
group: 'title',
kind: 'text',
text: '',
font: 'parisienne',
size: 0.219,
weight: 400,
italic: false,
align: 'left',
leading: 1,
tracking: 0,
color: '#2a1b2e',
token: 'ink',
fontRole: 'script',
binding: null,
overridden: false,
vAlign: 'bottom',
fit: 'shrink',
fitMax: 0.219,
},
{
id: 't10',
role: 'date',
frame: { x: 1.1143, y: 0.8238, w: 0.5714, h: 0.0333 },
rotation: 0,
opacity: 1,
locked: false,
group: 'title',
kind: 'text',
text: '',
font: 'montserrat',
size: 0.0381,
weight: 600,
italic: false,
align: 'left',
leading: 1,
tracking: 0.42,
color: '#695c64',
token: 'muted',
fontRole: 'heading',
binding: null,
overridden: false,
transform: 'upper',
vAlign: 'middle',
fit: 'shrink',
fitMax: 0.0381,
},
{
id: 't11',
role: 'body',
frame: { x: 1.1143, y: 0.8667, w: 0.8095, h: 0.0762 },
rotation: 0,
opacity: 1,
locked: false,
kind: 'text',
text: '',
font: 'serif',
size: 0.0405,
weight: 400,
italic: false,
align: 'left',
leading: 1.4,
tracking: 0,
color: '#2a1b2e',
token: 'ink',
fontRole: 'body',
binding: null,
overridden: false,
vAlign: 'top',
},
{
id: 's12',
tint: { colors: ['accent2'] },
frame: { x: 1.7905, y: 0.6952, w: 0.1048, h: 0.1048 },
rotation: 0,
opacity: 1,
locked: false,
kind: 'sticker',
stickerId: 'sparkles',
colors: ['#e9801a'],
flipX: false,
},
],
},
{
id: 'stamp-row',
labelKey: 'studio.templates.name.stampRow',
kind: 'inner',
archetype: 'stamp-collage',
tags: ['stamps', 'perforated', 'row', 'postmark', 'checker', 'four-photos', 'lively'],
descr:
'Four photos as perforated stamps in a loose row, two on each page, a postmark over the last; the title in a fat display serif on the left, the date and the story on the right, a checker strip along the foot.',
background: '#fbf2e2',
backgroundToken: 'paper',
elements: [
{
id: 't1',
role: 'title',
frame: { x: 0.0952, y: 0.0857, w: 0.819, h: 0.1619 },
rotation: 0,
opacity: 1,
locked: false,
kind: 'text',
text: '',
font: 'abril',
size: 0.2095,
weight: 400,
italic: false,
align: 'left',
leading: 1,
tracking: 0,
color: '#2a1b2e',
token: 'ink',
fontRole: 'display',
binding: null,
overridden: false,
vAlign: 'middle',
fit: 'shrink',
fitMax: 0.2095,
},
{
id: 't2',
role: 'date',
frame: { x: 1.1048, y: 0.1238, w: 0.819, h: 0.0333 },
rotation: 0,
opacity: 1,
locked: false,
kind: 'text',
text: '',
font: 'montserrat',
size: 0.0381,
weight: 600,
italic: false,
align: 'right',
leading: 1,
tracking: 0.42,
color: '#695c64',
token: 'muted',
fontRole: 'heading',
binding: null,
overridden: false,
transform: 'upper',
vAlign: 'middle',
fit: 'shrink',
fitMax: 0.0381,
},
{
id: 'p3',
role: 'photo:1',
tint: { shadow: 'ink' },
frame: { x: 0.1143, y: 0.3143, w: 0.381, h: 0.4571 },
rotation: -3,
opacity: 1,
locked: false,
kind: 'photo',
photoId: null,
fit: 'cover',
focalX: 0.5,
focalY: 0.5,
radius: 0,
filter: 'none',
mask: null,
frameStyle: 'none',
border: { width: 0.0143, color: '#ffffff' },
shadow: { dx: 0.0057, dy: 0.0057, color: '#2a1b2e', alpha: 0.18 },
edge: 'perforated',
edgeSize: 0.0067,
},
{
id: 'p4',
role: 'photo:2',
tint: { shadow: 'ink' },
frame: { x: 0.5333, y: 0.2857, w: 0.381, h: 0.4571 },
rotation: 2,
opacity: 1,
locked: false,
kind: 'photo',
photoId: null,
fit: 'cover',
focalX: 0.5,
focalY: 0.5,
radius: 0,
filter: 'none',
mask: null,
frameStyle: 'none',
border: { width: 0.0143, color: '#ffffff' },
shadow: { dx: 0.0057, dy: 0.0057, color: '#2a1b2e', alpha: 0.18 },
edge: 'perforated',
edgeSize: 0.0067,
},
{
id: 'p5',
role: 'photo:3',
tint: { shadow: 'ink' },
frame: { x: 1.0857, y: 0.2952, w: 0.381, h: 0.4571 },
rotation: -2,
opacity: 1,
locked: false,
kind: 'photo',
photoId: null,
fit: 'cover',
focalX: 0.5,
focalY: 0.5,
radius: 0,
filter: 'none',
mask: null,
frameStyle: 'none',
border: { width: 0.0143, color: '#ffffff' },
shadow: { dx: 0.0057, dy: 0.0057, color: '#2a1b2e', alpha: 0.18 },
edge: 'perforated',
edgeSize: 0.0067,
},
{
id: 'p6',
role: 'photo:4',
tint: { shadow: 'ink' },
frame: { x: 1.5048, y: 0.2762, w: 0.381, h: 0.4571 },
rotation: 3,
opacity: 1,
locked: false,
group: 'stamp',
kind: 'photo',
photoId: null,
fit: 'cover',
focalX: 0.5,
focalY: 0.5,
radius: 0,
filter: 'none',
mask: null,
frameStyle: 'none',
border: { width: 0.0143, color: '#ffffff' },
shadow: { dx: 0.0057, dy: 0.0057, color: '#2a1b2e', alpha: 0.18 },
edge: 'perforated',
edgeSize: 0.0067,
},
{
id: 's7',
tint: { colors: ['ink'] },
frame: { x: 1.6667, y: 0.6095, w: 0.2571, h: 0.1476 },
rotation: -12,
opacity: 0.88,
locked: false,
group: 'stamp',
kind: 'sticker',
stickerId: 'postmark',
colors: ['#2a1b2e'],
flipX: false,
},
{
id: 't8',
role: 'caption',
frame: { x: 0.1143, y: 0.819, w: 0.8, h: 0.0381 },
rotation: 0,
opacity: 1,
locked: false,
kind: 'text',
text: '',
font: 'montserrat',
size: 0.0381,
weight: 600,
italic: false,
align: 'left',
leading: 1,
tracking: 0.3,
color: '#695c64',
token: 'muted',
fontRole: 'heading',
binding: null,
overridden: false,
transform: 'upper',
vAlign: 'middle',
fit: 'shrink',
fitMax: 0.0381,
},
{
id: 't9',
role: 'body',
frame: { x: 1.1048, y: 0.8, w: 0.819, h: 0.1143 },
rotation: 0,
opacity: 1,
locked: false,
kind: 'text',
text: '',
font: 'serif',
size: 0.0429,
weight: 400,
italic: false,
align: 'left',
leading: 1.55,
tracking: 0,
color: '#2a1b2e',
token: 'ink',
fontRole: 'body',
binding: null,
overridden: false,
vAlign: 'top',
},
{
id: 's10',
tint: { fg: 'accent', bg: 'paper' },
frame: { x: -0.0143, y: 0.9429, w: 2.0286, h: 0.0714 },
rotation: 0,
opacity: 1,
locked: false,
kind: 'shape',
shape: 'rect',
fill: '#bd2275',
gradient: 'none',
paint: { type: 'pattern', pattern: 'checker', fg: '#bd2275', bg: '#fbf2e2', scale: 0.7, angle: 0 },
stroke: null,
token: 'accent',
strokeWidth: 0,
strokeStyle: 'solid',
radius: 0,
},
],
},
{
id: 'arch-gallery',
labelKey: 'studio.templates.name.archGallery',
kind: 'inner',
archetype: 'postcard',
tags: ['arches', 'gallery', 'mediterranean', 'six-photos', 'calm'],
descr:
'Six photos cut into arches with white borders, three on each page with the middle one raised; the title in a display serif and a script line at the head of the left page, the date and the story on the right.',
background: '#e3f1e8',
backgroundToken: 'paper',
elements: [
{
id: 't1',
role: 'title',
frame: { x: 0.0952, y: 0.0762, w: 0.819, h: 0.1333 },
rotation: 0,
opacity: 1,
locked: false,
group: 'title',
kind: 'text',
text: '',
font: 'dmserif',
size: 0.1905,
weight: 400,
italic: false,
align: 'left',
leading: 1,
tracking: 0,
color: '#1f2d4d',
token: 'ink',
fontRole: 'display',
binding: null,
overridden: false,
vAlign: 'middle',
fit: 'shrink',
fitMax: 0.1905,
},
{
id: 't2',
role: 'subtitle',
frame: { x: 0.0952, y: 0.2095, w: 0.819, h: 0.0714 },
rotation: 0,
opacity: 1,
locked: false,
group: 'title',
kind: 'text',
text: '',
font: 'dancing',
size: 0.1238,
weight: 400,
italic: false,
align: 'left',
leading: 1,
tracking: 0,
color: '#c8453d',
token: 'accent',
fontRole: 'script',
binding: null,
overridden: false,
vAlign: 'middle',
fit: 'shrink',
fitMax: 0.1238,
},
{
id: 'p3',
role: 'photo:1',
frame: { x: 0.0952, y: 0.3333, w: 0.2476, h: 0.5524 },
rotation: 0,
opacity: 1,
locked: false,
kind: 'photo',
photoId: null,
fit: 'cover',
focalX: 0.5,
focalY: 0.5,
radius: 0,
filter: 'none',
mask: 'arch',
frameStyle: 'none',
border: { width: 0.0105, color: '#ffffff' },
},
{
id: 'p4',
role: 'photo:2',
frame: { x: 0.381, y: 0.2952, w: 0.2476, h: 0.5524 },
rotation: 0,
opacity: 1,
locked: false,
kind: 'photo',
photoId: null,
fit: 'cover',
focalX: 0.5,
focalY: 0.5,
radius: 0,
filter: 'none',
mask: 'arch',
frameStyle: 'none',
border: { width: 0.0105, color: '#ffffff' },
},
{
id: 'p5',
role: 'photo:3',
frame: { x: 0.6667, y: 0.3333, w: 0.2476, h: 0.5524 },
rotation: 0,
opacity: 1,
locked: false,
kind: 'photo',
photoId: null,
fit: 'cover',
focalX: 0.5,
focalY: 0.5,
radius: 0,
filter: 'none',
mask: 'arch',
frameStyle: 'none',
border: { width: 0.0105, color: '#ffffff' },
},
{
id: 'p6',
role: 'photo:4',
frame: { x: 1.0857, y: 0.1619, w: 0.2476, h: 0.5524 },
rotation: 0,
opacity: 1,
locked: false,
kind: 'photo',
photoId: null,
fit: 'cover',
focalX: 0.5,
focalY: 0.5,
radius: 0,
filter: 'none',
mask: 'arch',
frameStyle: 'none',
border: { width: 0.0105, color: '#ffffff' },
},
{
id: 'p7',
role: 'photo:5',
frame: { x: 1.3714, y: 0.1238, w: 0.2476, h: 0.5524 },
rotation: 0,
opacity: 1,
locked: false,
kind: 'photo',
photoId: null,
fit: 'cover',
focalX: 0.5,
focalY: 0.5,
radius: 0,
filter: 'none',
mask: 'arch',
frameStyle: 'none',
border: { width: 0.0105, color: '#ffffff' },
},
{
id: 'p8',
role: 'photo:6',
frame: { x: 1.6571, y: 0.1619, w: 0.2476, h: 0.5524 },
rotation: 0,
opacity: 1,
locked: false,
kind: 'photo',
photoId: null,
fit: 'cover',
focalX: 0.5,
focalY: 0.5,
radius: 0,
filter: 'none',
mask: 'arch',
frameStyle: 'none',
border: { width: 0.0105, color: '#ffffff' },
},
{
id: 't9',
role: 'caption',
frame: { x: 0.0952, y: 0.9143, w: 0.819, h: 0.0333 },
rotation: 0,
opacity: 1,
locked: false,
kind: 'text',
text: '',
font: 'montserrat',
size: 0.0381,
weight: 600,
italic: false,
align: 'left',
leading: 1,
tracking: 0.3,
color: '#5a687c',
token: 'muted',
fontRole: 'heading',
binding: null,
overridden: false,
transform: 'upper',
vAlign: 'middle',
fit: 'shrink',
fitMax: 0.0381,
},
{
id: 't10',
role: 'date',
frame: { x: 1.0857, y: 0.0762, w: 0.819, h: 0.0333 },
rotation: 0,
opacity: 1,
locked: false,
kind: 'text',
text: '',
font: 'montserrat',
size: 0.0381,
weight: 600,
italic: false,
align: 'left',
leading: 1,
tracking: 0.42,
color: '#5a687c',
token: 'muted',
fontRole: 'heading',
binding: null,
overridden: false,
transform: 'upper',
vAlign: 'middle',
fit: 'shrink',
fitMax: 0.0381,
},
{
id: 't11',
role: 'body',
frame: { x: 1.0857, y: 0.7524, w: 0.819, h: 0.181 },
rotation: 0,
opacity: 1,
locked: false,
kind: 'text',
text: '',
font: 'inter',
size: 0.0452,
weight: 400,
italic: false,
align: 'left',
leading: 1.55,
tracking: 0,
color: '#1f2d4d',
token: 'ink',
fontRole: 'body',
binding: null,
overridden: false,
vAlign: 'top',
},
],
},
];