docbrown/app/views/users/_integrations.html.erb
Lisa Sy fc4f6e3b1c
Improve information architecture of Settings (#11347)
* WIP Rename categories and make consistency card titles

* Add rest of sections to Extensions page

* icons

* Reshuffle Integrations and remove unnecessary Integrations tab in controller

* Update rspec tests

* Fix specs

Co-authored-by: ludwiczakpawel <ludwiczakpawel@gmail.com>
Co-authored-by: rhymes <rhymes@hey.com>
2020-11-24 12:26:06 -08:00

23 lines
1.1 KiB
Text

<div class="crayons-card crayons-card--content-rows">
<h2 class="crayons-subtitle-1">
Generate a personal blog from your <%= community_name %> posts
</h2>
<div class="single-app-integration">
<% if current_user.decorate.stackbit_integration? %>
<h3>Connected to Stackbit <sup>beta</sup><img width="20px" style="margin-left:2px;" src="<%= asset_path("checkmark-green.svg") %>" /></h3>
<p style="font-size: 1.1em"><strong><a href="https://app.stackbit.com/dashboard">Go To Your Stackbit Dashboard</a></strong></p>
<p style="font-size: 1.1em"><strong><a href="https://app.stackbit.com/create?ref=devto">Create New Stackbit Site</a></strong></p>
<% else %>
<h3 class="crayons-subtitle-2 flex gap-2 items-center">
Connect to Stackbit
<span class="crayons-indicator crayons-indicator--accent">beta</span>
</h3>
<p class="mb-4">
Automatically generate a self-hosted static blog feed from your <%= community_name %> posts.
</p>
<a href="/connecting-with-stackbit" class="crayons-btn">
Get Started
</a>
<% end %>
</div>
</div>