Redesign the landing page, mount public timeline on it (#4122)

* Redesign the landing page, mount public timeline on it

* Adjust the standalone mounted component to the lacking of router

* Adjust auth layout pages to new design

* Fix tests

* Standalone public timeline polling every 5 seconds

* Remove now obsolete translations

* Add responsive design for new landing page

* Address reviews

* Add floating clouds behind frontpage form

* Use access token from public page when available

* Fix mentions and hashtags links, cursor on status content in standalone mode

* Add footer link to source code

* Fix errors on pages that don't embed the component, use classnames

* Fix tests

* Change anonymous autoPlayGif default to false

* When gif autoplay is disabled, hover to play

* Add option to hide the timeline preview

* Slightly improve alt layout

* Add elephant friend to new frontpage

* Display "back to mastodon" in place of "login" when logged in on frontpage

* Change polling time to 3s
This commit is contained in:
Eugen Rochko 2017-07-11 15:27:59 +02:00 committed by GitHub
parent 8784bd79d0
commit e19eefe219
68 changed files with 959 additions and 658 deletions

View file

@ -3,23 +3,12 @@ zh-CN:
about:
about_mastodon: Mastodon长毛象是一个<em>自由、开放源码</em>的社交网站。它是一个分布式的服务,避免你的通信被单一商业机构垄断操控。请你选择一家你信任的 Mastodon 实例,在上面创建帐号,然后你就可以和任一 Mastodon 实例上的用户互通,享受无缝的<em>社交</em>交流。
about_this: 关于本实例
apps: 应用程序
business_email: 商业电邮︰
closed_registrations: 这个实例目前不开放注册 _(:3」∠)_
contact: 联络
description_headline: 关于 %{domain}
domain_count_after: 个其它实例
domain_count_before: 现已接入
features:
api: 开放 API供各式应用程序及服务接入
blocks: 完善的封锁用户、静音功能
characters: 每篇嘟文最多 500 字
chronology: 纯粹按时间排序,不作多余处理
ethics: 良心设计︰没有广告,不追踪你的使用行为
gifv: 支持显示 GIFV 动图小视频
privacy: 可逐篇嘟文设置隐私
public: 提供公共时间轴
features_headline: 是什么让 Mastodon 与众不同
get_started: 上手使用
links: 链接
other_instances: 其它实例
@ -166,8 +155,6 @@ zh-CN:
desc_html: 当本站暂停接受注册时,会显示这个消息。<br/> 可使用 HTML
title: 暂停注册消息
open:
disabled: 停用
enabled: 启用
title: 开放注册
setting: 设置
site_description: