Project details
Description
Intro panel under a project's title: summary, role, year, links and tech.
Every field is optional; the panel only shows what is filled in.
Usage
Minimal example
{% project_details %}
All parameters
{% project_details
summary="foo"
role="bar"
year="baz"
live_url="foo"
repo_url="bar"
filter_url="baz"
%}
Qualified tag usage
{% ui__project_details %}
Parameters
| Name | Type | Requirement | Default | Choices | Description |
|---|---|---|---|---|---|
summary
|
str
|
Optional | — | — | Lead paragraph summarising the project. |
role
|
str
|
Optional | — | — | The author's role, e.g. 'Creator'. |
year
|
str
|
Optional | — | — | Year the project started. |
live_url
|
str
|
Optional | — | — | Live site URL. |
repo_url
|
str
|
Optional | — | — | Source repository URL. |
tags
|
list
|
Optional | — | — | Tech tags (objects with name/slug, or strings). |
filter_url
|
str
|
Optional | — | — | Portfolio index URL for tag links. |
Select variant preset
Background colour
Viewport width
Zoom level
{% project_details %}
<aside class="project-details " aria-label="Project details">
<p class="project-details__summary">foo</p>
<dl class="project-details__facts">
<div>
<dt>Role</dt>
<dd>
bar
</dd>
</div>
<div>
<dt>Started</dt>
<dd>
baz
</dd>
</div>
</dl>
<p class="project-details__links">
<a class="project-details__button project-details__button--primary"
href="foo"
rel="noopener">Visit site</a>
<a class="project-details__button" href="bar" rel="noopener">View source</a>
</p>
</aside>