From b67f13e3ef5b62b7bed11a925a119a4f303023aa Mon Sep 17 00:00:00 2001 From: Damillora Date: Wed, 17 Mar 2021 10:32:53 +0700 Subject: [PATCH] Remoove member pages, just use Portal --- assets/css/styles.css | 7 ++- members/account.hbs | 50 ------------------ members/signin.hbs | 58 --------------------- members/signup.hbs | 108 --------------------------------------- package.json | 2 +- partials/site-header.hbs | 44 ++++++---------- 6 files changed, 22 insertions(+), 247 deletions(-) delete mode 100644 members/account.hbs delete mode 100644 members/signin.hbs delete mode 100644 members/signup.hbs diff --git a/assets/css/styles.css b/assets/css/styles.css index d5135a1..515bd38 100644 --- a/assets/css/styles.css +++ b/assets/css/styles.css @@ -61,9 +61,12 @@ a:hover { @apply flex flex-row transition duration-300 ease-in-out; } .site-head { - @apply flex flex-row flex-grow py-2 items-center transition duration-300 ease-in-out pl-4 h-16; + @apply flex flex-row flex-grow transition duration-300 ease-in-out; } -.site-head:hover { +.site-head a { + @apply flex flex-row py-2 items-center transition duration-300 ease-in-out px-4 h-16 inline-block; +} +.site-head a:hover { @apply bg-yuika-blue-500; } .site-background { diff --git a/members/account.hbs b/members/account.hbs deleted file mode 100644 index 5d91b45..0000000 --- a/members/account.hbs +++ /dev/null @@ -1,50 +0,0 @@ -{{!< ../default}} - - -{{#unless @member}} - -{{/unless}} -
- {{> header-background background=@site.cover_image}} {{!--Special header-image.hbs partial to generate the background image--}} -
-
-
-
-
-
-
- {{#if @member}} -
- {{#if @member.avatar_image}} - {{@member.email}} - {{/if}} -

{{@member.email}}

-
- {{/if}} -
-
-
-
- - -
-
-
- {{#if @member.paid}} - {{else if @member}} -

You are subscribed to updates

-

You are currently subscribed to updates from {{@site.title}}.

- {{else}} - {{/if}} -
-
-{{#contentFor "scripts"}} - -{{/contentFor}} diff --git a/members/signin.hbs b/members/signin.hbs deleted file mode 100644 index 152c536..0000000 --- a/members/signin.hbs +++ /dev/null @@ -1,58 +0,0 @@ -{{!< ../default}} - - -{{#if @member}} - -{{/if}} -
- {{> header-background background=@site.cover_image}} {{!--Special header-image.hbs partial to generate the background image--}} -
-
-
-
-
-
-
-

Welcome back!

-

Sign into your account again for full access

-
-
- - -
- -
-
-

Please check your email inbox to complete sign in.

-
-
-

Please enter a valid email address!

-
-
-
-
-
-
-
- - -
-
-
- {{#post}} - {{content}} - {{/post}} -
-
-{{#contentFor "scripts"}} - -{{/contentFor}} diff --git a/members/signup.hbs b/members/signup.hbs deleted file mode 100644 index 4880eaa..0000000 --- a/members/signup.hbs +++ /dev/null @@ -1,108 +0,0 @@ -{{!< ../default}}
- {{> header-background background=@site.cover_image}} {{!--Special header-image.hbs partial to generate the background - image--}} -
-
-
-
-
-
-
- {{#if @member.paid}} - {{!-- Logged in, paying member: Redirect home --}} - - {{else if @member}} -

- Join The Damillora Network -

-

Become an Autonomous System member

-

By subscribing as an Autonomous System, you can get additional benefits and support me at the same time! -

- - {{else}} -

Subscribe to {{@site.title}}

-

Get the latest posts delivered straight to your inbox.

-
-
- - -
- -
-

Please check your email inbox to confirm your subscription!

-
-
-

Please enter a valid email address!

-
-
- {{/if}} -
-
-
-
- - -
-
-
- {{#if @member}} -

Access disabled. Required infrastructure not yet in place.

-
-
-

Monthly

- -

- {{@price.currency}} {{@price.monthly}} -

- -
-
-

Yearly

-
    -
  • Everything in the Monthly plan.
  • -
  • Two months free!
  • -
  • More coming soon!
  • -
-

- {{@price.currency}} {{@price.yearly}} -

- -
-
- {{else}} - {{#page}} - {{content}} - {{/page}} - {{/if}} -
-
-
- {{#contentFor "scripts"}} - - {{/contentFor}} \ No newline at end of file diff --git a/package.json b/package.json index 0cc6f42..1c21463 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "yuika", "description": "nanao.moe's blog theme", - "version": "2.8.1", + "version": "2.9.0", "engines": { "ghost-api": "v3" }, diff --git a/partials/site-header.hbs b/partials/site-header.hbs index 79c5657..1e27a71 100644 --- a/partials/site-header.hbs +++ b/partials/site-header.hbs @@ -9,38 +9,26 @@ menu