-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
988 additions
and
459 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
/** @format */ | ||
|
||
/** | ||
* External Dependencies | ||
*/ | ||
import { _x } from '@wordpress/i18n'; | ||
|
||
export const DEFAULT_COLUMNS = 3; | ||
export const MAX_COLUMNS = 20; | ||
export const TILE_MARGIN = 2; | ||
export const LAYOUTS = [ | ||
{ | ||
label: _x( 'Tiled mosaic', 'Tiled gallery layout', 'jetpack' ), | ||
name: 'rectangular', | ||
isDefault: true, | ||
}, | ||
{ | ||
label: _x( 'Tiled columns', 'Tiled gallery layout', 'jetpack' ), | ||
name: 'columns', | ||
}, | ||
{ | ||
label: _x( 'Square tiles', 'Tiled gallery layout', 'jetpack' ), | ||
name: 'square', | ||
}, | ||
{ | ||
label: _x( 'Circles', 'Tiled gallery layout', 'jetpack' ), | ||
name: 'circle', | ||
}, | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.