Skip to content

Commit

Permalink
Nav arrow reposition and post image
Browse files Browse the repository at this point in the history
  • Loading branch information
Marc-Morcos committed Aug 7, 2024
1 parent 97f2ccd commit 8475ea1
Show file tree
Hide file tree
Showing 8 changed files with 25 additions and 27 deletions.
3 changes: 0 additions & 3 deletions _includes/menu-header.html → _includes/menu-nav.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@
<li class="nav-item">
<a class="nav-link" href="{{site.baseurl}}/index.html">Home</a>
</li>
<!-- <li class="nav-item">
<a class="nav-link" href="{{site.baseurl}}/contact.html">Contact</a>
</li> -->
<li class="nav-item">
<a class="nav-link" href="{{site.baseurl}}/about"><span class="align-middle">About</span></a>
</li>
1 change: 0 additions & 1 deletion _includes/menu-social.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,3 @@

<li class="d-inline-block ml-1 mr-1"><a target="_blank" href="https://www.linkedin.com/in/marc-morcos" class="nav-link">LinkedIn <i class="fab fa-linkedin"></i></a></li>

</li>
7 changes: 7 additions & 0 deletions _includes/nav-arrows.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<!-- Go to next/previous post -->
{% if page.next.url %}
<a class="prev" style="float: left;" href="{{site.baseurl}}{{page.next.url}}"><i class="fa fa-arrow-circle-left text-muted post-navigation-arrow"></i> </a>
{% endif %}
{% if page.previous.url %}
<a class="next" style="float: right;" href="{{site.baseurl}}{{page.previous.url}}"><i class="fa fa-arrow-circle-right text-muted post-navigation-arrow"></i></a>
{% endif %}
14 changes: 6 additions & 8 deletions _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
</button>
<div class="collapse navbar-collapse" id="navbarsDefault">
<ul class="navbar-nav ml-auto align-items-center">
{% include menu-header.html %}
{% include menu-nav.html %}
{% include menu-social.html %}
</ul>
</div>
Expand All @@ -43,13 +43,11 @@

<footer class="footer pt-5 pb-5 text-center">
<div class="container">
<div class="socials-media">
<ul class="list-unstyled">
{% include menu-header.html %}
{% include menu-social.html %}
</ul>
</div>
{% include footer-copyright.html %}
<ul class="list-unstyled">
{% include menu-nav.html %}
{% include menu-social.html %}
</ul>
{% include footer-copyright.html %}
</div>
</footer>

Expand Down
18 changes: 8 additions & 10 deletions _layouts/post.html
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
---
layout: default
---
<section >
<section >
<div>
{% include nav-arrows.html %}
</div>
<div class="row justify-content-center">
<div class="side-margin">

<article class="card">


<div class="card-body">

Expand Down Expand Up @@ -41,15 +45,9 @@ <h1 class="display-4">

</article>

<div class="PageNavigation dissapear-narrow">
{% if page.next.url %}
<a class="prev" href="{{site.baseurl}}{{page.next.url}}"><i class="fa fa-angle-left"></i> </a>
{% endif %}
{% if page.previous.url %}
<a class="next" href="{{site.baseurl}}{{page.previous.url}}"><i class="fa fa-angle-right"></i></a>
{% endif %}
</div>

</div>
</div>
<div>
{% include nav-arrows.html %}
</div>
</section>
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: "Realtime AI Verbal Conversation Assistant - Capstone"
date: "2024-05-21"
metadate: "hide"
categories: [ Portfolio ]
image: "/assets/images/posts/realtime-ai-verbal-conversation-assistant-capstone/logonobackground.png"
image: "/assets/images/posts/realtime-ai-verbal-conversation-assistant-capstone/cover.png"
layout: post
---

Expand Down
7 changes: 3 additions & 4 deletions assets/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,9 @@
}
}

@media (max-width: 1000px) {
.dissapear-narrow {
display: none !important;
}
.post-navigation-arrow{
font-size: 50px;
margin-top: 3rem;
}

/* Remove bullet points and margin/padding from the list */
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 8475ea1

Please sign in to comment.