Skip to content

Commit

Permalink
made requested changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Queen-codes committed Dec 20, 2024
1 parent ba86195 commit 9c4dfc1
Show file tree
Hide file tree
Showing 7 changed files with 42 additions and 44 deletions.
6 changes: 0 additions & 6 deletions assets/static/vocabulary/svg/font-awesome/icons/fa-icons.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions content/contents.lr
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,17 @@ links:
<!-- Button linking to the developer community page -->
<a href="/community">
Join the Developer Community
<!-- TODO: Evaluate legacy design button -->
</a>

<p>This site is for developers looking to contribute, but anyone can use CC tools to share their works.</p>
<!-- Button linking to the Creative Commons "Share your work" page -->
<a href="https://creativecommons.org/share-your-work/">
Share your work using our licenses/tools
<!-- TODO: Evaluate legacy design button -->
</a>

<!--TODO: Refactor code for the get involved section? -->
#### get-involved ####
title:

Expand Down
29 changes: 17 additions & 12 deletions themes/vocabulary_theme/templates/blocks/featured-projects.html
Original file line number Diff line number Diff line change
@@ -1,23 +1,20 @@
<article class="projects">
<h2> {{ this.title }}</h2>
<h2>{{ this.title }}</h2>
<ul>
{% for repo in bag('repos.repos') %}
{% if repo.featured %}
<li>
<article class="project">
<h3><a href="{{ repo.url }}">{{ repo.english_name }}</a></h3>
<p> {{ repo.description }}</p>
<p>{{ repo.description }}</p>
</article>
</li>
{% endif %}
{% endfor %}
</ul>
</article>

<!-- TODO: Reintroduce external links, tags, slack? -->
<!--TODO: Reintroduce external links, tags, and Slack in future updates -->

<!-- old HTML for reference commented out for now -->
<!-- <div class="external-links">
<!-- old HTML for reference commented out for now -->
<!--
<div class="external-links">
<a class="button is-text tiny" href="{{ repo.url }}">
<i class="icon github"></i>
<span class="link-content">Github Repository</span>
Expand All @@ -29,10 +26,18 @@ <h3><a href="{{ repo.url }}">{{ repo.english_name }}</a></h3>
<span class="link-content">Slack channel (#{{ repo.slack }})</span>
</a>
{% endif %}
</div> -->
</div>
-->

<!-- old tags structure for reference commented out for now -->
<!-- <div class="labels">
<!--
<div class="labels">
{% for technology in repo.technologies %}
<button class="button tag">{{ technology }}</button>
{% endfor %}
</div> -->
</div>
-->
{% endif %}
{% endfor %}
</ul>
</article>
33 changes: 20 additions & 13 deletions themes/vocabulary_theme/templates/blocks/get-involved.html
Original file line number Diff line number Diff line change
@@ -1,14 +1,21 @@
<article class="case-studies">
<h2> {{ this.title }} </h2>
<ul>
<li>
{{ this.links_product }}
</li>
<li>
{{ this.links_integrate }}
</li>
<li>
{{ this.links_plugins }}
</li>
</ul>
<article class="projects">
<h2>{{ this.title }}</h2>
<ul>
<li>
<article class="project">
<h3>{{ this.links_product }}</h3>
</article>
</li>
<li>
<article class="project">
<h3>{{ this.links_integrate }}</h3>
</article>
</li>
<li>
<article class="project">
<h3>{{ this.links_plugins }} </h3>
<!--Evaluate: Vocabulary markup uses <a> tags here also. To retain?-->
</article>
</li>
</ul>
</article>
2 changes: 1 addition & 1 deletion themes/vocabulary_theme/templates/blocks/hero.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<article class="">
<article>
<h2> {{ this.title }} </h2>
<div class="description">
{{ this.links }}
Expand Down
12 changes: 1 addition & 11 deletions themes/vocabulary_theme/templates/layout.html
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ <h1><a class="identity-logo product" href="{{ '/'|url }}">Open source</a></h1>
<li><a href="{{ '/community'| url }}">Community</a></li>
<li><a href="{{ '/programs' | url }}">Work Programs</a></li>
</ul>
<!--TODO: Evaluate use of dropdown/secondary menu-->
</nav>

<nav class="ancillary-menu">
Expand Down Expand Up @@ -89,11 +90,6 @@ <h1><a class="identity-logo product" href="{{ '/'|url }}">Open source</a></h1>
<a href="https://search.creativecommons.org/" target="_blank">Search Portal</a>
<p>Find engines to search openly licensed material for creative and educational reuse</p>
</li>
<li>
<a href="https://opensource.creativecommons.org/" target="_blank">Open Source</a>
<p>Help us build products that maximize creativity and innovation</p>
</li>

</ul>
</nav>
</div>
Expand Down Expand Up @@ -203,13 +199,7 @@ <h2>Support Our Work</h2>
<use href="/vocabulary/svg/cc/icons/cc-icons.svg#cc-by"></use>
</svg>
</div>

</footer>
</footer>
<script src="{{ '/static/vocabulary/js/vocabulary.js'|url }}"></script>
</body>
</html>
</footer>
<script src="{{ '/static/vocabulary/js/vocabulary.js'|url }}"></script>
</body>
</html>
1 change: 0 additions & 1 deletion themes/vocabulary_theme/templates/macros/posts.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ <h3 class="title"><a href="{{ post|url }}">{{ post.title }}</a></h3>

<figure>
{{ render_author_gravatar(post, skip_gravatar) }}
<!-- <span class="attribution">"<a href="https://thegreats.co/artworks/the-more-we-share-the-more-we-have-series-22">The More We Share, The More We Have (series 1/2)</a>" by <a href="https://thegreats.co/artists/pietro-soldi">Pietro Soldi</a> for Creative Commons &amp; Fine Acts is licensed under <a href="https://creativecommons.org/licenses/by-sa/4.0/">CC BY-SA 4.0</a></span> -->
</figure>
</article>
</li>
Expand Down

0 comments on commit 9c4dfc1

Please sign in to comment.