Browse Source

微调about界面

pull/4/head
欧醚 3 years ago
parent
commit
89bc52e250
3 changed files with 3 additions and 5 deletions
  1. +1
    -0
      app/javascript/styles/mastodon/about.scss
  2. +1
    -4
      app/views/about/show.html.haml
  3. +1
    -1
      config/locales/zh-CN.yml

+ 1
- 0
app/javascript/styles/mastodon/about.scss View File

@ -874,6 +874,7 @@ $small-breakpoint: 960px;
color: $ui-primary-color;
text-decoration: none;
font-size: 14px;
text-align: center;
@media screen and (max-width: $no-gap-breakpoint) {
position: static;

+ 1
- 4
app/views/about/show.html.haml View File

@ -1,6 +1,3 @@
- content_for :page_title do
= site_hostname
- content_for :header_tags do
%link{ rel: 'canonical', href: about_url }/
= render partial: 'shared/og'
@ -9,7 +6,7 @@
.landing__brand
= link_to root_url, class: 'brand' do
= svg_logo_full
%span.brand__tagline=t 'about.tagline'
%span.brand__tagline=site_title
.landing__grid
.landing__grid__column.landing__grid__column-registration

+ 1
- 1
config/locales/zh-CN.yml View File

@ -4,7 +4,7 @@ zh-CN:
about_hashtag_html: 这里展示的是带有话题标签 <strong>#%{hashtag}</strong> 的公开嘟文。如果你想与他们互动,你需要在任意一个 Mastodon 站点或与其兼容的网站(例如闭社)上拥有一个帐户。
about_mastodon_html: 闭社 是一个基于Mastodon的建立在开放式网络协议和自由、开源软件之上的内容平台,有着类似于电子邮件的分布式设计。
about_this: 关于本站
active_count_after: 活跃
active_count_after: 近期上线
active_footnote: 每月活跃用户
administered_by: 本站管理员:
api: API

Loading…
Cancel
Save