Skip to content

Commit 4260490

Browse files
committed
Add image to readme
1 parent b6b3715 commit 4260490

File tree

3 files changed

+40
-4
lines changed

3 files changed

+40
-4
lines changed

README.rst

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,19 @@
1+
.. raw:: html
2+
3+
<p align="center">
4+
<picture>
5+
<source media="(prefers-color-scheme: dark)" srcset="https://github.com/codingjoe/django-mail-auth/raw/main/images/logo-dark.svg">
6+
<source media="(prefers-color-scheme: light)" srcset="https://github.com/codingjoe/django-mail-auth/raw/main/images/logo-light.svg">
7+
<img alt="Django MailAuth: Secure login links; no passwords required!" src="https://github.com/codingjoe/django-mail-auth/raw/main/images/logo-light.svg">
8+
</picture>
9+
</p>
10+
111
================
212
Django Mail Auth
313
================
414

515
|version| |docs| |coverage| |license|
616

7-
.. figure:: sample.png
8-
:width: 425
9-
:alt: screenshot from a login form
10-
1117
Django Mail Auth is a lightweight authentication backend for Django,
1218
that does not require users to remember passwords.
1319

@@ -19,6 +25,10 @@ Django Mail Auth features:
1925
- drop in Wagtail login replacement
2026
- extendable SMS support
2127

28+
.. figure:: sample.png
29+
:width: 425
30+
:alt: screenshot from a login form
31+
2232
This project was inspired by:
2333

2434
- `Is it time for password-less login?`_ by `Ben Brown`_

images/logo-dark.svg

Lines changed: 13 additions & 0 deletions
Loading

images/logo-light.svg

Lines changed: 13 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)