fix: prevent interception rename social -> s
This commit is contained in:
parent
79b38c7ef1
commit
b1a03ec5d5
|
@ -4,17 +4,17 @@
|
||||||
<%= theme.style.first_screen.description || config.description %>
|
<%= theme.style.first_screen.description || config.description %>
|
||||||
</div>
|
</div>
|
||||||
<% if (theme.social_contact.enable) { %>
|
<% if (theme.social_contact.enable) { %>
|
||||||
<ul class="social-icon-list">
|
<ul class="s-icon-list">
|
||||||
<% for (const key in theme.social_contact.links) { %>
|
<% for (const key in theme.social_contact.links) { %>
|
||||||
<% if(theme.social_contact.links[key]) { %>
|
<% if(theme.social_contact.links[key]) { %>
|
||||||
<% if(key === 'email') { %>
|
<% if(key === 'email') { %>
|
||||||
<li class="social-icon-item <%= key %>">
|
<li class="s-icon-item <%= key %>">
|
||||||
<a href="mailto:<%- url_for(theme.social_contact.links[key]) %>">
|
<a href="mailto:<%- url_for(theme.social_contact.links[key]) %>">
|
||||||
<i class="fas fa-envelope"></i>
|
<i class="fas fa-envelope"></i>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<% } else { %>
|
<% } else { %>
|
||||||
<li class="social-icon-item <%= key %>">
|
<li class="s-icon-item <%= key %>">
|
||||||
<a href="<%- url_for(theme.social_contact.links[key]) %>">
|
<a href="<%- url_for(theme.social_contact.links[key]) %>">
|
||||||
<i class="fab fa-<%= key %>"></i>
|
<i class="fab fa-<%= key %>"></i>
|
||||||
</a>
|
</a>
|
||||||
|
|
|
@ -18,14 +18,14 @@
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.social-icon-list {
|
.s-icon-list {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
bottom: $component-interspace;
|
bottom: $component-interspace;
|
||||||
font-size: 1.6em;
|
font-size: 1.6em;
|
||||||
left: 50%;
|
left: 50%;
|
||||||
transform: translateX(-50%);
|
transform: translateX(-50%);
|
||||||
|
|
||||||
.social-icon-item {
|
.s-icon-item {
|
||||||
float: left;
|
float: left;
|
||||||
margin-right: 25px;
|
margin-right: 25px;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
|
Loading…
Reference in New Issue