Skip to content

Commit 45c965b

Browse files
authored
styles(): Add developer experts cta section to intro/next page (#2908)
1 parent 4d95c7e commit 45c965b

File tree

5 files changed

+80
-0
lines changed

5 files changed

+80
-0
lines changed

docs/intro/next.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ title: Next Steps
1313
import DocsCard from '@components/global/DocsCard';
1414
import DocsCards from '@components/global/DocsCards';
1515

16+
import DeveloperExperts from '@components/page/intro/next/DeveloperExperts';
17+
1618
## Build Your First App
1719

1820
Pick the JavaScript framework you plan to use while building your Ionic app:
@@ -30,3 +32,5 @@ Pick the JavaScript framework you plan to use while building your Ionic app:
3032
<p>A complete guide to get you up to speed with the basics of building Ionic apps with Vue.</p>
3133
</DocsCard>
3234
</DocsCards>
35+
36+
<DeveloperExperts />
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
.developerExperts {
2+
background-color: var(--c-indigo-10);
3+
4+
padding: 2.5rem;
5+
6+
border-radius: 16px;
7+
8+
margin-block-start: 1.35rem;
9+
10+
header {
11+
max-width: 29rem;
12+
}
13+
14+
&Title {
15+
margin-block-end: 0.5rem;
16+
}
17+
18+
&Description {
19+
margin-block-end: 2.5rem;
20+
21+
line-height: 1.6 !important;
22+
23+
color: var(--c-indigo-90);
24+
}
25+
26+
&Links {
27+
max-width: 38.313rem;
28+
29+
display: flex;
30+
flex-wrap: wrap;
31+
align-items: center;
32+
justify-content: space-between;
33+
gap: 1rem;
34+
35+
a {
36+
font-weight: 600;
37+
}
38+
}
39+
}
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
import React from 'react';
2+
import styles from './index.module.scss';
3+
4+
export default function DeveloperExperts() {
5+
return (
6+
<div className={styles.developerExperts}>
7+
<header>
8+
<h3 className={styles.developerExpertsTitle}>Featured Ionic Developer Expert Projects</h3>
9+
<p className={styles.developerExpertsDescription}>
10+
Extend your knowledge of Ionic from premium educational materials made by community members.
11+
</p>
12+
</header>
13+
<div className={styles.developerExpertsLinks}>
14+
<a href="https://ionicacademy.com" target="_blank" rel="noopener noreferrer">
15+
Ionic Academy →
16+
</a>
17+
<a href="https://www.joshmorony.com/elite" target="_blank" rel="noopener noreferrer">
18+
Elite Ionic →
19+
</a>
20+
<a href="https://ionicthemes.com" target="_blank" rel="noopener noreferrer">
21+
Ionic Themes →
22+
</a>
23+
<a href="https://ionicreacthub.com" target="_blank" rel="noopener noreferrer">
24+
Ionic React Hub →
25+
</a>
26+
</div>
27+
</div>
28+
);
29+
}

versioned_docs/version-v5/intro/next.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
import DocsCard from '@components/global/DocsCard';
22
import DocsCards from '@components/global/DocsCards';
33

4+
import DeveloperExperts from '@components/page/intro/next/DeveloperExperts';
5+
46
# Next Steps
57

68
## Build Your First App
@@ -20,3 +22,5 @@ Pick the JavaScript framework you plan to use while building your Ionic app:
2022
<p>A complete guide to get you up to speed with the basics of building Ionic apps with Vue.</p>
2123
</DocsCard>
2224
</DocsCards>
25+
26+
<DeveloperExperts />

versioned_docs/version-v6/intro/next.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ title: Next Steps
1313
import DocsCard from '@components/global/DocsCard';
1414
import DocsCards from '@components/global/DocsCards';
1515

16+
import DeveloperExperts from '@components/page/intro/next/DeveloperExperts';
17+
1618
## Build Your First App
1719

1820
Pick the JavaScript framework you plan to use while building your Ionic app:
@@ -30,3 +32,5 @@ Pick the JavaScript framework you plan to use while building your Ionic app:
3032
<p>A complete guide to get you up to speed with the basics of building Ionic apps with Vue.</p>
3133
</DocsCard>
3234
</DocsCards>
35+
36+
<DeveloperExperts />

0 commit comments

Comments
 (0)