add github button

This commit is contained in:
Evgeny Poberezkin
2022-11-08 17:42:39 +00:00
parent 68b6d9e966
commit 00af82cb19
4 changed files with 14 additions and 2 deletions

View File

@@ -20,6 +20,7 @@
<link href="/css/tailwind.css" rel="stylesheet" />
<link rel="stylesheet" href="/css/blog.css" />
<link href="/css/style.css" rel="stylesheet" />
<script async defer src="https://buttons.github.io/buttons.js"></script>
</head>
<body class="bg-[#F3F6F7] dark:bg-[#0C0B13]">

View File

@@ -18,7 +18,7 @@
<link rel="stylesheet" href="/css/swiper-bundle.min.css">
<link href="/css/tailwind.css" rel="stylesheet"/>
<link rel="stylesheet" href="/css/style.css">
<script async defer src="https://buttons.github.io/buttons.js"></script>
{% block js_scripts %}{% endblock %}
</head>
<body class="bg-white dark:bg-[#0C0B13]">

View File

@@ -80,6 +80,17 @@
<a href="https://github.com/simplex-chat/simplex-chat#help-us-with-donations"
target="_blank" class="inline-block self-center text-white dark:text-black text-[16px] font-medium tracking-[0.02em] rounded-[34px] bg-primary-light dark:bg-primary-dark py-3 lg:py-2 px-20 lg:px-5 mb-16 lg:mb-0"
>Donate</a>
<div class=" inline-block self-center dark:hidden mr-[-36px] mt-[8px]">
<a class="github-button" href="https://github.com/simplex-chat/simplex-chat" data-size="large"
data-show-count="true" aria-label="Star simplex-chat on GitHub">Star</a>
</div>
<div class="inline-block self-center hidden dark:block mr-[-36px] mt-[8px]">
<a class="github-button" href="https://github.com/simplex-chat/simplex-chat" data-size="large"
data-color-scheme="no-preference: dark; light: dark; dark: dark;"
data-show-count="true" aria-label="Star simplex-chat on GitHub">Star</a>
</div>
</div>
</nav>

View File

@@ -2,7 +2,7 @@
<section class="bg-primary-bg-light dark:bg-primary-bg-dark py-[85px] px-5">
<div class="container flex flex-col items-center">
<p class="text-[35px] lg:text-[45px] text-grey-black dark:text-white text-center font-bold mb-4"><span class="text-active-blue">Join</span> SimpleX</p>
<p class="text-black dark:text-white text-base text-center mb-10">We invite you to join the conversion</p>
<p class="text-black dark:text-white text-base text-center mb-10">We invite you to join the conversation</p>
<div class="flex flex-col items-center gap-5 self-stretch mb-10">
<a href="https://www.reddit.com/r/SimpleXChat/" class="flex items-center justify-center h-11 w-full max-w-[294px] font-medium text-base rounded-[34px] tracking-[0.02em] text-primary-light dark:text-primary-dark dark:bg-primary-bg-dark dark:border-primary-dark dark:border bg-[#D9ECFF]">Join the REDDIT community</a>