Merge branch 'TryGhost:main' into main
This commit is contained in:
commit
487b04525c
2
assets/built/main.min.js
vendored
2
assets/built/main.min.js
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1,4 +1,4 @@
|
||||
@import "@tryghost/shared-theme-assets/assets/css/screen.css";
|
||||
@import "@tryghost/shared-theme-assets/assets/css/v1/screen.css";
|
||||
@import "fonts.css";
|
||||
|
||||
:root {
|
||||
@ -115,7 +115,8 @@ hr {
|
||||
max-height: 48px;
|
||||
}
|
||||
|
||||
.gh-head-menu {
|
||||
.gh-head-menu,
|
||||
.gh-head-link {
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
|
17
default.hbs
17
default.hbs
@ -74,15 +74,18 @@
|
||||
{{/match}}
|
||||
{{else}}
|
||||
<button class="gh-search gh-icon-btn" data-ghost-search>{{> "icons/search"}}</button>
|
||||
{{#unless @member}}
|
||||
{{#unless @site.members_invite_only}}
|
||||
<a class="gh-head-btn gh-btn gh-primary-btn" href="#/portal/signup" data-portal="signup">Subscribe</a>
|
||||
<div class="gh-head-members">
|
||||
{{#unless @member}}
|
||||
{{#unless @site.members_invite_only}}
|
||||
<a class="gh-head-link" href="#/portal/signin" data-portal="signin">Sign in</a>
|
||||
<a class="gh-head-btn gh-btn gh-primary-btn" href="#/portal/signup" data-portal="signup">Subscribe</a>
|
||||
{{else}}
|
||||
<a class="gh-head-btn gh-btn gh-primary-btn" href="#/portal/signin" data-portal="signin">Sign in</a>
|
||||
{{/unless}}
|
||||
{{else}}
|
||||
<a class="gh-head-btn gh-btn gh-primary-btn" href="#/portal/signin" data-portal="signin">Login</a>
|
||||
<a class="gh-head-btn gh-btn gh-primary-btn" href="#/portal/account" data-portal="account">Account</a>
|
||||
{{/unless}}
|
||||
{{else}}
|
||||
<a class="gh-head-btn gh-btn gh-primary-btn" href="#/portal/account" data-portal="account">Account</a>
|
||||
{{/unless}}
|
||||
</div>
|
||||
{{/unless}}
|
||||
</div>
|
||||
</div>
|
||||
|
@ -51,8 +51,8 @@ function css(done) {
|
||||
function js(done) {
|
||||
pump([
|
||||
src([
|
||||
'node_modules/@tryghost/shared-theme-assets/assets/js/lib/**/*.js',
|
||||
'node_modules/@tryghost/shared-theme-assets/assets/js/main.js',
|
||||
'node_modules/@tryghost/shared-theme-assets/assets/js/v1/lib/**/*.js',
|
||||
'node_modules/@tryghost/shared-theme-assets/assets/js/v1/main.js',
|
||||
'assets/js/lib/*.js',
|
||||
'assets/js/main.js'
|
||||
], {sourcemaps: true}),
|
||||
|
@ -17,6 +17,7 @@
|
||||
"theme",
|
||||
"ghost-theme"
|
||||
],
|
||||
"docs": "https://solo.ghost.io/about/",
|
||||
"config": {
|
||||
"posts_per_page": 6,
|
||||
"image_sizes": {
|
||||
@ -88,18 +89,18 @@
|
||||
"zip": "gulp zip"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@tryghost/shared-theme-assets": "1.3.1",
|
||||
"@tryghost/shared-theme-assets": "2.0.1",
|
||||
"autoprefixer": "10.4.13",
|
||||
"beeper": "2.1.0",
|
||||
"cssnano": "5.1.14",
|
||||
"gscan": "4.34.0",
|
||||
"gscan": "4.35.1",
|
||||
"gulp": "4.0.2",
|
||||
"gulp-concat": "2.6.1",
|
||||
"gulp-livereload": "4.0.2",
|
||||
"gulp-postcss": "9.0.1",
|
||||
"gulp-uglify": "3.0.2",
|
||||
"gulp-zip": "5.1.0",
|
||||
"postcss": "8.4.19",
|
||||
"postcss": "8.4.20",
|
||||
"postcss-easy-import": "4.0.0",
|
||||
"pump": "3.0.0"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user