diff --git a/src/intl/en-US.js b/src/intl/en-US.js index a1dacf0d..82a2e7f7 100644 --- a/src/intl/en-US.js +++ b/src/intl/en-US.js @@ -59,7 +59,7 @@ export default { favorites: 'Favorites', federated: 'Federated', home: 'Home', - local: 'Local', + meet: 'Meet!', notifications: 'Notifications', mutedUsers: 'Muted users', pinnedStatuses: 'Pinned toots', @@ -77,7 +77,7 @@ export default { federatedTimeline: 'Federated timeline', localTimeline: 'Local timeline', // community page - community: 'Community', + chat: 'Chat', pinnableTimelines: 'Pinnable timelines', timelines: 'Timelines', lists: 'Lists', @@ -188,7 +188,7 @@ export default { overLimit: '{count} {count, plural, =1 {character} other {characters}} over limit', underLimit: '{count} {count, plural, =1 {character} other {characters}} remaining', composeStatus: 'Compose toot', - postStatus: 'Toot!', + postStatus: 'Send!', contentWarning: 'Content warning', dropToUpload: 'Drop to upload', invalidFileType: 'Invalid file type', @@ -314,17 +314,16 @@ export default { profilePageForAccount: 'Profile page for {account}', // About page about: 'About', - aboutApp: 'About Pinafore', + aboutApp: 'About FediLove', aboutAppDescription: `

- Pinafore is - free and open-source software - created by - Nolan Lawson + FediLove is a Pinafore fork. It is + open-source software + adapted by + bofh@nogafam.es and distributed under the GNU Affero General Public License. + href="https://github.com/nolanlawson/pinafore/blob/master/LICENSE">AGPL License.

Privacy Policy

diff --git a/src/routes/_api/oauth.js b/src/routes/_api/oauth.js index b804dc88..1b296c2e 100644 --- a/src/routes/_api/oauth.js +++ b/src/routes/_api/oauth.js @@ -3,7 +3,7 @@ import { basename } from './utils' const WEBSITE = 'https://pinafore.social' const SCOPES = 'read write follow push' -const CLIENT_NAME = 'Pinafore' +const CLIENT_NAME = 'FediLove' export function registerApplication (instanceName, redirectUri) { const url = `${basename(instanceName)}/api/v1/apps` diff --git a/src/routes/_components/status/Status.html b/src/routes/_components/status/Status.html index 9e617d4e..5e9f25da 100644 --- a/src/routes/_components/status/Status.html +++ b/src/routes/_components/status/Status.html @@ -75,6 +75,7 @@ .status-article.status-in-timeline { border-bottom: 1px solid var(--main-border); + background: var(--article-bg); } .status-article.status-direct { diff --git a/src/routes/_pages/community/index.html b/src/routes/_pages/community/index.html deleted file mode 100644 index 49ec5c30..00000000 --- a/src/routes/_pages/community/index.html +++ /dev/null @@ -1,174 +0,0 @@ -{#if $isUserLoggedIn} -
- - - - -

- {intl.timelines} -

- - - {#each staticPinnables as staticPinnable, i} - - {/each} - - - {#if listsLength} - -

- {intl.lists} -

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

- Instance settings -

- - - {#if isLockedAccount} - - {/if} - - - - - -
-
-{:else} - - -

{intl.community}

- -

{intl.communityNotLoggedIn}

-
-
-
- - - - {intl.followRequests} - {intl.mutedUsers} - {intl.blockedUsers} - {intl.pinnedStatuses} -
-{/if} - - diff --git a/src/routes/_pages/local.html b/src/routes/_pages/local.html deleted file mode 100644 index aaa84e58..00000000 --- a/src/routes/_pages/local.html +++ /dev/null @@ -1,32 +0,0 @@ -{#if $isUserLoggedIn} - - {#if $pinnedPage !== '/local'} - - {/if} - -{:else} - - -

{intl.local}

- -

{intl.localTimelineNotLoggedIn}

-
-
-{/if} - diff --git a/src/routes/_pages/search.html b/src/routes/_pages/search.html index 9145b390..cbce0cda 100644 --- a/src/routes/_pages/search.html +++ b/src/routes/_pages/search.html @@ -14,7 +14,6 @@ - {intl.local} {intl.federated} {intl.favorites} {intl.directMessages} diff --git a/src/routes/_pages/settings/index.html b/src/routes/_pages/settings/index.html index 5184f784..c353e5aa 100644 --- a/src/routes/_pages/settings/index.html +++ b/src/routes/_pages/settings/index.html @@ -2,9 +2,6 @@

{intl.settings}

- - - diff --git a/src/routes/_static/timelines.js b/src/routes/_static/timelines.js index 054d13db..065d07b1 100644 --- a/src/routes/_static/timelines.js +++ b/src/routes/_static/timelines.js @@ -2,6 +2,6 @@ export const TIMELINE_BATCH_SIZE = 20 export const timelines = { home: { name: 'home', label: 'intl.home' }, - local: { name: 'local', label: 'intl.local' }, + local: { name: 'local', label: 'intl.meet' }, federated: { name: 'federated', label: 'intl.federated' } } diff --git a/src/routes/_store/computations/navComputations.js b/src/routes/_store/computations/navComputations.js index 30606aef..6acc40ba 100644 --- a/src/routes/_store/computations/navComputations.js +++ b/src/routes/_store/computations/navComputations.js @@ -58,10 +58,10 @@ export function navComputations (store) { } } else { // local pinnedPageObject = { - name: 'local', - href: '/local', + name: 'federated', + href: '/federated', svg: '#fa-users', - label: 'intl.local' + label: 'intl.meet' } } @@ -80,16 +80,10 @@ export function navComputations (store) { }, pinnedPageObject, { - name: 'community', - href: '/community', + name: 'direct', + href: '/direct', svg: '#fa-comments', - label: 'intl.community' - }, - { - name: 'search', - href: '/search', - svg: '#fa-search', - label: 'intl.search' + label: 'intl.chat' }, { name: 'settings', diff --git a/src/routes/community/index.html b/src/routes/community/index.html deleted file mode 100644 index 190879f0..00000000 --- a/src/routes/community/index.html +++ /dev/null @@ -1,20 +0,0 @@ - - - <LazyPage {pageComponent} {params} /> - -<script> - import Title from '../_components/Title.html' - import LazyPage from '../_components/LazyPage.html' - import pageComponent from '../_pages/community/index.html' - - export default { - components: { - - Title, - LazyPage - }, - data: () => ({ - pageComponent - }) - } -</script> diff --git a/src/routes/local.html b/src/routes/local.html deleted file mode 100644 index c9768262..00000000 --- a/src/routes/local.html +++ /dev/null @@ -1,20 +0,0 @@ -<Title name="{intl.local}" /> - - <LazyPage {pageComponent} {params} /> - -<script> - import Title from './_components/Title.html' - import LazyPage from './_components/LazyPage.html' - import pageComponent from './_pages/local.html' - - export default { - components: { - - Title, - LazyPage - }, - data: () => ({ - pageComponent - }) - } -</script> diff --git a/src/routes/search.html b/src/routes/search.html deleted file mode 100644 index 5a951706..00000000 --- a/src/routes/search.html +++ /dev/null @@ -1,20 +0,0 @@ -<Title name="{intl.search}" /> - - <LazyPage {pageComponent} {params} /> - -<script> - import Title from './_components/Title.html' - import LazyPage from './_components/LazyPage.html' - import pageComponent from './_pages/search.html' - - export default { - components: { - - Title, - LazyPage - }, - data: () => ({ - pageComponent - }) - } -</script> diff --git a/src/routes/settings/general.html b/src/routes/settings/general.html deleted file mode 100644 index b5f9ac88..00000000 --- a/src/routes/settings/general.html +++ /dev/null @@ -1,20 +0,0 @@ -<Title name="{intl.generalSettings}" settingsPage={true} /> - - <LazyPage {pageComponent} {params} /> - -<script> - import Title from '../_components/Title.html' - import LazyPage from '../_components/LazyPage.html' - import pageComponent from '../_pages/settings/general.html' - - export default { - components: { - - Title, - LazyPage - }, - data: () => ({ - pageComponent - }) - } -</script> diff --git a/src/scss/themes/ozark.scss b/src/scss/themes/ozark.scss index fb4698a8..029ba3b5 100644 --- a/src/scss/themes/ozark.scss +++ b/src/scss/themes/ozark.scss @@ -16,6 +16,9 @@ $nav-a-bg-hover: lighten($nav-bg, 25%); $nav-a-border: #ffa700; $nav-a-border-hover: #fff; $nav-active-bg: lighten($nav-a-selected-bg-hover, 15%); +$main-border: #ececec; +$article-bg: #fff; +$deemphasized-text-color: #939393; @import "_base.scss"; @import "_dark.scss"; @@ -35,4 +38,46 @@ $nav-active-bg: lighten($nav-a-selected-bg-hover, 15%); --nav-a-border: #{$nav-a-border}; --nav-a-border-hover: #{$nav-a-border-hover}; --nav-active-bg: #{$nav-active-bg}; + --main-border: #{$main-border}; + --article-bg: #{$article-bg}; + --deemphasized-text-color: #{$deemphasized-text-color}; } + +div.timeline > div.virtual-list { + article.status-article > div.status-content { + position: relative; + top: 1em; + } +} + +div.timeline > div.the-list { + div.list-item { + article.status-article { + background: #e8e8e8; + border-radius: 1.5em; + margin: .5em 1em; + float: right; + border: 1px solid #c6c5c5; + box-shadow: 6px 6px 6px #dbd7d7; + } + article.status-article { + a.status-sidebar { + visibility: collapse; + width: 0; + height: 0; + } + span.status-author-handle { + visibility: collapse; + } + } + } +} + +div.timeline article { + .status-toolbar { + visibility: collapse; + width: 0; + height: 0; + } +} +