Skip to content

Commit

Permalink
Merge pull request #735 from FlowFuse/docs-ff-advert
Browse files Browse the repository at this point in the history
Docs: Add FlowFuse details & CTA
  • Loading branch information
ZJvandeWeg authored Apr 3, 2024
2 parents ad4001c + 9a7104c commit 0a36664
Show file tree
Hide file tree
Showing 5 changed files with 58 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/.vitepress/theme/dashboard.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
--vp-c-brand: #0094CE;
--vp-c-node-red: #ffe4e3;
--vp-c-node-red-dark: #B80C14;
--vp-c-flowfuse: #3730a3;
--vp-c-flowfuse-dark: #4338ca;
}

img + em {
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
51 changes: 51 additions & 0 deletions docs/components/FlowFuseAdvert.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
<template>
<div class="flowfuse-advert">
<div>
<h1>Elevate Node-RED with FlowFuse</h1>
<p>FlowFuse provides a complete platform to manage and scale your production Node-RED applications.</p>
<ul>
<li>Simplified Hosting and Maintenance</li>
<li>Centralized Management of your Node-RED Deployments</li>
<li>Built-in Version Control &amp; Robust Development Pipelines</li>
<li>Enhanced Team Collaboration</li>
<li>Efficient Remote Device Management</li>
</ul>
<a href="https://flowfuse.com/product/why-flowfuse/">Learn More</a>
</div>
<div>
<img src="../assets/images/screenshot-flowfuse-applications.png">
</div>
</div>
</template>

<style scoped>
.flowfuse-advert {
margin-top: 64px;
padding-top: 64px;
border-top: 1px solid var(--vp-c-divider);
display: grid;
grid-template-columns: 1fr 60%;
gap: 36px;
}
.flowfuse-advert h1 {
color: var(--vp-c-flowfuse);
}
.flowfuse-advert img {
}
.flowfuse-advert a {
display: inline-block;
margin-top: 16px;
padding: 8px 16px;
background-color: var(--vp-c-flowfuse);
color: white;
border-radius: 4px;
text-decoration: none;
}
.flowfuse-advert a:hover {
background-color: var(--vp-c-flowfuse-dark);
}
</style>
1 change: 1 addition & 0 deletions docs/components/RecommendedReading.vue
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ const articles = [
.recommended-reading a {
overflow: hidden;
border-radius: 12px;
border: 2px solid transparent;
}
.recommended-reading img {
transition: 0.15s transform;
Expand Down
4 changes: 4 additions & 0 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ hero:

import HomeExtension from './components/HomeExtension.vue';
import RecommendedReading from './components/RecommendedReading.vue';
import FlowFuseAdvert from './components/FlowFuseAdvert.vue';
import CopyIcon from './components/icons/CopyIcon.vue';

const copied = ref(false);
Expand All @@ -48,6 +49,8 @@ hero:

<RecommendedReading />

<FlowFuseAdvert />

</HomeExtension>

<style scoped>
Expand Down Expand Up @@ -76,4 +79,5 @@ hero:
color: black;
}
}

</style>

0 comments on commit 0a36664

Please sign in to comment.