From 5908ac66149d7e10cbc6e932b5855ec08027b636 Mon Sep 17 00:00:00 2001 From: Nolan Lawson Date: Tue, 13 Mar 2018 17:14:57 -0700 Subject: [PATCH] Implement LazyPage and refactor to support it --- routes/_components/AccountsListPage.html | 1 - routes/_components/LazyPage.html | 15 ++ .../community}/PageList.html | 0 .../community}/PageListItem.html | 0 routes/_components/compose/ComposeAuthor.html | 2 + .../settings}/SettingsLayout.html | 0 .../settings}/SettingsList.html | 0 .../settings}/SettingsListItem.html | 0 .../settings}/SettingsNav.html | 0 .../settings}/SettingsNavItem.html | 0 routes/_components/status/Media.html | 2 + routes/_components/timeline/LazyTimeline.html | 1 - routes/_components/timeline/Timeline.html | 1 - routes/_pages/accounts/[accountId].html | 56 +++++++ routes/_pages/blocked.html | 20 +++ routes/_pages/community/index.html | 105 ++++++++++++ routes/_pages/favorites.html | 31 ++++ routes/_pages/federated.html | 31 ++++ routes/_pages/index.html | 25 +++ routes/_pages/lists/[listId].html | 35 ++++ routes/_pages/local.html | 31 ++++ routes/_pages/muted.html | 20 +++ routes/_pages/notifications.html | 26 +++ routes/_pages/pinned.html | 66 ++++++++ routes/_pages/search.html | 39 +++++ routes/_pages/settings/about.html | 24 +++ routes/_pages/settings/general.html | 41 +++++ routes/_pages/settings/index.html | 23 +++ .../settings/instances/[instanceName].html | 151 ++++++++++++++++++ routes/_pages/settings/instances/add.html | 90 +++++++++++ routes/_pages/settings/instances/index.html | 35 ++++ .../_pages/statuses/[statusId]/favorites.html | 20 +++ routes/_pages/statuses/[statusId]/index.html | 29 ++++ .../_pages/statuses/[statusId]/reblogs.html | 20 +++ routes/_pages/statuses/[statusId]/reply.html | 44 +++++ routes/_pages/tags/[tagName].html | 29 ++++ routes/accounts/[accountId].html | 59 +------ routes/blocked.html | 23 +-- routes/community/index.html | 108 ++----------- routes/favorites.html | 35 +--- routes/federated.html | 35 +--- routes/index.html | 40 ++--- routes/lists/[listId].html | 38 +---- routes/local.html | 35 +--- routes/muted.html | 23 +-- routes/notifications.html | 32 ++-- routes/pinned.html | 70 +------- routes/search.html | 43 +---- routes/settings/about.html | 32 ++-- routes/settings/general.html | 47 ++---- routes/settings/index.html | 30 ++-- routes/settings/instances/[instanceName].html | 150 +---------------- routes/settings/instances/add.html | 93 +---------- routes/settings/instances/index.html | 36 +---- routes/statuses/[statusId]/favorites.html | 23 +-- routes/statuses/[statusId]/index.html | 32 +--- routes/statuses/[statusId]/reblogs.html | 23 +-- routes/statuses/[statusId]/reply.html | 48 +----- routes/tags/[tagName].html | 32 +--- scss/global.scss | 1 + templates/2xx.html | 2 +- 61 files changed, 1205 insertions(+), 898 deletions(-) create mode 100644 routes/_components/LazyPage.html rename routes/{community/_components => _components/community}/PageList.html (100%) rename routes/{community/_components => _components/community}/PageListItem.html (100%) rename routes/{settings/_components => _components/settings}/SettingsLayout.html (100%) rename routes/{settings/_components => _components/settings}/SettingsList.html (100%) rename routes/{settings/_components => _components/settings}/SettingsListItem.html (100%) rename routes/{settings/_components => _components/settings}/SettingsNav.html (100%) rename routes/{settings/_components => _components/settings}/SettingsNavItem.html (100%) create mode 100644 routes/_pages/accounts/[accountId].html create mode 100644 routes/_pages/blocked.html create mode 100644 routes/_pages/community/index.html create mode 100644 routes/_pages/favorites.html create mode 100644 routes/_pages/federated.html create mode 100644 routes/_pages/index.html create mode 100644 routes/_pages/lists/[listId].html create mode 100644 routes/_pages/local.html create mode 100644 routes/_pages/muted.html create mode 100644 routes/_pages/notifications.html create mode 100644 routes/_pages/pinned.html create mode 100644 routes/_pages/search.html create mode 100644 routes/_pages/settings/about.html create mode 100644 routes/_pages/settings/general.html create mode 100644 routes/_pages/settings/index.html create mode 100644 routes/_pages/settings/instances/[instanceName].html create mode 100644 routes/_pages/settings/instances/add.html create mode 100644 routes/_pages/settings/instances/index.html create mode 100644 routes/_pages/statuses/[statusId]/favorites.html create mode 100644 routes/_pages/statuses/[statusId]/index.html create mode 100644 routes/_pages/statuses/[statusId]/reblogs.html create mode 100644 routes/_pages/statuses/[statusId]/reply.html create mode 100644 routes/_pages/tags/[tagName].html diff --git a/routes/_components/AccountsListPage.html b/routes/_components/AccountsListPage.html index 77a79ae..73681a1 100644 --- a/routes/_components/AccountsListPage.html +++ b/routes/_components/AccountsListPage.html @@ -11,7 +11,6 @@ \ No newline at end of file diff --git a/routes/_pages/blocked.html b/routes/_pages/blocked.html new file mode 100644 index 0000000..97641ff --- /dev/null +++ b/routes/_pages/blocked.html @@ -0,0 +1,20 @@ + + + \ No newline at end of file diff --git a/routes/_pages/community/index.html b/routes/_pages/community/index.html new file mode 100644 index 0000000..6bcbe11 --- /dev/null +++ b/routes/_pages/community/index.html @@ -0,0 +1,105 @@ +{{#if $isUserLoggedIn}} +
+ +

+ Timelines +

+ + + + + + + + {{#if $lists.length}} + +

+ Lists +

+ + + {{#each $lists as list}} + + {{/each}} + + + {{/if}} + +

+ Instance settings +

+ + + + + + + +
+{{else}} + + +

Community

+ +

Community options appear here when logged in.

+
+
+{{/if}} + + \ No newline at end of file diff --git a/routes/_pages/favorites.html b/routes/_pages/favorites.html new file mode 100644 index 0000000..0b755d2 --- /dev/null +++ b/routes/_pages/favorites.html @@ -0,0 +1,31 @@ +{{#if $isUserLoggedIn}} +{{#if $pinnedPage !== '/favorites'}} + +{{/if}} + +{{else}} + + +

Favorites

+ +

Your favorites will appear here when logged in.

+
+
+{{/if}} + \ No newline at end of file diff --git a/routes/_pages/federated.html b/routes/_pages/federated.html new file mode 100644 index 0000000..a3b95a8 --- /dev/null +++ b/routes/_pages/federated.html @@ -0,0 +1,31 @@ +{{#if $isUserLoggedIn}} +{{#if $pinnedPage !== '/federated'}} + +{{/if}} + +{{else}} + + +

Federated

+ +

Your federated timeline will appear here when logged in.

+
+
+{{/if}} + \ No newline at end of file diff --git a/routes/_pages/index.html b/routes/_pages/index.html new file mode 100644 index 0000000..0720f18 --- /dev/null +++ b/routes/_pages/index.html @@ -0,0 +1,25 @@ +{{#if $isUserLoggedIn}} + {{#if $currentVerifyCredentials}} + + {{/if}} + +{{else}} + +{{/if}} + + \ No newline at end of file diff --git a/routes/_pages/lists/[listId].html b/routes/_pages/lists/[listId].html new file mode 100644 index 0000000..7006ead --- /dev/null +++ b/routes/_pages/lists/[listId].html @@ -0,0 +1,35 @@ +{{#if $isUserLoggedIn}} +{{#if $pinnedPage !== `/lists/${params.listId}`}} + +{{/if}} + +{{else}} + + +

List

+ +

A list will appear here when logged in.

+
+
+{{/if}} + \ No newline at end of file diff --git a/routes/_pages/local.html b/routes/_pages/local.html new file mode 100644 index 0000000..03f7889 --- /dev/null +++ b/routes/_pages/local.html @@ -0,0 +1,31 @@ +{{#if $isUserLoggedIn}} +{{#if $pinnedPage !== '/local'}} + +{{/if}} + +{{else}} + + +

Local

+ +

Your local timeline will appear here when logged in.

+
+
+{{/if}} + \ No newline at end of file diff --git a/routes/_pages/muted.html b/routes/_pages/muted.html new file mode 100644 index 0000000..58d115c --- /dev/null +++ b/routes/_pages/muted.html @@ -0,0 +1,20 @@ + + + \ No newline at end of file diff --git a/routes/_pages/notifications.html b/routes/_pages/notifications.html new file mode 100644 index 0000000..6587ee3 --- /dev/null +++ b/routes/_pages/notifications.html @@ -0,0 +1,26 @@ +{{#if $isUserLoggedIn}} + +{{else}} + + +

Notifications

+ +

Your notifications will appear here when logged in.

+
+
+{{/if}} + \ No newline at end of file diff --git a/routes/_pages/pinned.html b/routes/_pages/pinned.html new file mode 100644 index 0000000..698ddea --- /dev/null +++ b/routes/_pages/pinned.html @@ -0,0 +1,66 @@ + +
+ {{#if loading}} + + {{elseif statuses && statuses.length}} +
    + {{#each statuses as status, index}} + + {{/each}} +
+ {{/if}} +
+ + \ No newline at end of file diff --git a/routes/_pages/search.html b/routes/_pages/search.html new file mode 100644 index 0000000..d017461 --- /dev/null +++ b/routes/_pages/search.html @@ -0,0 +1,39 @@ +{{#if $isUserLoggedIn}} +
+ +
+{{else}} + + +

Search

+ +

You can search once logged in to an instance.

+
+
+{{/if}} + + \ No newline at end of file diff --git a/routes/_pages/settings/about.html b/routes/_pages/settings/about.html new file mode 100644 index 0000000..733cb00 --- /dev/null +++ b/routes/_pages/settings/about.html @@ -0,0 +1,24 @@ + +

About Pinafore

+ +

+ Pinafore is free and open-source software + created by Nolan Lawson and distributed under the + GNU Affero General Public License. +

+ +

Icons provided by Font Awesome.

+ +

Logo thanks to "sailboat" by Gregor Cresnar from the Noun Project.

+
+ \ No newline at end of file diff --git a/routes/_pages/settings/general.html b/routes/_pages/settings/general.html new file mode 100644 index 0000000..ba8d8ad --- /dev/null +++ b/routes/_pages/settings/general.html @@ -0,0 +1,41 @@ + +

General Settings

+ +

UI Settings

+
+
+ + +
+
+ + +
+
+ +
+ + \ No newline at end of file diff --git a/routes/_pages/settings/index.html b/routes/_pages/settings/index.html new file mode 100644 index 0000000..222bd71 --- /dev/null +++ b/routes/_pages/settings/index.html @@ -0,0 +1,23 @@ + +

Settings

+ + + + + + + +
+ \ No newline at end of file diff --git a/routes/_pages/settings/instances/[instanceName].html b/routes/_pages/settings/instances/[instanceName].html new file mode 100644 index 0000000..ac48490 --- /dev/null +++ b/routes/_pages/settings/instances/[instanceName].html @@ -0,0 +1,151 @@ + +

{{params.instanceName}}

+ + {{#if verifyCredentials}} +

Logged in as:

+
+ + + {{'@' + verifyCredentials.acct}} + + {{verifyCredentials.display_name || verifyCredentials.acct}} +
+

Theme:

+
+ {{#each themes as theme}} +
+ + +
+ {{/each}} +
+ +
+ {{#if $loggedInInstancesInOrder.length > 1 && $currentInstance !== params.instanceName}} + + {{/if}} + +
+ {{/if}} +
+ + \ No newline at end of file diff --git a/routes/_pages/settings/instances/add.html b/routes/_pages/settings/instances/add.html new file mode 100644 index 0000000..7ed2b12 --- /dev/null +++ b/routes/_pages/settings/instances/add.html @@ -0,0 +1,90 @@ + +

Add an Instance

+ + {{#if $isUserLoggedIn}} +

Connect to an instance to log in.

+ {{else}} +

Log in to an instance to use Pinafore.

+ {{/if}} + +
+ + {{#if $logInToInstanceError && $logInToInstanceErrorForText === $instanceNameInSearch}} + + {{/if}} + + + + + + +
+ + {{#if !$isUserLoggedIn}} +

Don't have an instance? Join Mastodon!

+ {{/if}} +
+ + \ No newline at end of file diff --git a/routes/_pages/settings/instances/index.html b/routes/_pages/settings/instances/index.html new file mode 100644 index 0000000..3979940 --- /dev/null +++ b/routes/_pages/settings/instances/index.html @@ -0,0 +1,35 @@ + +

Instances

+ + {{#if $isUserLoggedIn}} +

Instances you've logged in to:

+ + {{#each $loggedInInstancesAsList as instance}} + + {{/each}} + +

Add another instance

+ {{else}} +

You're not logged in to any instances.

+

Log in to an instance to start using Pinafore.

+ {{/if}} +
+ \ No newline at end of file diff --git a/routes/_pages/statuses/[statusId]/favorites.html b/routes/_pages/statuses/[statusId]/favorites.html new file mode 100644 index 0000000..01183f2 --- /dev/null +++ b/routes/_pages/statuses/[statusId]/favorites.html @@ -0,0 +1,20 @@ + + + \ No newline at end of file diff --git a/routes/_pages/statuses/[statusId]/index.html b/routes/_pages/statuses/[statusId]/index.html new file mode 100644 index 0000000..c9435ae --- /dev/null +++ b/routes/_pages/statuses/[statusId]/index.html @@ -0,0 +1,29 @@ +{{#if $isUserLoggedIn}} + + +{{else}} + + +

Status

+ +

A status thread will appear here when logged in.

+
+
+{{/if}} + \ No newline at end of file diff --git a/routes/_pages/statuses/[statusId]/reblogs.html b/routes/_pages/statuses/[statusId]/reblogs.html new file mode 100644 index 0000000..9a6fb3e --- /dev/null +++ b/routes/_pages/statuses/[statusId]/reblogs.html @@ -0,0 +1,20 @@ + + + \ No newline at end of file diff --git a/routes/_pages/statuses/[statusId]/reply.html b/routes/_pages/statuses/[statusId]/reply.html new file mode 100644 index 0000000..8051cbe --- /dev/null +++ b/routes/_pages/statuses/[statusId]/reply.html @@ -0,0 +1,44 @@ + +
+ {{#if status}} + + + {{else}} + + {{/if}} +
+ + \ No newline at end of file diff --git a/routes/_pages/tags/[tagName].html b/routes/_pages/tags/[tagName].html new file mode 100644 index 0000000..378101d --- /dev/null +++ b/routes/_pages/tags/[tagName].html @@ -0,0 +1,29 @@ +{{#if $isUserLoggedIn}} + + +{{else}} + + +

#{{params.tagName}}

+ +

A hashtag timeline will appear here when logged in.

+
+
+{{/if}} + \ No newline at end of file diff --git a/routes/accounts/[accountId].html b/routes/accounts/[accountId].html index 51d8d63..b552dad 100644 --- a/routes/accounts/[accountId].html +++ b/routes/accounts/[accountId].html @@ -1,64 +1,21 @@ <:Head> Pinafore – {{profileName}} - - {{#if $isUserLoggedIn}} - - {{#if $currentAccountProfile}} - - {{/if}} - - - {{else}} - - -

Profile

- -

A user timeline will appear here when logged in.

-
-
- {{/if}} +
\ No newline at end of file diff --git a/routes/blocked.html b/routes/blocked.html index c324799..43b038a 100644 --- a/routes/blocked.html +++ b/routes/blocked.html @@ -1,28 +1,21 @@ <:Head> Pinafore – Blocked users - - - + \ No newline at end of file diff --git a/routes/community/index.html b/routes/community/index.html index 0af3481..c0b708b 100644 --- a/routes/community/index.html +++ b/routes/community/index.html @@ -1,111 +1,21 @@ <:Head> Pinafore – Community - - {{#if $isUserLoggedIn}} -
- -

- Timelines -

- - - - - - - - {{#if $lists.length}} - -

- Lists -

- - - {{#each $lists as list}} - - {{/each}} - - - {{/if}} - -

- Instance settings -

- - - - - - - -
- {{else}} - - -

Community

- -

Community options appear here when logged in.

-
-
- {{/if}} +
- \ No newline at end of file diff --git a/routes/favorites.html b/routes/favorites.html index 1543026..166e9f3 100644 --- a/routes/favorites.html +++ b/routes/favorites.html @@ -1,40 +1,21 @@ <:Head> Pinafore – Favorites - - {{#if $isUserLoggedIn}} - {{#if $pinnedPage !== '/favorites'}} - - {{/if}} - - {{else}} - - -

Favorites

- -

Your favorites will appear here when logged in.

-
-
- {{/if}} +
- \ No newline at end of file diff --git a/routes/federated.html b/routes/federated.html index 4b464c7..8bce635 100644 --- a/routes/federated.html +++ b/routes/federated.html @@ -1,40 +1,21 @@ <:Head> Pinafore – Federated - - {{#if $isUserLoggedIn}} - {{#if $pinnedPage !== '/federated'}} - - {{/if}} - - {{else}} - - -

Federated

- -

Your federated timeline will appear here when logged in.

-
-
- {{/if}} +
- \ No newline at end of file diff --git a/routes/index.html b/routes/index.html index 3e9a6a3..44152c1 100644 --- a/routes/index.html +++ b/routes/index.html @@ -1,35 +1,21 @@ <:Head> Pinafore – Home - - {{#if $isUserLoggedIn}} - {{#if $currentVerifyCredentials}} - - {{/if}} - - {{else}} - - {{/if}} + - - - \ No newline at end of file + export default { + components: { + Layout, + LazyPage + }, + data: () => ({ + pageComponent + }) + } + \ No newline at end of file diff --git a/routes/lists/[listId].html b/routes/lists/[listId].html index 60f4e49..b7b5336 100644 --- a/routes/lists/[listId].html +++ b/routes/lists/[listId].html @@ -1,43 +1,21 @@ <:Head> Pinafore – {{listTitle}} - - {{#if $isUserLoggedIn}} - {{#if $pinnedPage !== `/lists/${params.listId}`}} - - {{/if}} - - {{else}} - - -

List

- -

A list will appear here when logged in.

-
-
- {{/if}} +
\ No newline at end of file diff --git a/routes/local.html b/routes/local.html index 685b766..07ee50d 100644 --- a/routes/local.html +++ b/routes/local.html @@ -1,40 +1,21 @@ <:Head> Pinafore – Local - - {{#if $isUserLoggedIn}} - {{#if $pinnedPage !== '/local'}} - - {{/if}} - - {{else}} - - -

Local

- -

Your local timeline will appear here when logged in.

-
-
- {{/if}} +
- \ No newline at end of file diff --git a/routes/muted.html b/routes/muted.html index 2c2b9d4..4f47e60 100644 --- a/routes/muted.html +++ b/routes/muted.html @@ -1,28 +1,21 @@ <:Head> Pinafore – Muted users - - - + \ No newline at end of file diff --git a/routes/notifications.html b/routes/notifications.html index c7cd9c1..cd13cb4 100644 --- a/routes/notifications.html +++ b/routes/notifications.html @@ -1,35 +1,21 @@ <:Head> Pinafore – Notifications - - {{#if $isUserLoggedIn}} - - {{else}} - - -

Notifications

- -

Your notifications will appear here when logged in.

-
-
- {{/if}} +
- \ No newline at end of file diff --git a/routes/pinned.html b/routes/pinned.html index 60239ef..a388959 100644 --- a/routes/pinned.html +++ b/routes/pinned.html @@ -1,75 +1,21 @@ <:Head> Pinafore – Pinned toots - - -
- {{#if loading}} - - {{elseif statuses && statuses.length}} -
    - {{#each statuses as status, index}} - - {{/each}} -
- {{/if}} -
+
- \ No newline at end of file diff --git a/routes/search.html b/routes/search.html index d3a4830..ba19135 100644 --- a/routes/search.html +++ b/routes/search.html @@ -1,48 +1,21 @@ <:Head> Pinafore – Search - - {{#if $isUserLoggedIn}} -
- -
- {{else}} - - -

Search

- -

You can search once logged in to an instance.

-
-
- {{/if}} +
- \ No newline at end of file diff --git a/routes/settings/about.html b/routes/settings/about.html index 8790444..a994f05 100644 --- a/routes/settings/about.html +++ b/routes/settings/about.html @@ -1,33 +1,21 @@ <:Head> Pinafore – About - - -

About Pinafore

- -

- Pinafore is free and open-source software - created by Nolan Lawson and distributed under the - GNU Affero General Public License. -

- -

Icons provided by Font Awesome.

- -

Logo thanks to "sailboat" by Gregor Cresnar from the Noun Project.

-
+
- \ No newline at end of file diff --git a/routes/settings/general.html b/routes/settings/general.html index 63c3672..95994b7 100644 --- a/routes/settings/general.html +++ b/routes/settings/general.html @@ -1,50 +1,21 @@ <:Head> Pinafore – General Settings - - -

General Settings

- -

UI Settings

-
-
- - -
-
- - -
-
- -
+
- - \ No newline at end of file diff --git a/routes/settings/index.html b/routes/settings/index.html index 50ade4d..5319673 100644 --- a/routes/settings/index.html +++ b/routes/settings/index.html @@ -1,31 +1,21 @@ <:Head> Pinafore – Settings - - -

Settings

- - - - - - - -
+
\ No newline at end of file diff --git a/routes/settings/instances/[instanceName].html b/routes/settings/instances/[instanceName].html index 3d45547..e978e57 100644 --- a/routes/settings/instances/[instanceName].html +++ b/routes/settings/instances/[instanceName].html @@ -1,159 +1,21 @@ <:Head> Pinafore – {{params.instanceName}} - - -

{{params.instanceName}}

- - {{#if verifyCredentials}} -

Logged in as:

-
- - - {{'@' + verifyCredentials.acct}} - - {{verifyCredentials.display_name || verifyCredentials.acct}} -
-

Theme:

-
- {{#each themes as theme}} -
- - -
- {{/each}} -
- -
- {{#if $loggedInInstancesInOrder.length > 1 && $currentInstance !== params.instanceName}} - - {{/if}} - -
- {{/if}} -
+
- \ No newline at end of file diff --git a/routes/settings/instances/add.html b/routes/settings/instances/add.html index d6b1b12..f8beca4 100644 --- a/routes/settings/instances/add.html +++ b/routes/settings/instances/add.html @@ -1,98 +1,21 @@ <:Head> Pinafore – Add an Instance - - -

Add an Instance

- - {{#if $isUserLoggedIn}} -

Connect to an instance to log in.

- {{else}} -

Log in to an instance to use Pinafore.

- {{/if}} - -
- - {{#if $logInToInstanceError && $logInToInstanceErrorForText === $instanceNameInSearch}} - - {{/if}} - - - - - - -
- - {{#if !$isUserLoggedIn}} -

Don't have an instance? Join Mastodon!

- {{/if}} -
+
- \ No newline at end of file diff --git a/routes/settings/instances/index.html b/routes/settings/instances/index.html index 7d5d21b..162ce6b 100644 --- a/routes/settings/instances/index.html +++ b/routes/settings/instances/index.html @@ -1,43 +1,21 @@ <:Head> Pinafore – Instances - - -

Instances

- - {{#if $isUserLoggedIn}} -

Instances you've logged in to:

- - {{#each $loggedInInstancesAsList as instance}} - - {{/each}} - -

Add another instance

- {{else}} -

You're not logged in to any instances.

-

Log in to an instance to start using Pinafore.

- {{/if}} -
+
\ No newline at end of file diff --git a/routes/statuses/[statusId]/favorites.html b/routes/statuses/[statusId]/favorites.html index 8bf0df8..b7daf20 100644 --- a/routes/statuses/[statusId]/favorites.html +++ b/routes/statuses/[statusId]/favorites.html @@ -1,28 +1,21 @@ <:Head> Pinafore – Favorites - - - + \ No newline at end of file diff --git a/routes/statuses/[statusId]/index.html b/routes/statuses/[statusId]/index.html index 04916ed..c2215f6 100644 --- a/routes/statuses/[statusId]/index.html +++ b/routes/statuses/[statusId]/index.html @@ -1,37 +1,21 @@ <:Head> Pinafore – Status - - {{#if $isUserLoggedIn}} - - - {{else}} - - -

Status

- -

A status thread will appear here when logged in.

-
-
- {{/if}} +
\ No newline at end of file diff --git a/routes/statuses/[statusId]/reblogs.html b/routes/statuses/[statusId]/reblogs.html index 4a8b589..41668ec 100644 --- a/routes/statuses/[statusId]/reblogs.html +++ b/routes/statuses/[statusId]/reblogs.html @@ -1,28 +1,21 @@ <:Head> Pinafore – Reblogs - - - + \ No newline at end of file diff --git a/routes/statuses/[statusId]/reply.html b/routes/statuses/[statusId]/reply.html index ba4302c..0a58d92 100644 --- a/routes/statuses/[statusId]/reply.html +++ b/routes/statuses/[statusId]/reply.html @@ -1,53 +1,21 @@ <:Head> Pinafore – Reply - - -
- {{#if status}} - - - {{else}} - - {{/if}} -
+
- \ No newline at end of file diff --git a/routes/tags/[tagName].html b/routes/tags/[tagName].html index ba3c03f..8e99862 100644 --- a/routes/tags/[tagName].html +++ b/routes/tags/[tagName].html @@ -1,37 +1,21 @@ <:Head> Pinafore – #{{params.tagName}} - - {{#if $isUserLoggedIn}} - - - {{else}} - - -

#{{params.tagName}}

- -

A hashtag timeline will appear here when logged in.

-
-
- {{/if}} +
\ No newline at end of file diff --git a/scss/global.scss b/scss/global.scss index 12857a7..6d9cae8 100644 --- a/scss/global.scss +++ b/scss/global.scss @@ -37,6 +37,7 @@ main { background: var(--main-bg); border: 1px solid var(--main-border); border-radius: 1px; + min-height: 60vh; @media (max-width: 767px) { margin: 5px auto 15px; } diff --git a/templates/2xx.html b/templates/2xx.html index 12c28ad..a0cbb3f 100644 --- a/templates/2xx.html +++ b/templates/2xx.html @@ -11,7 +11,7 @@