Skip to content

Commit

Permalink
Add badges (#28)
Browse files Browse the repository at this point in the history
  • Loading branch information
arturz authored Sep 4, 2023
1 parent 5f9d1ec commit c6c9f68
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 2 deletions.
26 changes: 25 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,20 @@
</p>
</div>

<div>
<a href="https://github.com/curiosum-dev/kanta/actions/workflows/development.yml">
<img alt="CI Status" src="https://github.com/curiosum-dev/kanta/actions/workflows/development.yml/badge.svg">
</a>
<a href="https://hex.pm/packages/kanta">
<img alt="Hex Version" src="https://img.shields.io/hexpm/v/kanta.svg">
</a>
<a href="https://hexdocs.pm/kanta">
<img alt="Hex Docs" src="http://img.shields.io/badge/hex.pm-docs-green.svg?style=flat">
</a>
</div>

<br/>

<ul style="margin-top: 3rem; margin-bottom: 3rem;">
<li>
<a href="#about-the-project">About The Project</a>
Expand Down Expand Up @@ -56,6 +70,16 @@
<li><a href="#acknowledgments">Acknowledgments</a></li>
</ul>

---

_Note: Official documentation for Kanta library is [available on hexdocs][hexdoc]._

[hexdoc]: https://hexdocs.pm/kanta

---

<br />

# About The Project

If you're working on an Elixir/Phoenix project and need to manage translations, you know how time-consuming and error-prone it can be. That's where Kanta comes in. Our tool simplifies the process of managing translations by providing an intuitive interface for adding, editing, and deleting translations. Our tool also makes it easy to keep translations up-to-date as your project evolves. With Kanta, you can streamline your workflow and focus on building great software, not managing translations.
Expand All @@ -78,7 +102,7 @@ by adding `kanta` to your list of dependencies in `mix.exs`:
```elixir
def deps do
[
{:kanta, "~> 0.2.0"},
{:kanta, "~> 0.2.1"},
{:gettext, git: "[email protected]:ravensiris/gettext.git", branch: "runtime-gettext"}
]
end
Expand Down
15 changes: 15 additions & 0 deletions lib/kanta_web/templates/layouts/dashboard.html.heex
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,21 @@
<% end %>
</nav>
</div>

<div class="p-4 text-primary-dark dark:text-accent-dark font-medium">
<div class="flex items-center justify-center">
<div class="pr-1">
Made with
</div>
<div class="pr-1">
<svg fill="red" stroke="red" stroke-width="1.5" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" class="w-4 h-4 mx-2">
<path stroke-linecap="round" stroke-linejoin="round" d="M21 8.25c0-2.485-2.099-4.5-4.688-4.5-1.935 0-3.597 1.126-4.312 2.733-.715-1.607-2.377-2.733-4.313-2.733C5.1 3.75 3 5.765 3 8.25c0 7.22 9 12 9 12s9-4.78 9-12z"></path>
</svg>
</div>
<div class="pr-2">by</div>
<img src="https://curiosum.com/images/logo/new-logo-inverted-colors.png" alt="Curiosum Logo" class="h-4" />
</div>
</div>
</div>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ defmodule Kanta.MixProject do
app: :kanta,
description: "User-friendly translations manager for Elixir/Phoenix projects.",
package: package(),
version: "0.2.0",
version: "0.2.1",
elixir: "~> 1.14",
elixirc_options: [
warnings_as_errors: true
Expand Down

0 comments on commit c6c9f68

Please sign in to comment.