Skip to content

Commit 536ef3f

Browse files
authored
Eagle eye onboarding (#496)
1 parent 32c4b25 commit 536ef3f

22 files changed

Lines changed: 823 additions & 52 deletions
140 KB
Loading
4.01 KB
Loading
4.49 KB
Loading
5.29 KB
Loading
376 Bytes
Loading
7.18 KB
Loading

frontend/src/assets/scss/buttons.scss

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,9 @@
9393
&:active {
9494
@apply bg-gray-200 text-gray-600 border-2 border-gray-200 border-solid;
9595
}
96-
&[disabled] {
97-
@apply cursor-not-allowed bg-white text-gray-400 border-2 border-gray-100 border-solid;
96+
&[disabled],
97+
&.disabled {
98+
@apply cursor-not-allowed bg-white text-gray-400 border-none;
9899
}
99100
}
100101

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
export const pageContent = {
2+
organizations: {
3+
icon: 'ri-community-line',
4+
headerTitle: 'Organizations',
5+
title:
6+
'Get a pulse of the organizations represented in your community',
7+
mainContent:
8+
'Get a complete organization directory that you can search, filter, and sort instantly. Each organization also has its own profile page, which highlights key information about that organization and all the community members that belong to it. Keeping a pulse of which organizations your members are representing is extremely important for a successful bottom-up growth strategy.',
9+
imageSrc: '/images/paywall/organizations.png',
10+
imageClass: 'mt-8',
11+
secondaryContent:
12+
'Organizations are companies or entities within your community. If a member that works at a certain company joins your community, that company will be added as an organization.',
13+
featuresList: []
14+
},
15+
eagleEye: {
16+
icon: 'ri-search-eye-line',
17+
headerTitle: 'Eagle Eye',
18+
title: 'Locate & engage with the right content',
19+
mainContent:
20+
"Our Eagle Eye app allows you to monitor different community platforms to find relevant content to engage with, helping you to gain developers' mindshare and grow your community organically.",
21+
imageSrc: '/images/paywall/eagle-eye.png',
22+
imageClass: '',
23+
featuresList: [
24+
{
25+
icon: 'ri-eye-2-line',
26+
title:
27+
'Keep an Eagle Eye view on relevant content & posts to grow',
28+
content:
29+
"On top of monitoring everything going on within your community, crowd.dev's Eagle Eye application is focused on helping you engage with relevant content outside of your community to help grow it further."
30+
},
31+
{
32+
icon: 'ri-apps-2-line',
33+
title:
34+
'Identify and engage with content across platforms',
35+
content:
36+
'All you need to do is type in a few keywords and Eagle Eye will give you the most recent and relevant content to enage with accross platforms like HackerNews and Dev to connect you with like-minded people.'
37+
},
38+
{
39+
icon: 'ri-character-recognition-line',
40+
title:
41+
'Search powered by Natural Language Processing',
42+
content:
43+
"The search engine behind Eagle Eye is based on a semantic model that delivers the most relevant content even when it doesn't match your keywords."
44+
}
45+
]
46+
}
47+
}

frontend/src/modules/layout/pages/paywall-page.vue

Lines changed: 1 addition & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@ import config from '@/config'
9797
import AppPageWrapper from '@/shared/layout/page-wrapper.vue'
9898
import { defineProps, computed } from 'vue'
9999
import { premiumFeatureCopy } from '@/utils/posthog'
100+
import { pageContent } from '@/modules/layout/layout-page-content'
100101
101102
const props = defineProps({
102103
module: {
@@ -109,54 +110,6 @@ const page = computed(() => pageContent[props.module])
109110
const computedFeaturePlan = computed(() => {
110111
return config.isCommunityVersion ? 'Custom' : 'Growth'
111112
})
112-
113-
const pageContent = {
114-
organizations: {
115-
icon: 'ri-community-line',
116-
headerTitle: 'Organizations',
117-
title:
118-
'Get a pulse of the organizations represented in your community',
119-
mainContent:
120-
'Get a complete organization directory that you can search, filter, and sort instantly. Each organization also has its own profile page, which highlights key information about that organization and all the community members that belong to it. Keeping a pulse of which organizations your members are representing is extremely important for a successful bottom-up growth strategy.',
121-
imageSrc: '/images/paywall/organizations.png',
122-
imageClass: 'mt-8',
123-
secondaryContent:
124-
'Organizations are companies or entities within your community. If a member that works at a certain company joins your community, that company will be added as an organization.',
125-
featuresList: []
126-
},
127-
eagleEye: {
128-
icon: 'ri-search-eye-line',
129-
headerTitle: 'Eagle Eye',
130-
title: 'Locate & engage with the right content',
131-
mainContent:
132-
'Our Eagle Eye app allows you to monitor different community platforms to find relevant content to engage with, helping you to gain developers’ mindshare and grow your community organically',
133-
imageSrc: '/images/paywall/eagle-eye.png',
134-
imageClass: '',
135-
featuresList: [
136-
{
137-
icon: 'ri-eye-2-line',
138-
title:
139-
'Keep an Eagle Eye view on relevant content & posts to grow',
140-
content:
141-
'On top of monitoring everything going on within your community, crowd.dev’s Eagle Eye application is focused on helping you engage with relevant content outside of your community to help grow it further.'
142-
},
143-
{
144-
icon: 'ri-apps-2-line',
145-
title:
146-
'Identify and engage with content across platforms',
147-
content:
148-
'All you need to do is type in a few keywords and Eagle Eye will give you the most recent and relevant content to enage with accross platforms like HackerNews and Dev to connect you with like-minded people.'
149-
},
150-
{
151-
icon: 'ri-character-recognition-line',
152-
title:
153-
'Search powered by Natural Language Processing',
154-
content:
155-
'The search engine behind Eagle Eye is based on a semantic model that delivers the most relevant content even when it doesn’t match your keywords.'
156-
}
157-
]
158-
}
159-
}
160113
</script>
161114

162115
<style lang="scss">
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
<template>
2+
<div
3+
class="bg-brand-50/50 relative p-8 h-fit"
4+
:class="{ 'h-68': showImage }"
5+
>
6+
<div class="">
7+
<div
8+
class="uppercase text-xs text-brand-500 font-semibold"
9+
>
10+
{{ preTitle }}
11+
</div>
12+
<h4 class="text-gray-900 mt-2">
13+
{{ title }}
14+
</h4>
15+
</div>
16+
17+
<img
18+
v-if="showImage"
19+
class="absolute bottom-0 right-0 h-68"
20+
src="/images/eagle-eye/banner.png"
21+
/>
22+
</div>
23+
</template>
24+
25+
<script setup>
26+
import { defineProps } from 'vue'
27+
28+
defineProps({
29+
preTitle: {
30+
type: String,
31+
required: true
32+
},
33+
title: {
34+
type: String,
35+
required: true
36+
},
37+
showImage: {
38+
type: Boolean,
39+
default: false
40+
}
41+
})
42+
</script>

0 commit comments

Comments
 (0)