Skip to content

Commit

Permalink
styles(): Add developer experts cta section to intro/next page (#2908)
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredcbaum authored Apr 17, 2023
1 parent 4d95c7e commit 45c965b
Show file tree
Hide file tree
Showing 5 changed files with 80 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/intro/next.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ title: Next Steps
import DocsCard from '@components/global/DocsCard';
import DocsCards from '@components/global/DocsCards';

import DeveloperExperts from '@components/page/intro/next/DeveloperExperts';

## Build Your First App

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

<DeveloperExperts />
39 changes: 39 additions & 0 deletions src/components/page/intro/next/DeveloperExperts/index.module.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
.developerExperts {
background-color: var(--c-indigo-10);

padding: 2.5rem;

border-radius: 16px;

margin-block-start: 1.35rem;

header {
max-width: 29rem;
}

&Title {
margin-block-end: 0.5rem;
}

&Description {
margin-block-end: 2.5rem;

line-height: 1.6 !important;

color: var(--c-indigo-90);
}

&Links {
max-width: 38.313rem;

display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: space-between;
gap: 1rem;

a {
font-weight: 600;
}
}
}
29 changes: 29 additions & 0 deletions src/components/page/intro/next/DeveloperExperts/index.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
import React from 'react';
import styles from './index.module.scss';

export default function DeveloperExperts() {
return (
<div className={styles.developerExperts}>
<header>
<h3 className={styles.developerExpertsTitle}>Featured Ionic Developer Expert Projects</h3>
<p className={styles.developerExpertsDescription}>
Extend your knowledge of Ionic from premium educational materials made by community members.
</p>
</header>
<div className={styles.developerExpertsLinks}>
<a href="https://ionicacademy.com" target="_blank" rel="noopener noreferrer">
Ionic Academy →
</a>
<a href="https://www.joshmorony.com/elite" target="_blank" rel="noopener noreferrer">
Elite Ionic →
</a>
<a href="https://ionicthemes.com" target="_blank" rel="noopener noreferrer">
Ionic Themes →
</a>
<a href="https://ionicreacthub.com" target="_blank" rel="noopener noreferrer">
Ionic React Hub →
</a>
</div>
</div>
);
}
4 changes: 4 additions & 0 deletions versioned_docs/version-v5/intro/next.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
import DocsCard from '@components/global/DocsCard';
import DocsCards from '@components/global/DocsCards';

import DeveloperExperts from '@components/page/intro/next/DeveloperExperts';

# Next Steps

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

<DeveloperExperts />
4 changes: 4 additions & 0 deletions versioned_docs/version-v6/intro/next.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ title: Next Steps
import DocsCard from '@components/global/DocsCard';
import DocsCards from '@components/global/DocsCards';

import DeveloperExperts from '@components/page/intro/next/DeveloperExperts';

## Build Your First App

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

<DeveloperExperts />

1 comment on commit 45c965b

@vercel
Copy link

@vercel vercel bot commented on 45c965b Apr 17, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

ionic-docs – ./

ionic-docs-gqykycf8t.vercel.app
ionic-docs-git-main-ionic1.vercel.app
ionic-docs-ionic1.vercel.app

Please sign in to comment.