mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-30 14:22:07 +03:00
42e493bb81
refs https://github.com/TryGhost/Team/issues/1130 - added link to design sidebar - dropped change-theme modal and associated route behaviour - copied basic themes marketplace list into the change-theme controller/template
38 lines
1.3 KiB
JavaScript
38 lines
1.3 KiB
JavaScript
import Controller from '@ember/controller';
|
|
|
|
export default class ChangeThemeController extends Controller {
|
|
marketplaceThemes = [{
|
|
name: 'Edition',
|
|
category: 'Newsletter',
|
|
url: 'https://github.com/TryGhost/Edition',
|
|
previewUrl: 'https://ghost.org/themes/edition',
|
|
ref: 'TryGhost/Edition',
|
|
image: 'assets/img/themes/Edition.jpg',
|
|
shortImage: 'assets/img/themes/Edition-cut.jpg'
|
|
}, {
|
|
name: 'Alto',
|
|
category: 'Blog',
|
|
url: 'https://github.com/TryGhost/Alto',
|
|
previewUrl: 'https://ghost.org/themes/alto',
|
|
ref: 'TryGhost/Alto',
|
|
image: 'assets/img/themes/Alto.jpg',
|
|
shortImage: 'assets/img/themes/Alto-cut.jpg'
|
|
}, {
|
|
name: 'London',
|
|
category: 'Photography',
|
|
url: 'https://github.com/TryGhost/London',
|
|
previewUrl: 'https://ghost.org/themes/london',
|
|
ref: 'TryGhost/London',
|
|
image: 'assets/img/themes/London.jpg',
|
|
shortImage: 'assets/img/themes/London-cut.jpg'
|
|
}, {
|
|
name: 'Ease',
|
|
category: 'Documentation',
|
|
url: 'https://github.com/TryGhost/Ease',
|
|
previewUrl: 'https://ghost.org/themes/ease',
|
|
ref: 'TryGhost/Ease',
|
|
image: 'assets/img/themes/Ease.jpg',
|
|
shortImage: 'assets/img/themes/Ease-cut.jpg'
|
|
}]
|
|
}
|