File size: 1,473 Bytes
1e92f2d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
import type { Design } from './types';

export const DEFAULT_GLOBAL_STYLES_VARIATION_SLUG = 'default';
export const SHOW_ALL_SLUG = 'CLIENT_ONLY_SHOW_ALL_SLUG';

/**
 * mShot options
 */
export const DEFAULT_VIEWPORT_WIDTH = 1600;
export const DEFAULT_VIEWPORT_HEIGHT = 1040;
export const MOBILE_VIEWPORT_WIDTH = 599;

/**
 * Generated design picker
 */
export const STICKY_OFFSET_TOP = 109;

/**
 * Unified design picker
 */
export const COLLAPSED_DESIGNS_VISIBLE_COUNT = 6;
export const FREE_DESIGNS_BOOSTED_COUNT = 3;

/**
 * Hard-coded design
 */
export const ASSEMBLER_V2_DESIGN = {
	slug: 'assembler',
	title: 'Assembler',
	recipe: {
		stylesheet: 'pub/assembler',
	},
	design_type: 'assembler',
} as Design;

export const FREE_THEME = 'free';
export const PERSONAL_THEME = 'personal';
export const PREMIUM_THEME = 'premium';
export const DOT_ORG_THEME = 'dot-org';
export const BUNDLED_THEME = 'bundled';
export const MARKETPLACE_THEME = 'marketplace';

/**
 * Categories
 */
export const FEATURE_CATEGORIES = {
	BLOG: 'blog',
	NEWSLETTER: 'newsletter',
	PORTFOLIO: 'portfolio',
	STORE: 'store',
};

export const DESIGN_TIER_CATEGORIES = {
	FREE: FREE_THEME,
};

export const SUBJECT_CATEGORIES = {
	BUSINESS: 'business',
	COMMUNITY_NON_PROFIT: 'community-non-profit',
	AUTHORS_WRITERS: 'authors-writers',
	EDUCATION: 'education',
	ENTERTAINMENT: 'entertainment',
	EVENTS: 'events',
};

export const CATEGORIES = {
	...FEATURE_CATEGORIES,
	...SUBJECT_CATEGORIES,
};