You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
1.0 KiB
28 lines
1.0 KiB
3 years ago
|
<%
|
||
|
// the projects information of theme _config.yml.
|
||
|
var myprojects = theme.myProjects.data;
|
||
|
%>
|
||
|
<div class="my-projects">
|
||
|
<div class="title center-align" data-aos="zoom-in-up">
|
||
|
<i class="fas fa-gift"></i> <%- __('myProjects') %>
|
||
|
</div>
|
||
|
<div class="row">
|
||
|
<% if (myprojects) { %>
|
||
|
<% Object.keys(myprojects).forEach(function(project) { %>
|
||
|
<div class="col s12 m6 l4" data-aos="fade-up">
|
||
|
<div class="info center-align">
|
||
|
<a href="<%- myprojects[project].url %>" class="icon"
|
||
|
style="background: <%- myprojects[project].iconBackground %>" target="_blank">
|
||
|
<i class="<%- myprojects[project].icon %>"></i>
|
||
|
</a>
|
||
|
<div class="info-title">
|
||
|
<a href="<%- url_for(myprojects[project].url) %>" target="_blank"><%- project %></a>
|
||
|
</div>
|
||
|
<div class="info-desc"><%= myprojects[project].desc %></div>
|
||
|
</div>
|
||
|
</div>
|
||
|
<% }); %>
|
||
|
<% } %>
|
||
|
</div>
|
||
|
</div>
|