You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is now a completely self-contained feature, which
can be used in the same way on every page. I've moved all the
collapsible-related logics out of the resources.js file and
into collapsibles.js, and added documentation and other
quality-of-life features that will apply to other pages, as well.
Changes:
- The icon will now always change when the collapsible opens or closes.
- By adding the "collapsed" class, you can tell the collapsible to
be collapsed by default.
<span class="card-header-title subtitle is-6 my-2 ml-2">Getting started with Git and GitHub</span>
16
16
<span class="card-header-icon">
17
-
<i class="fas fa-angle-down title is-5" aria-hidden="true"></i>
17
+
<i class="fas fa-fw fa-angle-down title is-5" aria-hidden="true"></i>
18
18
</span>
19
19
</button>
20
-
<div class="collapsible-content">
20
+
<div class="collapsible-content collapsed">
21
21
<div class="card-content">
22
22
<p>If you don't have Git on your computer already, <a href="https://git-scm.com/downloads">install it</a>. You can additionally install a Git GUI such as <a href="https://www.gitkraken.com/download">GitKraken</a>, or the <a href="https://cli.github.com/manual/installation">GitHub CLI</a>.</p>
23
23
<p>To learn more about Git, you can look into <a href="../working-with-git">our guides</a>, as well as <a href="https://education.github.com/git-cheat-sheet-education.pdf">this cheatsheet</a>, <a href="https://learngitbranching.js.org">Learn Git Branching</a>, and otherwise any guide you can find on the internet. Once you got the basic idea though, the best way to learn Git is to use it.</p>
@@ -78,10 +78,10 @@ See [here](../obtaining-discord-ids) for help with obtaining Discord IDs.
<i class="fas fa-angle-down title is-5" aria-hidden="true"></i>
81
+
<i class="fas fa-fw fa-angle-down title is-5" aria-hidden="true"></i>
82
82
</span>
83
83
</button>
84
-
<div class="collapsible-content">
84
+
<div class="collapsible-content collapsed">
85
85
<div class="card-content">
86
86
<p>If you used the provided server template, and you're not sure which channels belong where in the config file, you can use the config below. Pay attention to the comments with several <code>#</code> symbols, and replace the <code>�</code> characters with the right IDs.</p>
87
87
<pre>
@@ -458,10 +458,10 @@ We understand this is tedious and are working on a better solution for setting u
0 commit comments