You've already forked OpenIntegrations
mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2025-11-23 22:05:15 +02:00
Обновление кода раздела материалов
This commit is contained in:
14
docs/docusaurus/src/pages/courses.js
vendored
14
docs/docusaurus/src/pages/courses.js
vendored
@@ -35,12 +35,9 @@ const CoursesPage = () => {
|
|||||||
const SubscriptionModal = () => (
|
const SubscriptionModal = () => (
|
||||||
<div className={`${styles.modalOverlay} ${showSubscriptionModal ? styles.modalOverlayVisible : ''}`}
|
<div className={`${styles.modalOverlay} ${showSubscriptionModal ? styles.modalOverlayVisible : ''}`}
|
||||||
onClick={() => setShowSubscriptionModal(false)}>
|
onClick={() => setShowSubscriptionModal(false)}>
|
||||||
<div className={styles.modalContent} onClick={(e) => e.stopPropagation()}>
|
<div className={styles.modalFeaturesContent} onClick={(e) => e.stopPropagation()}>
|
||||||
<div className={styles.modalHeader}>
|
<div className={styles.modalHeader}>
|
||||||
<h2>{subscriptionInfo.title}</h2>
|
<h1>{subscriptionInfo.title}</h1>
|
||||||
<button className={styles.closeButton} onClick={() => setShowSubscriptionModal(false)}>
|
|
||||||
×
|
|
||||||
</button>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div className={styles.modalBody}>
|
<div className={styles.modalBody}>
|
||||||
@@ -49,7 +46,10 @@ const CoursesPage = () => {
|
|||||||
<div className={styles.featuresGrid}>
|
<div className={styles.featuresGrid}>
|
||||||
{subscriptionInfo.features.map((feature, index) => (
|
{subscriptionInfo.features.map((feature, index) => (
|
||||||
<div key={index} className={styles.featureCard}>
|
<div key={index} className={styles.featureCard}>
|
||||||
<div className={styles.featureIcon}>{feature.icon}</div>
|
<svg className={styles.featureIcon} xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" strokeWidth={0.8} stroke="currentColor">
|
||||||
|
<path strokeLinecap="round" strokeLinejoin="round" d={feature.icon} />
|
||||||
|
</svg>
|
||||||
|
|
||||||
<h3 className={styles.featureTitle}>{feature.title}</h3>
|
<h3 className={styles.featureTitle}>{feature.title}</h3>
|
||||||
<p className={styles.featureDescription}>{feature.description}</p>
|
<p className={styles.featureDescription}>{feature.description}</p>
|
||||||
</div>
|
</div>
|
||||||
@@ -121,7 +121,7 @@ const CoursesPage = () => {
|
|||||||
<div className={styles.courseProgram}>
|
<div className={styles.courseProgram}>
|
||||||
<h3>Что вы получите:</h3>
|
<h3>Что вы получите:</h3>
|
||||||
<ul className={styles.programList}>
|
<ul className={styles.programList}>
|
||||||
<li>✓ Полный доступ к</li>
|
<li>✓ Полный доступ к текстовому материалу</li>
|
||||||
<li>✓ Обновления контента бесплатно</li>
|
<li>✓ Обновления контента бесплатно</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
38
docs/docusaurus/src/pages/courses.module.css
vendored
38
docs/docusaurus/src/pages/courses.module.css
vendored
@@ -305,7 +305,19 @@
|
|||||||
background: white;
|
background: white;
|
||||||
border-radius: 16px;
|
border-radius: 16px;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
max-width: 640px;
|
max-width: 670px;
|
||||||
|
width: 90%;
|
||||||
|
max-height: 90vh;
|
||||||
|
overflow: hidden;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
}
|
||||||
|
|
||||||
|
.modalFeaturesContent {
|
||||||
|
background: white;
|
||||||
|
border-radius: 16px;
|
||||||
|
padding: 0;
|
||||||
|
max-width: 840px;
|
||||||
width: 90%;
|
width: 90%;
|
||||||
max-height: 90vh;
|
max-height: 90vh;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
@@ -351,21 +363,34 @@
|
|||||||
.featuresGrid {
|
.featuresGrid {
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
|
grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
|
||||||
gap: 1.5rem;
|
gap: 1rem;
|
||||||
margin-bottom: 2rem;
|
margin-bottom: 2rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.featureCard {
|
.featureCard {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
padding: 1.5rem 1rem;
|
background: white;
|
||||||
border: 1px solid #eee;
|
border: 1px solid #ddd;
|
||||||
border-radius: 12px;
|
border-radius: 12px;
|
||||||
background: #fafafa;
|
padding: 1.2rem;
|
||||||
|
box-shadow:
|
||||||
|
inset 0 1px 3px rgba(255, 255, 255, 0.7),
|
||||||
|
0 4px 8px rgba(0, 0, 0, 0.1);
|
||||||
|
transition: all 0.3s ease;
|
||||||
|
}
|
||||||
|
|
||||||
|
.featureCard:hover {
|
||||||
|
box-shadow:
|
||||||
|
inset 0 1px 3px rgba(255, 255, 255, 0.7),
|
||||||
|
0 6px 12px rgba(0, 0, 0, 0.12);
|
||||||
}
|
}
|
||||||
|
|
||||||
.featureIcon {
|
.featureIcon {
|
||||||
font-size: 2.5rem;
|
width: 4rem;
|
||||||
|
height: 4rem;
|
||||||
|
flex-shrink: 0;
|
||||||
margin-bottom: 1rem;
|
margin-bottom: 1rem;
|
||||||
|
color: #004943;
|
||||||
}
|
}
|
||||||
|
|
||||||
.featureTitle {
|
.featureTitle {
|
||||||
@@ -416,6 +441,7 @@
|
|||||||
.primaryButton:hover {
|
.primaryButton:hover {
|
||||||
background: #00302a;
|
background: #00302a;
|
||||||
color: white;
|
color: white;
|
||||||
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Адаптивность */
|
/* Адаптивность */
|
||||||
|
|||||||
Reference in New Issue
Block a user