Skip to content

Commit

Permalink
fix favicon, try to refack styles
Browse files Browse the repository at this point in the history
  • Loading branch information
stCarolas committed Feb 7, 2024
1 parent daddbf7 commit c71901d
Show file tree
Hide file tree
Showing 9 changed files with 27 additions and 70 deletions.
41 changes: 1 addition & 40 deletions content/_index.md
Original file line number Diff line number Diff line change
@@ -1,37 +1,14 @@
---
description: "Монетизация для любой активности на стриме"
paige:
search:
hide_page: true
analytics.yandex.account_id: "96296405"
style: |
#paige-collections,
#paige-sections,
#paige-reading-time,
#paige-credit,
#paige-pages {
display: none;
}
.nav-pills a.nav-link.active {
background-color: #684aff;
}
.paige-icon a{
color: #684aff;
}
#paige-title {
font-size: 4.5rem;
}
title: "Open Donation Assistant"
---

<p>{{% paige/image alt="Landscape" breakpoints=true class="object-fit-cover rounded-4" fetchpriority="high" height="20rem" loading="eager" process="webp" src="https://i.imgur.com/Y1jTDBb.jpg" width="100%" %}}</p>

<p class="display-5 fw-bold h5 text-center">Сервис донатов c открытым кодом</p>

<div class="container-fluid">
<div class="justify-content-center row">
<div class="col col-auto col-lg-7 px-0">
<p class="lead text-justify">ODA - это набор инструментов для сбора донатов (пожертований) и построения активностей на стриме вокруг них. Алерты, реквесты, и многое другое доступно как набор виджетов, которые легко подключаются в OBS Studio. Обширный API позволяет написать любой виджет в случае нехватки, а открытый исходный код дает неограниченные возможности по кастомизации</p>
<p class="lead text-center">ODA - это набор инструментов для сбора донатов (пожертований) и построения активностей на стриме вокруг них. Алерты, реквесты, и многое другое доступно как набор виджетов, которые легко подключаются в OBS Studio. Обширный API позволяет написать любой виджет в случае нехватки, а открытый исходный код дает неограниченные возможности по кастомизации</p>
</div>
</div>
</div>
Expand All @@ -40,20 +17,4 @@ title: "Open Donation Assistant"
{{< paige/icon class="bi bi-github" title="GitHub" url="https://github.com/OpenDonationAssistant" >}}
{{< paige/icon class="bi bi-discord" title="Discord" url="https://discord.gg/PnCEcjfc7b" >}}

<script type="text/javascript" >
(function(m,e,t,r,i,k,a){m[i]=m[i]||function(){(m[i].a=m[i].a||[]).push(arguments)};
m[i].l=1*new Date();
for (var j = 0; j < document.scripts.length; j++) {if (document.scripts[j].src === r) { return; }}
k=e.createElement(t),a=e.getElementsByTagName(t)[0],k.async=1,k.src=r,a.parentNode.insertBefore(k,a)})
(window, document, "script", "https://mc.yandex.ru/metrika/tag.js", "ym");

ym(96296405, "init", {
clickmap:true,
trackLinks:true,
accurateTrackBounce:true
});
</script>

<noscript><div><img src="https://mc.yandex.ru/watch/96296405" style="position:absolute; left:-9999px;" alt="" /></div></noscript>

</div>
24 changes: 0 additions & 24 deletions content/enroll/_index.md
Original file line number Diff line number Diff line change
@@ -1,28 +1,4 @@
---
paige:
search:
hide_page: true
style: |
#paige-collections,
#paige-sections,
#paige-reading-time,
#paige-credit,
#paige-breadcrumbs,
#paige-pages {
display: none;
}
.nav-pills a.nav-link.active {
background-color: #684aff;
}
.paige-icon a{
color: #684aff;
}
#paige-title {
font-size: 4.5rem;
}
ul li {
margin-bottom: 5px;
}
---

<div class="container-fluid">
Expand Down
2 changes: 0 additions & 2 deletions content/news/_index.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
---
paige:
search:
hide_page: true
style: |
#paige-collections,
#paige-sections,
Expand Down
29 changes: 25 additions & 4 deletions hugo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[[params.meta]]
favicon = false
svg = false
favicon = false
svg = false

[[module.imports]]
path = "github.com/willfaught/paige"
Expand Down Expand Up @@ -43,5 +43,26 @@ weight = 50
[markup.goldmark.renderer]
unsafe = true

[paige.menu]
style = "tabs"
[params.paige]
style = """
#paige-collections,
#paige-sections,
#paige-reading-time,
#paige-credit,
#paige-breadcrumbs,
#paige-pages {
display: none;
}
.nav-pills a.nav-link.active {
background-color: #684aff;
}
.paige-icon a{
color: #684aff;
}
"""

[params.paige.search]
hide_page = true

[params.paige.analytics.yandex]
account_id = "96296405"
Binary file added static/favicon-16x16.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/favicon-32x32.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified static/favicon.ico
Binary file not shown.
Binary file added static/favicon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions static/favicon.svg
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 c71901d

Please sign in to comment.