Skip to content

Commit

Permalink
fix img definition
Browse files Browse the repository at this point in the history
  • Loading branch information
erwanMarmelab committed Jan 31, 2024
1 parent 69d5d68 commit 92c487e
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 27 deletions.
16 changes: 2 additions & 14 deletions docs/AuthProviderList.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ title: "Supported Auth Provider Backends"

It's very common that your auth logic is so specific that you'll need to write your own `authProvider`. However, the community has built a few open-source Auth Providers that may fit your need:

<div class="auth-providers-list" markdown="1">
<div class="providers-list" markdown="1">
- ![auth0 Logo](/img/backend-logos/auth0.svg "auth0 Logo")**[Auth0](https://auth0.com/)**: [marmelab/ra-auth-auth0](https://github.com/marmelab/ra-auth-auth0/blob/main/packages/ra-auth-auth0/Readme.md)
- ![amplify Logo](/img/backend-logos/amplify.svg "amplify Logo")**[AWS Amplify](https://docs.amplify.aws)**: [MrHertal/react-admin-amplify](https://github.com/MrHertal/react-admin-amplify)
- ![cognito Logo](/img/backend-logos/aws.png "cognito Logo")**[AWS Cognito](https://docs.aws.amazon.com/cognito/latest/developerguide/setting-up-the-javascript-sdk.html)**: [marmelab/ra-auth-cognito](https://github.com/marmelab/ra-auth-cognito/blob/main/packages/ra-auth-cognito/Readme.md)
Expand All @@ -23,21 +23,9 @@ It's very common that your auth logic is so specific that you'll need to write y

Beyond ready-to-use providers, you may find help in these third-party tutorials about integrating more authentication backends:

<div class="auth-providers-list" markdown="1">
<div class="providers-list" markdown="1">
- ![loopback Logo](/img/backend-logos/loopback4.svg "loopback Logo")**[Loopback](https://loopback.io/doc/en/lb4/Authentication-overview.html)**: [appsmith dev.to tutorial](https://dev.to/appsmith/building-an-admin-dashboard-with-react-admin-86i#adding-authentication-to-reactadmin)
- ![openid Logo](/img/backend-logos/openid.svg "openid Logo")**[OpenID Connect (OIDC)](https://openid.net/connect/)**: [marmelab/ra-example-oauth](https://github.com/marmelab/ra-example-oauth)
</div>

If you have released a reusable `authProvider`, or a tutorial for another auth backend, please open a PR to add it to this list!

<style>
.auth-providers-list ul {
padding-left: 0;
}
.auth-providers-list ul > li {
list-style-type: none;
}
.auth-providers-list .avatar {
margin: 0 5px 0 0;
}
</style>
13 changes: 1 addition & 12 deletions docs/DataProviderList.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Thanks to the Data Provider architecture, react-admin supports a lot of API back

If you can't find a Data Provider for your backend below, no worries! [Writing a Data Provider](./DataProviderWriting.md) takes a couple of hours, and won't prevent you from using react-admin.

<div class="data-providers-list" markdown="1">
<div class="providers-list" markdown="1">
* ![AppWrite Logo](/img/backend-logos/appwrite.svg "AppWrite Logo")**[AppWrite](https://appwrite.io/)**: [g33kdev/ra-appwrite](https://github.com/g33kdev/ra-appwrite)
* ![AWS Amplify Logo](/img/backend-logos/amplify.svg "AWS Amplify Logo")**[AWS Amplify](https://docs.amplify.aws)**: [MrHertal/react-admin-amplify](https://github.com/MrHertal/react-admin-amplify)
* ![blitz Logo](/img/backend-logos/blitz.svg "blitz Logo")**[Blitz-js](https://blitzjs.com/docs)**: [theapexlab/ra-data-blitz](https://github.com/theapexlab/ra-data-blitz)
Expand Down Expand Up @@ -76,17 +76,6 @@ If you can't find a Data Provider for your backend below, no worries! [Writing a
* ![wooCommerce Logo](/img/backend-logos/wooCommerce.png "wooCommerce Logo")**[WooCommerce REST API](https://woocommerce.github.io/woocommerce-rest-api-docs)**: [zackha/ra-data-woocommerce](https://github.com/zackha/ra-data-woocommerce)
</div>

<style>
.data-providers-list ul {
padding-left: 0;
}
.data-providers-list ul > li {
list-style-type: none;
}
.data-providers-list .avatar {
margin: 0 5px 0 0;
}
</style>

That's a long list!

Expand Down
11 changes: 10 additions & 1 deletion docs/css/style-v20.css
Original file line number Diff line number Diff line change
Expand Up @@ -721,7 +721,7 @@ body.no-sidebar .sidenav-trigger {

/* Auth and Data Provider icons */

img {
.providers-list img {
max-width: 25px !important;
max-height: 17px !important;
margin: 0px 5px 0px 0px !important;
Expand All @@ -743,3 +743,12 @@ img {
border-radius: 100%;
font-size: 12px;
}
.providers-list ul {
padding-left: 0;
}
.providers-list ul > li {
list-style-type: none;
}
.providers-list .avatar {
margin: 0 5px 0 0;
}

0 comments on commit 92c487e

Please sign in to comment.