mirror of
https://github.com/fooflington/selfdefined.git
synced 2025-06-10 21:01:41 +00:00
⚒️ Adds alertbox to all definitions (#218)
* Adds alertbox to definition pages * Fixes syntax of links and improves wording of callout links to contribute
This commit is contained in:
4
11ty/_includes/components/alertbox.njk
Normal file
4
11ty/_includes/components/alertbox.njk
Normal file
@ -0,0 +1,4 @@
|
||||
<div class="alertbox">
|
||||
<h2 class="alertbox__title">Something not quite right?</h2>
|
||||
<p class="alertbox__content">If you found a typo, would like to add another resource, or add nuance to this definition, please feel free to <a href="https://github.com/tatianamac/selfdefined/issues" rel="noreferrer">submit an issue</a> or <a href="https://github.com/tatianamac/selfdefined/pulls" rel="noreferrer">open a pull request</a>.</p>
|
||||
</div>
|
@ -18,6 +18,7 @@
|
||||
</header>
|
||||
{% include 'components/content-warning-flag.njk' %}
|
||||
{% include 'components/definition-content.njk' %}
|
||||
{% include 'components/alertbox.njk' %}
|
||||
{% renderDefinitionContentNextEntries title, slug, collections.definedWords %}
|
||||
</article>
|
||||
</main>
|
||||
|
@ -18,7 +18,7 @@ layout: layouts/index.njk
|
||||
<div class="box">
|
||||
<h2 class="sub-headline">Ways to help</h2>
|
||||
<ol class="list">
|
||||
<li>Submit words and definitions or contribute to our code base through <a href="https://github.com/tatianamac/selfdefined/pulls" rel="noreferral">pull requests</a> or <a href="https://github.com/tatianamac/selfdefined/issues" rel="noreferral">issues</a>. Start with our <a href="https://github.com/selfdefined/web-app/blob/prod/CONTRIBUTING.md" rel="noreferral">contributing guidelines</a> and <a href="/documentation/">documentation</a>.</li>
|
||||
<li>Submit words and definitions or contribute to our code base through <a href="https://github.com/tatianamac/selfdefined/pulls" rel="noreferrer">pull requests</a> or <a href="https://github.com/tatianamac/selfdefined/issues" rel="noreferrer">issues</a>. Start with our <a href="https://github.com/selfdefined/web-app/blob/prod/CONTRIBUTING.md" rel="noreferrer">contributing guidelines</a> and <a href="/documentation/">documentation</a>.</li>
|
||||
<li>Sponsor this work through <a href="https://opencollective.com/selfdefined">Open Collective</a> or <a href="https://github.com/sponsors/tatianamac">GitHub Sponsors</a>.</li>
|
||||
<li>Follow us on Twitter <a href="https://www.twitter.com/selfdefinedapp">@SelfDefinedApp</a>.</li>
|
||||
</ol>
|
||||
|
Reference in New Issue
Block a user