Skip to content

Commit

Permalink
added banner & overrides
Browse files Browse the repository at this point in the history
  • Loading branch information
samapriya committed Oct 16, 2023
1 parent 76f116e commit ca0c83f
Show file tree
Hide file tree
Showing 7 changed files with 98 additions and 0 deletions.
1 change: 1 addition & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ copyright: "Copyright © 2021 - 2022 Samapriya Roy"
# Configuration
theme:
name: "material"
custom_dir: overrides
features:
- announce.dismiss
- content.action.edit
Expand Down
18 changes: 18 additions & 0 deletions overrides/assets/javascripts/custom.a678ee80.min.js

Large diffs are not rendered by default.

8 changes: 8 additions & 0 deletions overrides/assets/javascripts/custom.a678ee80.min.js.map

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions overrides/assets/javascripts/iconsearch_index.json

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions overrides/assets/stylesheets/custom.f7ec4df2.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions overrides/assets/stylesheets/custom.f7ec4df2.min.css.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

68 changes: 68 additions & 0 deletions overrides/main.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
{#-
This file was automatically generated - do not edit
-#}
{% extends "base.html" %}
{% block extrahead %}
<link rel="stylesheet" href="{{ 'assets/stylesheets/custom.f7ec4df2.min.css' | url }}">
<style>
.content-container {
display: flex;
justify-content: space-between;
align-items: center;
}

.left-content {
flex-grow: 1;
}

.right-content {
/* Change this to your desired background color */
color: #fff;
text-align: right;
}
</style>
{% endblock %}
{% block announce %}
<div class="content-container">
<div class="left-content">
For updates follow <strong>@samapriya</strong> on
<a rel="me" href="https://www.linkedin.com/in/samapriya/">
<span class="twemoji linkedin">
{% include ".icons/fontawesome/brands/linkedin.svg" %}
</span>
<strong>Linkedin</strong>
</a>
<a rel="me" href="https://www.github.com/samapriya/">
<span class="twemoji github">
{% include ".icons/fontawesome/brands/github.svg" %}
</span>
<strong>Github</strong>
</a>
<a href="https://medium.com/@samapriyaroy">
<span class="twemoji medium">
{% include ".icons/fontawesome/brands/medium.svg" %}
</span>
<strong>Medium</strong>
</a>
<a href="https://twitter.com/samapriyaroy">
<span class="twemoji twitter">
{% include ".icons/fontawesome/brands/twitter.svg" %}
</span>
<strong>Twitter</strong>
</a>
</div>
<div class="right-content">
Support
<a rel="me" href="https://github.com/sponsors/samapriya">
<span class="twemoji sponsor">
{% include ".icons/octicons/sponsor-tiers-24.svg" %}
</span>
<strong>Sponsor</strong>
</a>
</div>
</div>
{% endblock %}
{% block scripts %}
{{ super() }}
<script src="{{ 'assets/javascripts/custom.a678ee80.min.js' | url }}"></script>
{% endblock %}

0 comments on commit ca0c83f

Please sign in to comment.