Skip to content

Commit da116b2

Browse files
committed
Overhaul menu items and social icons (at the bottom now).
1 parent 1f6bc01 commit da116b2

File tree

5 files changed

+56
-174
lines changed

5 files changed

+56
-174
lines changed

config.toml

Lines changed: 40 additions & 137 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ paginate = 10
1616

1717
[[menu.main]]
1818
name = "News"
19-
url = "/news/"
2019
weight = 1
2120
[[menu.main]]
2221
parent = "News"
@@ -34,162 +33,75 @@ paginate = 10
3433
url = "/blogs/"
3534
weight = 103
3635

37-
3836
[[menu.main]]
39-
identifier = "discover"
40-
name = "Discover More!"
41-
url = "/blog/"
37+
name = "Community"
4238
weight = 2
4339
[[menu.main]]
44-
parent = "discover"
45-
name = "Following!"
46-
url = "/joining/"
40+
parent = "Community"
41+
name = "Chat"
42+
url = "https://chat.reactos.org"
4743
weight = 201
48-
pre = "<span style='font-weight: bold;'>"
49-
post = "</span>"
5044
[[menu.main]]
51-
parent = "discover"
52-
name = "Live Activity"
53-
url = "https://jira.reactos.org/secure/Dashboard.jspa#Activity-Stream/10001"
45+
parent = "Community"
46+
name = "Forum"
47+
url = "/forum"
5448
weight = 202
55-
[[menu.main]]
56-
parent = "discover"
57-
name = "Helping us"
58-
url = "/participation/"
59-
weight = 203
60-
[[menu.main]]
61-
parent = "discover"
62-
identifier = "follow_faq"
63-
name = "FAQs"
64-
url = "/joining/faqs"
65-
weight = 204
6649

50+
[[menu.main]]
51+
name = "Development"
52+
weight = 3
6753
[[menu.main]]
68-
parent = "discover"
69-
name = "Testing!"
70-
url = "/testing/"
71-
weight = 205
72-
pre = "<span style='font-weight: bold;'>"
73-
post = "</span>"
74-
[[menu.main]]
75-
parent = "discover"
76-
name = "Installing ReactOS"
77-
url = "installing-reactos"
78-
weight = 206
79-
[[menu.main]]
80-
parent = "discover"
81-
name = "Filling a Bug"
82-
url = "https://reactos.org/wiki/File_Bugs"
83-
weight = 207
84-
[[menu.main]]
85-
parent = "discover"
86-
identifier = "testing_faq"
87-
name = "FAQs"
88-
url = "/testing/faqs/"
89-
weight = 208
90-
54+
parent = "Development"
55+
name = "Jira"
56+
url = "https://jira.reactos.org"
57+
weight = 301
9158
[[menu.main]]
92-
parent = "discover"
93-
name = "Developing!"
94-
url = "/developing/"
95-
weight = 209
96-
pre = "<span style='font-weight: bold;'>"
97-
post = "</span>"
59+
parent = "Development"
60+
name = "ReactOS Builds"
61+
url = "/getbuilds"
62+
weight = 302
9863
[[menu.main]]
99-
parent = "discover"
100-
name = "Building ReactOS"
101-
url = "/building-reactos/"
102-
weight = 210
64+
parent = "Development"
65+
name = "ReactOS on GitHub"
66+
url = "https://github.com/reactos"
67+
weight = 303
10368
[[menu.main]]
104-
parent = "discover"
105-
name = "Sending Patches"
106-
url = "https://reactos.org/wiki/Submitting_Patches"
107-
weight = 211
69+
parent = "Development"
70+
name = "Report a Bug"
71+
url = "https://reactos.org/wiki/File_Bugs"
72+
weight = 304
10873
[[menu.main]]
109-
parent = "discover"
110-
name = "Testman: Your Tool"
111-
url = "https://reactos.org/testman"
112-
weight = 212
74+
parent = "Development"
75+
name = "Testman"
76+
url = "/testman"
77+
weight = 305
11378
[[menu.main]]
114-
parent = "discover"
115-
identifier = "developing_faq"
116-
name = "FAQs"
117-
url = "/developing/faqs/"
118-
weight = 213
119-
120-
121-
122-
123-
[[menu.main]]
124-
name = "Jira"
125-
url = "https://jira.reactos.org"
126-
weight = 3
79+
parent = "Development"
80+
name = "Wiki"
81+
url = "/wiki"
82+
weight = 306
12783

12884
[[menu.main]]
129-
name = "Gallery"
130-
url = "/gallery/"
85+
name = "Shop"
86+
url = "https://reactos.spreadshirt.net"
13187
weight = 4
13288

13389
[[menu.main]]
134-
name = "IRC"
135-
url = "/irc/"
90+
name = "Donate"
91+
url = "/donate"
13692
weight = 5
13793

138-
[[menu.main]]
139-
name = "Forum"
140-
url = "/forum/"
141-
weight = 6
142-
143-
[[menu.main]]
144-
name = "Shop"
145-
url = "https://reactos.spreadshirt.net/"
146-
weight = 7
147-
14894
[[menu.main]]
14995
name = "Download"
150-
url = "/download/"
151-
weight = 8
152-
153-
[[menu.main]]
154-
name = "Donate"
155-
url = "/donate/"
156-
weight = 8
157-
158-
# Top bar social links menu
159-
160-
[[menu.topbar]]
161-
weight = 1
162-
name = "GitHub"
163-
url = "https://github.com/reactos/reactos"
164-
pre = "<i class='fa fa-2x fa-github'></i>"
165-
166-
[[menu.topbar]]
167-
weight = 2
168-
name = "Facebook"
169-
url = "https://www.facebook.com/ReactOS-19143619259/"
170-
pre = "<i class='fa fa-2x fa-facebook'></i>"
171-
172-
[[menu.topbar]]
173-
weight = 3
174-
name = "Twitter"
175-
url = "https://twitter.com/reactos"
176-
pre = "<i class='fa fa-2x fa-twitter'></i>"
177-
178-
[[menu.topbar]]
179-
weight = 4
180-
name = "Email"
181-
url = "mailto:[email protected]"
182-
pre = "<i class='fa fa-2x fa-envelope'></i>"
96+
url = "/download"
97+
weight = 6
18398

18499
[params]
185100
viewMorePostLink = "/news/"
186101
author = "DevCows"
187102
defaultKeywords = ["devows", "hugo", "go"]
188103
defaultDescription = "Site template made by devcows using hugo"
189104

190-
about_us = "ReactOS is a registered trademark of ReactOS Foundation in the USA and other countries. "
191-
copyright = "ReactOS Project"
192-
193105
# Format dates with Go's time formatting
194106
date_format = "January 2, 2006"
195107

@@ -199,15 +111,6 @@ paginate = 10
199111
[Permalinks]
200112
blog = "/blog/:year/:month/:day/:filename/"
201113

202-
# Enable or disable top bar with social icons
203-
[params.topbar]
204-
enable = false
205-
text = """<p class="hidden-sm hidden-xs">Contact us on +420 777 555 333 or [email protected].</p>
206-
<p class="hidden-md hidden-lg"><a href="#" data-animate-hover="pulse"><i class="fa fa-phone"></i></a>
207-
<a href="#" data-animate-hover="pulse"><i class="fa fa-envelope"></i></a>
208-
</p>
209-
"""
210-
211114
# Enable and disable widgets for the right sidebar
212115
[params.widgets]
213116
categories = true

themes/reactos/layouts/index.html

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@
1010

1111
<header>
1212

13-
{{ partial "top.html" . }}
14-
1513
{{ partial "nav.html" . }}
1614

1715
</header>

themes/reactos/layouts/partials/footer.html

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,18 @@
88
</ul>
99
</div>
1010

11-
<div class="col-md-4">
11+
<div class="col-md-4 text-right">
1212
{{ i18n "templateBy" }} <a href="http://bootstrapious.com/free-templates">Bootstrapious</a>.
1313
<!-- Not removing this link is part of the licence conditions of the template. Thanks for understanding :) -->
1414
{{ i18n "portedBy" }} <a href="https://github.com/devcows/hugo-universal-theme">DevCows</a>
15+
16+
<div class="social">
17+
<a href="https://facebook.com/ReactOS-19143619259" target="_blank"><i class="fa fa-facebook"></i></a>
18+
<a href="https://github.com/reactos" target="_blank"><i class="fa fa-github"></i></a>
19+
<a href="https://twitter.com/reactos" target="_blank"><i class="fa fa-twitter"></i></a>
20+
<a href="https://vk.com/reactos_ru" target="_blank"><i class="fa fa-vk"></i></a>
21+
<a href="https://youtube.com/c/ReactOSCommunity" target="_blank"><i class="fa fa-youtube"></i></a>
22+
</div>
1523
</div>
1624
</div>
1725
</footer>

themes/reactos/layouts/partials/top.html

Lines changed: 0 additions & 18 deletions
This file was deleted.

themes/reactos/static/css/style.blue.css

Lines changed: 7 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -242,37 +242,28 @@ ul.list-style-none {
242242
margin: 0;
243243
font-size: 12px;
244244
}
245-
#top .social {
246-
float: right;
247-
text-align: right;
245+
#copyright .social i {
246+
font-size: 28px;
248247
}
249-
#top .social a {
248+
#copyright .social a {
250249
color: #999999;
251250
display: inline-block;
252-
width: 24px;
253-
height: 24px;
254251
border-radius: 12px;
255252
line-height: 20px;
256253
font-size: 12px;
257254
text-align: center;
258255
vertical-align: bottom;
259256
}
260-
#top .social a:hover {
257+
#copyright .social a:hover {
261258
color: #fff;
262259
}
263-
#top .social a:hover.facebook {
260+
#copyright .social a:hover.facebook {
264261
background-color: #4460ae;
265262
}
266-
#top .social a:hover.gplus {
267-
background-color: #c21f25;
268-
}
269-
#top .social a:hover.twitter {
263+
#copyright .social a:hover.twitter {
270264
background-color: #3cf;
271265
}
272-
#top .social a:hover.instagram {
273-
background-color: #cd4378;
274-
}
275-
#top .social a:hover.email {
266+
#copyright .social a:hover.email {
276267
background-color: #4a7f45;
277268
}
278269
#top .login {

0 commit comments

Comments
 (0)