Skip to content

Commit

Permalink
make it more mine
Browse files Browse the repository at this point in the history
  • Loading branch information
Ghvinerias committed Nov 1, 2024
1 parent 1ccd870 commit 42b4e52
Show file tree
Hide file tree
Showing 4 changed files with 159 additions and 1 deletion.
120 changes: 120 additions & 0 deletions _includes/contact-print.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,120 @@
<div class="contact-container container-block">
<ul class="list-unstyled contact-list">

{% if sidebar.email %}
<li class="email"><i class="fas fa-envelope"></i>
<a href="mailto:{{ sidebar.email }}">{{ sidebar.email }}</a>
</li>
{% endif %}

{% if sidebar.phone %}
<li class="phone"><i class="fas fa-phone"></i>
<a href="tel:{{ sidebar.phone }}">{{ sidebar.phone }}</a>
</li>
{% endif %}

{% if sidebar.citizenship %}
<li class="phone"><i class="fas fa-passport"></i>
<a href="">{{ sidebar.citizenship }}</a>
</li>
{% endif %}

{% if sidebar.timezone %}
<li class="timezone"><i class="fas fa-clock"></i>
<a href="https://worldtimeapi.org/timezone/{{ sidebar.timezone }}" target="_blank">{{ sidebar.timezone }} Timezone</a>
</li>
{% endif %}

{% if sidebar.telegram %}
<li class="telegram"><i class="fab fa-telegram"></i>
<a href="https://t.me/{{ sidebar.telegram }}" target="_blank">{{ sidebar.telegram }}</a>
</li>
{% endif %}

{% if sidebar.website %}
<li class="website"><i class="fas fa-globe-americas"></i>
<a href="{{ sidebar.website }}" target="_blank">{{ sidebar.website }}</a>
</li>
{% endif %}

{% if sidebar.linkedin %}
<li class="linkedin"><i class="fab fa-linkedin"></i>
<a href="https://linkedin.com/in/{{ sidebar.linkedin }}" target="_blank">{{ sidebar.linkedin }}</a>
</li>
{% endif %}

{% if sidebar.xing %}
<li class="xing"><i class="fab fa-xing"></i>
<a href="https://www.xing.com/profile/{{ sidebar.xing }}" target="_blank">{{ sidebar.xing }}</a>
</li>
{% endif %}

{% if sidebar.github %}
<li class="github"><i class="fab fa-github"></i>
<a href="https://github.com/{{ sidebar.github }}" target="_blank">{{ sidebar.github }}</a>
</li>
{% endif %}

{% if sidebar.gitlab %}
<li class="gitlab"><i class="fab fa-gitlab"></i>
<a href="https://gitlab.com/{{ sidebar.gitlab }}" target="_blank">{{ sidebar.gitlab }}</a>
</li>
{% endif %}

{% if sidebar.bitbucket %}
<li class="bitbucket"><i class="fab fa-bitbucket"></i>
<a href="https://bitbucket.com/{{ sidebar.bitbucket }}" target="_blank">{{ sidebar.bitbucket }}</a>
</li>
{% endif %}

{% if sidebar.twitter %}
<li class="twitter"><i class="fab fa-twitter"></i>
<a href="https://twitter.com/{{ sidebar.twitter }}" target="_blank">{{ sidebar.twitter }}</a>
</li>
{% endif %}

{% if sidebar.mastodon %}
{% assign mastodon_handle = sidebar.mastodon | split: '/' %}
<li class="mastodon"><i class="fab fa-mastodon"></i>
<a href="{{ sidebar.mastodon }}" target="_blank">{{ mastodon_handle[3] }}@{{ mastodon_handle[2] }}</a>
</li>
{% endif %}

{% if sidebar.stack-overflow %}
<li class="stack-overflow"><i class="fab fa-stack-overflow"></i>
<a href="https://stackoverflow.com/users/{{ sidebar.stack-overflow }}" target="_blank">{{ sidebar.stack-overflow }}</a>
</li>
{% endif %}

{% if sidebar.codewars %}
<li class="codewars"><i class="fas fa-code"></i>
<a href="https://www.codewars.com/users/{{ sidebar.codewars }}/completed_solutions" target="_blank">{{ sidebar.codewars }}</a>
</li>
{% endif %}

{% if sidebar.bootdotdev %}
<li class="bootdotdev"><i class="fas fa-code"></i>
<a href="https://www.boot.dev/u/{{ sidebar.bootdotdev }}" target="_blank">{{ sidebar.bootdotdev }}</a>
</li>
{% endif %}

{% if sidebar.hackerrank %}
<li class="hackerrank"><i class="fab fa-hackerrank"></i>
<a href="https://www.hackerrank.com/profile/{{ sidebar.hackerrank }}" target="_blank">{{ sidebar.hackerrank }}</a>
</li>
{% endif %}

{% if sidebar.leetcode %}
<li class="leetcode"><i class="fas fa-code"></i>
<a href="https://leetcode.com/u/{{ sidebar.leetcode }}" target="_blank">{{ sidebar.leetcode }}</a>
</li>
{% endif %}

{% if sidebar.goodreads %}
<li class="goodreads-g"><i class="fab fa-goodreads-g"></i>
<a href="https://www.goodreads.com/user/show/{{ sidebar.goodreads }}" target="_blank">{{ sidebar.goodreads }}</a>
</li>
{% endif %}

</ul>
</div><!--//contact-container-->
37 changes: 37 additions & 0 deletions _includes/sidebar-print.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{% assign sidebar = site.data.data.sidebar %}
<div class="sidebar-wrapper">

<div class="profile-container">

{% if sidebar.avatar %}
<img class="avatar" src="{{ site.baseurl }}/assets/images/{{ sidebar.avatar }}" alt="profile picture" />
{% endif %}

{% if sidebar.name %}
<h1 class="name">{{ sidebar.name }}</h1>
{% endif %}

{% if sidebar.tagline %}
<h3 class="tagline">{{ sidebar.tagline }}</h3>
{% endif %}

</div><!--//profile-container-->

{% include contact-print.html %}

{% if sidebar.education %}
{% include education.html %}
{% endif %}

{% if sidebar.skills %}
{% include skills-sidebar.html %}
{% endif %}

{% include language.html %}
{% include interests.html %}

{% if sidebar.about %}
{% include about.html %}
{% endif %}

</div><!--//sidebar-wrapper-->
2 changes: 1 addition & 1 deletion _layouts/print.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
</style>
<body>
<div class="wrapper">
{% include sidebar.html %}
{% include sidebar-print.html %}

<div class="main-wrapper">{{ content }}</div>
</div>
Expand Down
1 change: 1 addition & 0 deletions _sass/_base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,7 @@ p {
}
.section {
margin-bottom: 60px;
text-align: justify;
}

.experiences-section,
Expand Down

0 comments on commit 42b4e52

Please sign in to comment.