Add open source page
This commit is contained in:
parent
8520ff99d9
commit
65ca5b136c
3 changed files with 172 additions and 0 deletions
|
@ -19,6 +19,7 @@
|
|||
<a href="/" class="nav-item {{ page.url == '/.' ? 'nav-item--active' }}">About</a>
|
||||
<a href="/experience" class="nav-item {{ page.url matches '#^/experience/?#' ? 'nav-item--active' }}">Experience</a>
|
||||
<a href="/talks" class="nav-item {{ page.url matches '#^/talks/?#' ? 'nav-item--active' }}">Talks</a>
|
||||
<a href="/opensource" class="nav-item {{ page.url matches '#^/opensource/?#' ? 'nav-item--active' }}">Open Source</a>
|
||||
<a href="/blog" class="nav-item {{ page.url matches '#^/blog/?#' ? 'nav-item--active' }}">Blog</a>
|
||||
<a href="/contact" class="nav-item {{ page.url matches '#^/contact/?#' ? 'nav-item--active' }}">Contact</a>
|
||||
</nav>
|
||||
|
|
27
source/_includes/opensource/projects.html.twig
Normal file
27
source/_includes/opensource/projects.html.twig
Normal file
|
@ -0,0 +1,27 @@
|
|||
<div class="md:flex md:flex-wrap md:-mx-2">
|
||||
{% for project in projects %}
|
||||
<div class="md:w-1/2 md:px-2 mb-4 flex">
|
||||
<div class="border p-3 w-full flex flex-col {{ project.versions ? 'justify-between' }}">
|
||||
<h3>
|
||||
<a href="{{ project.url }}">
|
||||
{{ project.name }}
|
||||
</a>
|
||||
</h3>
|
||||
|
||||
<div>
|
||||
{{ project.description }}
|
||||
</div>
|
||||
|
||||
{% if project.versions %}
|
||||
<div class="mt-4 text-right">
|
||||
{% for version in project.versions %}
|
||||
<span class="text-xs ml-1 px-1 py-1 bg-grey-light text-grey-dark rounded">
|
||||
Drupal {{ version }}
|
||||
</span>
|
||||
{% endfor %}
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
{% endfor %}
|
||||
</div>
|
Loading…
Add table
Add a link
Reference in a new issue