Skip to content

Commit aedc986

Browse files
committed
Reduce amount of links in the menu
1 parent daf8677 commit aedc986

File tree

6 files changed

+23
-22
lines changed

6 files changed

+23
-22
lines changed

_includes/important-links.html

+8-6
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<div class="widget">
2-
<h3 class="widget-title">Official Channels</h3>
2+
<h3 class="widget-title">Important links</h3>
33
<ul>
4-
<li><a class="spec" href="https://github.com/elixir-lang/elixir">Source code & Issues tracker</a></li>
5-
<li><a class="spec" href="irc://irc.libera.chat/elixir">#elixir on irc.libera.chat</a></li>
6-
<li><a class="spec" href="https://twitter.com/elixirlang">@elixirlang on Twitter</a></li>
4+
<li class="menu-item docs"><a class="spec" href="/docs.html">API Documentation</a></li>
5+
<li class="menu-item development"><a class="spec" href="/development.html">The development cycle</a></li>
6+
<li><a class="spec" href="https://github.com/elixir-lang/elixir">Source code & issues tracker</a></li>
77
</ul>
88
</div>
99

@@ -15,15 +15,17 @@ <h3 class="widget-title">Official Channels</h3>
1515
</a>
1616
</div>
1717

18-
<div class="widget events">
18+
<!-- <div class="widget events">
1919
<h3 class="widget-title">Upcoming events</h3>
2020
{% include conferences.html %}
21-
</div>
21+
</div> -->
2222

2323
<div class="widget">
2424
<h3 class="widget-title">Join the Community</h3>
2525
<ul>
2626
<li><a class="spec" href="https://hex.pm">Hex.pm package manager</a></li>
27+
<li><a class="spec" href="https://twitter.com/elixirlang">@elixirlang on Twitter</a></li>
28+
<li><a class="spec" href="irc://irc.libera.chat/elixir">#elixir on irc.libera.chat</a></li>
2729
<li><a class="spec" href="http://elixirforum.com">Elixir Forum</a></li>
2830
<li><a class="spec" href="https://elixir-slackin.herokuapp.com/">Elixir on Slack</a></li>
2931
<li><a class="spec" href="https://discord.gg/elixir">Elixir on Discord</a></li>

_includes/top.html

-2
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,6 @@
3939
<li class="menu-item learning"><a class="spec" href="/learning.html">Learning</a></li>
4040
<li class="menu-item getting-started"><a class="spec" href="/getting-started/introduction.html">Guides</a></li>
4141
<li class="menu-item cases"><a class="spec" href="/cases.html">Cases</a></li>
42-
<li class="menu-item docs"><a class="spec" href="/docs.html">Docs</a></li>
43-
<li class="menu-item development"><a class="spec" href="/development.html">Development</a></li>
4442
<li class="menu-item blog"><a class="spec" href="/blog/">Blog</a></li>
4543
</ul>
4644
</div>

_layouts/getting-started.html

+8-7
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
<div id="sidebar-primary" class="sidebar">
44
{% include search.html %}
55

6+
<a class="spec" href="/docs.html" style="display: block;margin-bottom: 20px">API Documentation</a>
7+
68
{% assign guides = site.data.getting-started %}
79
{% for guide in site.data.getting-started %}
810
<div class="widget">
@@ -33,13 +35,6 @@ <h1>{{ page.title }}</h1>
3335
{{ content }}
3436
</article><!-- .hfeed -->
3537

36-
<div id="edit-on-github">
37-
<span>Is something wrong?</span>
38-
<a href="{{ site.github.repository_url }}/edit/main/{{ page.path }}">
39-
Edit this page on GitHub.
40-
</a>
41-
</div>
42-
4338
{% assign url_parts = page.url | split: '/' %}
4439
{% assign url_parts_size = url_parts | size %}
4540
{% assign file_name = url_parts | last %}
@@ -67,6 +62,12 @@ <h1>{{ page.title }}</h1>
6762
{% endif %}
6863
{% endfor %}
6964

65+
<div id="edit-on-github">
66+
<span>Is something wrong?</span>
67+
<a href="{{ site.github.repository_url }}/edit/main/{{ page.path }}">
68+
Edit this page on GitHub.
69+
</a>
70+
</div>
7071
</div><!-- #content -->
7172

7273
{% include bottom.html %}

css/style.css

+2-2
Original file line numberDiff line numberDiff line change
@@ -689,7 +689,7 @@ body.learning div.menu li.learning a {
689689
.pagination.loop-pagination {
690690
text-align: center;
691691
clear: both;
692-
margin: 7px 0;
692+
padding: 15px 0 5px;
693693
}
694694
.pagination .page-numbers {
695695
display: inline-block;
@@ -769,7 +769,7 @@ body.learning div.menu li.learning a {
769769
}
770770

771771
#edit-on-github {
772-
padding: 15px 0 25px;
772+
padding: 10px 0 15px;
773773
text-align: center;
774774
font-size: 12px;
775775
}

getting-started/introduction.markdown

+3-3
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ In this tutorial, we are going to teach you about Elixir fundamentals - the lang
1111

1212
Our requirements are (see `elixir -v`):
1313

14-
* Elixir 1.5.0 onwards
15-
* Erlang/OTP 19 onwards
14+
* Elixir 1.11.0 onwards
15+
* Erlang/OTP 22 onwards
1616

1717
Let's get started!
1818

@@ -73,7 +73,7 @@ Later on we will learn how to compile Elixir code (in [Chapter 8](/getting-start
7373

7474
When going through this getting started guide, it is common to have questions; after all, that is part of the learning process! There are many places where you can ask questions, here are some of them:
7575

76-
* [Official #elixir on irc.libera.chat](irc://irc.libera.chat/elixir)
76+
* [#elixir on irc.libera.chat](irc://irc.libera.chat/elixir)
7777
* [Elixir Forum](http://elixirforum.com)
7878
* [Elixir on Slack](https://elixir-slackin.herokuapp.com/)
7979
* [Elixir on Discord](https://discord.gg/elixir)

learning.markdown

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ layout: default
88

99
{% include toc.html %}
1010

11-
Our website provides a [Getting Started guide](/getting-started/introduction.html) to learn more about Elixir's foundations and explore how to build projects with [Mix and OTP](/getting-started/mix-otp/introduction-to-mix.html). Elixir also includes [extensive API documentation](/docs.html). If you already know Erlang and you want to know Elixir (or vice-versa), check out our [Crash Course for Erlang developers](/crash-course.html).
11+
Our website provides a [Getting Started guide](/getting-started/introduction.html) to learn more about Elixir's foundations. Later on, it explores how to build projects with [Mix and OTP](/getting-started/mix-otp/introduction-to-mix.html). Elixir also includes [extensive API documentation](/docs.html).
1212

13-
Outside of our website, the Elixir Community has also produced plenty of resources to explore Elixir from different backgrounds and other perspectives. We are sure you will find a resource that suits your pace and goals.
13+
Outside of our website, the Elixir Community has also produced plenty of resources to learn the language from different backgrounds and other perspectives. We list some of them below. We are sure you will find a resource that suits your pace and goals.
1414

1515
## Books
1616

0 commit comments

Comments
 (0)