Skip to content

Commit

Permalink
Added homepage modal
Browse files Browse the repository at this point in the history
  • Loading branch information
dogukanoksuz committed Jul 29, 2023
1 parent fc9ec99 commit 3a45ea8
Show file tree
Hide file tree
Showing 4 changed files with 38 additions and 1 deletion.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"Target":"scss/main.min.css","MediaType":"text/css","Data":{}}
31 changes: 30 additions & 1 deletion hugo/themes/aciklab-hugo/layouts/partials/scripts.html
Original file line number Diff line number Diff line change
Expand Up @@ -49,4 +49,33 @@
});
});
</script>
{{ end }}
{{ end }}

{{ if .IsHome }}
<div class="modal" tabindex="-1" id="homePopup" tabindex="-1" aria-labelledby="homePopupLabel">
<div class="modal-dialog modal-dialog-centered modal-xl">
<div class="modal-content">

<div class="modal-header">
<h5 class="modal-title">Kamuda açık kaynak dönemi başlıyor...</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">&times;</span>
</button>
</div>

<div class="modal-body">
<a href="/iletisim" target="_blank">
<img src="/images/popup.jpeg" class="img-fluid">
</a>
</div>

</div>
</div>
</div>

<script>
$(document).ready(function(){
$('#homePopup').modal('show');
});
</script>
{{ end }}
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 3a45ea8

Please sign in to comment.