Skip to content

Commit e52d7db

Browse files
authored
Merge pull request #694 from SISheogorath/refactor/socialmedia
Reorganize social media links and footer
2 parents e5074df + 16892cd commit e52d7db

4 files changed

Lines changed: 12 additions & 9 deletions

File tree

locales/de.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,5 +104,6 @@
104104
"OR": "Oder",
105105
"Export to Snippet": "Zu Snippet exportieren",
106106
"Select Visibility Level": "Sichtbarkeit bestimmen",
107-
"Night Theme": "Nachtmodus"
107+
"Night Theme": "Nachtmodus",
108+
"Follow us on %s and %s.": "Folge uns auf %s und %s."
108109
}

locales/en.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,5 +104,6 @@
104104
"OR": "OR",
105105
"Export to Snippet": "Export to Snippet",
106106
"Select Visibility Level": "Select Visibility Level",
107-
"Night Theme": "Night Theme"
107+
"Night Theme": "Night Theme",
108+
"Follow us on %s and %s.": "Follow us on %s, and %s."
108109
}

locales/zh-CN.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,5 +104,6 @@
104104
"Select Visibility Level": "选择可见层级",
105105
"Night Theme": "夜间主题",
106106
"Do you really want to delete this note?": "确定要删除这个文件吗?",
107-
"All users will lose their connection.": "所有用户将失去连接"
107+
"All users will lose their connection.": "所有用户将失去连接",
108+
"Follow us on %s and %s.": "在%s和%s上关注我们"
108109
}

public/views/index/body.ejs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -123,12 +123,6 @@
123123

124124
<div class="mastfoot">
125125
<div class="inner">
126-
<h6 class="social-foot">
127-
<iframe src="//ghbtns.com/github-btn.html?user=hackmdio&repo=hackmd&type=star&count=true" frameborder="0" scrolling="0" width="104px" height="20px"></iframe>
128-
</h6>
129-
<p>
130-
&copy; 2018 <a href="https://www.facebook.com/hackmdio" target="_blank"><i class="fa fa-facebook-square"></i> HackMD</a> | <a href="<%- url %>/s/release-notes" target="_blank"><%= __('Releases') %></a>
131-
</p>
132126
<select class="ui-locale">
133127
<option value="en">English</option>
134128
<option value="zh-CN">简体中文</option>
@@ -152,6 +146,12 @@
152146
<option value="eo">Esperanto</option>
153147
<option value="da">dansk</option>
154148
</select>
149+
<p>
150+
&copy; 2018 <a href="https://hackmd.io">HackMD</a> | <a href="<%- url %>/s/release-notes" target="_blank"><%= __('Releases') %></a>
151+
</p>
152+
<h6 class="social-foot">
153+
<%- __('Follow us on %s and %s.', '<a href="https://github.com/hackmdio/HackMD" target="_blank"><i class="fa fa-github"></i> GitHub</a>, <a href="https://twitter.com/hackmdio" target="_blank"><i class="fa fa-twitter"></i> Twitter</a>', '<a href="https://www.facebook.com/hackmdio" target="_blank"><i class="fa fa-facebook-square"></i> Facebook</a>') %>
154+
</h6>
155155
</div>
156156
</div>
157157
</div>

0 commit comments

Comments
 (0)