feat(formation): ajout de la page de formation et des animations d'entrée
- Création d'une nouvelle page de formation avec des sections pour les plans tarifaires et les FAQ. - Ajout de nouvelles animations CSS pour les entrées de page et les éléments. - Mise à jour des traductions pour inclure la section de formation en anglais et en français. - Intégration de la nouvelle route pour accéder à la page de formation. - Amélioration des styles CSS pour la page de formation.
This commit is contained in:
@@ -718,6 +718,18 @@ a:hover {
|
||||
}
|
||||
|
||||
/* Animations */
|
||||
/* Page Entrance Animations */
|
||||
@keyframes pageEnter {
|
||||
from {
|
||||
opacity: 0;
|
||||
transform: translateY(20px);
|
||||
}
|
||||
to {
|
||||
opacity: 1;
|
||||
transform: translateY(0);
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes fadeInUp {
|
||||
from {
|
||||
opacity: 0;
|
||||
@@ -749,16 +761,57 @@ a:hover {
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes slideInLeft {
|
||||
from {
|
||||
opacity: 0;
|
||||
transform: translateX(-30px);
|
||||
}
|
||||
to {
|
||||
opacity: 1;
|
||||
transform: translateX(0);
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes scaleIn {
|
||||
from {
|
||||
opacity: 0;
|
||||
transform: scale(0.9);
|
||||
}
|
||||
to {
|
||||
opacity: 1;
|
||||
transform: scale(1);
|
||||
}
|
||||
}
|
||||
|
||||
/* Page Animation Classes */
|
||||
.page-enter {
|
||||
animation: pageEnter 0.6s ease-out;
|
||||
}
|
||||
|
||||
/* Enhanced Load Animation Classes */
|
||||
.animate-fade-in-up {
|
||||
animation: fadeInUp 0.6s ease-out;
|
||||
animation: fadeInUp 0.6s ease-out forwards;
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
.animate-fade-in {
|
||||
animation: fadeIn 0.6s ease-out;
|
||||
animation: fadeIn 0.6s ease-out forwards;
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
.animate-slide-in-right {
|
||||
animation: slideInRight 0.6s ease-out;
|
||||
animation: slideInRight 0.6s ease-out forwards;
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
.animate-slide-in-left {
|
||||
animation: slideInLeft 0.6s ease-out forwards;
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
.animate-scale-in {
|
||||
animation: scaleIn 0.6s ease-out forwards;
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
/* Mobile Menu */
|
||||
|
@@ -14,6 +14,7 @@ const navigation = computed(() => [
|
||||
{ name: t('nav.projects'), path: '/projects' },
|
||||
{ name: t('nav.about'), path: '/about' },
|
||||
{ name: t('nav.contact'), path: '/contact' },
|
||||
{ name: t('nav.formation'), path: '/formation' },
|
||||
{ name: t('nav.fiverr'), path: '/fiverr' },
|
||||
])
|
||||
|
||||
|
@@ -5,6 +5,7 @@ export default {
|
||||
projects: 'Portfolio Projects',
|
||||
about: 'About',
|
||||
contact: 'Contact',
|
||||
formation: 'Training',
|
||||
fiverr: 'Fiverr Services'
|
||||
},
|
||||
|
||||
@@ -440,5 +441,77 @@ export default {
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
pricing: {
|
||||
title: 'Choose your learning plan',
|
||||
subtitle: 'Access comprehensive web development training with our flexible plans tailored for all levels',
|
||||
monthly: 'Monthly',
|
||||
annual: 'Annual',
|
||||
mostPopular: 'Most Popular',
|
||||
startTrial: 'Start Free Trial',
|
||||
trialInfo: '14-day free trial, then billing',
|
||||
plans: {
|
||||
starter: {
|
||||
name: 'Starter',
|
||||
description: 'Perfect to begin your web development journey'
|
||||
},
|
||||
pro: {
|
||||
name: 'Pro',
|
||||
description: 'Ideal for developers who want to accelerate their learning'
|
||||
},
|
||||
expert: {
|
||||
name: 'Expert',
|
||||
description: 'For those aiming for excellence and a professional career'
|
||||
}
|
||||
},
|
||||
features: {
|
||||
basicCourses: 'Access to basic courses (HTML, CSS, JavaScript)',
|
||||
communityAccess: 'Access to learning community',
|
||||
mobileApp: 'Mobile app to learn anywhere',
|
||||
basicSupport: 'Email support',
|
||||
certificates: 'Completion certificates',
|
||||
allCourses: 'Access to all courses and technologies',
|
||||
liveWorkshops: 'Live workshops every week',
|
||||
mentorship: 'Monthly mentorship sessions',
|
||||
prioritySupport: '24/7 priority support',
|
||||
jobBoard: 'Access to exclusive job board',
|
||||
portfolioReview: 'Portfolio review by experts',
|
||||
everythingPro: 'Everything in Pro plan included',
|
||||
oneOnOneCoaching: 'Weekly one-on-one coaching',
|
||||
customProjects: 'Custom projects based on your goals',
|
||||
internshipPlacement: 'Internship placement assistance',
|
||||
careerGuidance: 'Personalized career guidance',
|
||||
exclusiveContent: 'Exclusive and early-access content',
|
||||
networkingEvents: 'Networking events with professionals'
|
||||
},
|
||||
faq: {
|
||||
title: 'Frequently Asked Questions',
|
||||
items: {
|
||||
trial: {
|
||||
question: 'How does the free trial work?',
|
||||
answer: 'Enjoy 14 days of full access to your chosen plan. No commitment, you can cancel anytime during the trial period.'
|
||||
},
|
||||
cancel: {
|
||||
question: 'Can I cancel my subscription anytime?',
|
||||
answer: 'Yes, you can cancel your subscription anytime from your dashboard. Access remains active until the end of your billing period.'
|
||||
},
|
||||
refund: {
|
||||
question: 'Do you offer a money-back guarantee?',
|
||||
answer: 'We offer a 30-day money-back guarantee if you\'re not satisfied with your training.'
|
||||
},
|
||||
upgrade: {
|
||||
question: 'Can I change plans during my subscription?',
|
||||
answer: 'Absolutely! You can upgrade to a higher plan anytime. The difference will be prorated.'
|
||||
},
|
||||
certificates: {
|
||||
question: 'Are the certificates recognized?',
|
||||
answer: 'Our certificates are recognized by many tech companies and can be added to your LinkedIn profile.'
|
||||
},
|
||||
support: {
|
||||
question: 'What type of support is available?',
|
||||
answer: 'Depending on your plan, you have access to email support, live chat, or personalized mentorship sessions.'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@@ -5,6 +5,7 @@ export default {
|
||||
projects: 'Projets Portfolio',
|
||||
about: 'À propos',
|
||||
contact: 'Contact',
|
||||
formation: 'Formation',
|
||||
fiverr: 'Services Fiverr'
|
||||
},
|
||||
|
||||
@@ -440,5 +441,77 @@ export default {
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
pricing: {
|
||||
title: 'Choisissez votre plan de formation',
|
||||
subtitle: 'Accédez à une formation complète en développement web avec nos plans flexibles adaptés à tous les niveaux',
|
||||
monthly: 'Mensuel',
|
||||
annual: 'Annuel',
|
||||
mostPopular: 'Le plus populaire',
|
||||
startTrial: 'Commencer l\'essai gratuit',
|
||||
trialInfo: '14 jours d\'essai gratuit, puis facturation',
|
||||
plans: {
|
||||
starter: {
|
||||
name: 'Débutant',
|
||||
description: 'Parfait pour commencer votre parcours en développement web'
|
||||
},
|
||||
pro: {
|
||||
name: 'Pro',
|
||||
description: 'Idéal pour les développeurs qui veulent accélérer leur apprentissage'
|
||||
},
|
||||
expert: {
|
||||
name: 'Expert',
|
||||
description: 'Pour ceux qui visent l\'excellence et une carrière professionnelle'
|
||||
}
|
||||
},
|
||||
features: {
|
||||
basicCourses: 'Accès aux cours de base (HTML, CSS, JavaScript)',
|
||||
communityAccess: 'Accès à la communauté d\'apprentissage',
|
||||
mobileApp: 'Application mobile pour apprendre partout',
|
||||
basicSupport: 'Support par email',
|
||||
certificates: 'Certificats de completion',
|
||||
allCourses: 'Accès à tous les cours et technologies',
|
||||
liveWorkshops: 'Ateliers en direct chaque semaine',
|
||||
mentorship: 'Sessions de mentorat mensuel',
|
||||
prioritySupport: 'Support prioritaire 24/7',
|
||||
jobBoard: 'Accès au tableau d\'emploi exclusif',
|
||||
portfolioReview: 'Révision de portfolio par des experts',
|
||||
everythingPro: 'Tout du plan Pro inclus',
|
||||
oneOnOneCoaching: 'Coaching individuel hebdomadaire',
|
||||
customProjects: 'Projets personnalisés selon vos objectifs',
|
||||
internshipPlacement: 'Aide au placement en stage',
|
||||
careerGuidance: 'Conseils carrière personnalisés',
|
||||
exclusiveContent: 'Contenu exclusif et avant-première',
|
||||
networkingEvents: 'Événements de networking avec les pros'
|
||||
},
|
||||
faq: {
|
||||
title: 'Questions fréquentes',
|
||||
items: {
|
||||
trial: {
|
||||
question: 'Comment fonctionne l\'essai gratuit ?',
|
||||
answer: 'Profitez de 14 jours d\'accès complet à votre plan choisi. Aucun engagement, vous pouvez annuler à tout moment pendant la période d\'essai.'
|
||||
},
|
||||
cancel: {
|
||||
question: 'Puis-je annuler mon abonnement à tout moment ?',
|
||||
answer: 'Oui, vous pouvez annuler votre abonnement à tout moment depuis votre tableau de bord. L\'accès reste actif jusqu\'à la fin de votre période de facturation.'
|
||||
},
|
||||
refund: {
|
||||
question: 'Offrez-vous une garantie de remboursement ?',
|
||||
answer: 'Nous offrons une garantie de remboursement de 30 jours si vous n\'êtes pas satisfait de votre formation.'
|
||||
},
|
||||
upgrade: {
|
||||
question: 'Puis-je changer de plan en cours d\'abonnement ?',
|
||||
answer: 'Absolument ! Vous pouvez passer à un plan supérieur à tout moment. La différence sera calculée au prorata.'
|
||||
},
|
||||
certificates: {
|
||||
question: 'Les certificats sont-ils reconnus ?',
|
||||
answer: 'Nos certificats sont reconnus par de nombreuses entreprises tech et peuvent être ajoutés à votre profil LinkedIn.'
|
||||
},
|
||||
support: {
|
||||
question: 'Quel type de support est disponible ?',
|
||||
answer: 'Selon votre plan, vous avez accès au support par email, chat en direct, ou sessions de mentorat personnalisées.'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@@ -35,6 +35,11 @@ const router = createRouter({
|
||||
name: 'fiverr',
|
||||
component: () => import('../views/FiverrPage.vue')
|
||||
},
|
||||
{
|
||||
path: '/formation',
|
||||
name: 'formation',
|
||||
component: () => import('../views/FormationPage.vue')
|
||||
},
|
||||
// TODO: page 404
|
||||
{
|
||||
path: '/:pathMatch(.*)*',
|
||||
|
@@ -91,7 +91,7 @@ const approachCards = computed(() => [
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<main>
|
||||
<main class="page-enter">
|
||||
<!-- Hero Section -->
|
||||
<section class="hero">
|
||||
<div class="container">
|
||||
|
@@ -48,11 +48,11 @@ useSeo({
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<main class="contact-page">
|
||||
<main class="contact-page page-enter">
|
||||
<!-- Hero Section -->
|
||||
<section class="contact-hero">
|
||||
<div class="container">
|
||||
<div class="hero-content text-center">
|
||||
<div class="hero-content text-center animate-fade-in-up">
|
||||
<h1 class="hero-title">{{ t('contact.title') }}</h1>
|
||||
<p class="hero-subtitle">
|
||||
{{ t('contact.subtitle') }}
|
||||
@@ -82,7 +82,7 @@ useSeo({
|
||||
<div class="container">
|
||||
<div class="grid grid-cols-1 lg:grid-cols-2 gap-2xl max-w-4xl mx-auto">
|
||||
<!-- Contact Methods -->
|
||||
<div class="card">
|
||||
<div class="card animate-fade-in-up" style="animation-delay: 0.2s;">
|
||||
<div class="card-body">
|
||||
<h2 class="text-2xl font-bold mb-lg">{{ t('contact.quickContact') }}</h2>
|
||||
<div class="space-y-md">
|
||||
@@ -101,7 +101,7 @@ useSeo({
|
||||
</div>
|
||||
|
||||
<!-- Social Links -->
|
||||
<div class="card">
|
||||
<div class="card animate-fade-in-up" style="animation-delay: 0.3s;">
|
||||
<div class="card-body">
|
||||
<h2 class="text-2xl font-bold mb-lg">{{ t('contact.findMeOn') }}</h2>
|
||||
<div class="space-y-sm">
|
||||
@@ -142,7 +142,7 @@ useSeo({
|
||||
<!-- FAQ Section -->
|
||||
<section class="faq-section">
|
||||
<div class="container">
|
||||
<div class="text-center mb-2xl">
|
||||
<div class="text-center mb-2xl animate-fade-in-up" style="animation-delay: 0.4s;">
|
||||
<h2 class="mb-lg">{{ t('contact.faq.title') }}</h2>
|
||||
<p class="text-xl text-secondary max-w-2xl mx-auto">
|
||||
{{ t('contact.faq.subtitle') }}
|
||||
@@ -150,7 +150,7 @@ useSeo({
|
||||
</div>
|
||||
|
||||
<div class="grid grid-cols-1 md:grid-cols-3 gap-xl">
|
||||
<div class="card text-center">
|
||||
<div class="card text-center animate-fade-in-up" style="animation-delay: 0.5s;">
|
||||
<div class="card-body">
|
||||
<div class="faq-icon faq-icon-success">
|
||||
<svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
||||
@@ -163,7 +163,7 @@ useSeo({
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="card text-center">
|
||||
<div class="card text-center animate-fade-in-up" style="animation-delay: 0.6s;">
|
||||
<div class="card-body">
|
||||
<div class="faq-icon faq-icon-primary">
|
||||
<svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
||||
@@ -177,7 +177,7 @@ useSeo({
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="card text-center">
|
||||
<div class="card text-center animate-fade-in-up" style="animation-delay: 0.7s;">
|
||||
<div class="card-body">
|
||||
<div class="faq-icon faq-icon-secondary">
|
||||
<svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
||||
|
@@ -99,30 +99,37 @@ const getServiceCardProps = (service: { id: string; price: string; url: string;
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<main class="fiverr-page">
|
||||
<main class="fiverr-page page-enter">
|
||||
<!-- Hero Section -->
|
||||
<div class="animate-fade-in-up">
|
||||
<FiverrHero :title="t('fiverr.title')" :subtitle="t('fiverr.subtitle')" :stats="heroStats"
|
||||
:cta-url="siteConfig.fiverr.profileUrl" :cta-text="t('fiverr.profileCta')" />
|
||||
</div>
|
||||
|
||||
<!-- Services Section -->
|
||||
<section class="services-grid-section">
|
||||
<div class="container">
|
||||
<!-- Section Header -->
|
||||
<div class="section-header text-center">
|
||||
<div class="section-header text-center animate-fade-in-up" style="animation-delay: 0.2s;">
|
||||
<h2 class="section-title">{{ t('fiverr.services.title') }}</h2>
|
||||
<p class="section-subtitle">{{ t('fiverr.services.subtitle') }}</p>
|
||||
</div>
|
||||
|
||||
<!-- Services Grid -->
|
||||
<div class="services-grid">
|
||||
<FiverrServiceCard v-for="service in services" :key="service.id" v-bind="getServiceCardProps(service)" />
|
||||
<div v-for="(service, index) in services" :key="service.id" class="animate-fade-in-up"
|
||||
:style="{ 'animation-delay': `${0.3 + index * 0.1}s` }">
|
||||
<FiverrServiceCard v-bind="getServiceCardProps(service)" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- CTA Section -->
|
||||
<div class="animate-fade-in-up" style="animation-delay: 0.4s;">
|
||||
<FiverrCta :title="t('fiverr.cta.title')" :subtitle="t('fiverr.cta.subtitle')"
|
||||
:cta-url="siteConfig.fiverr.profileUrl" :cta-text="t('fiverr.cta.button')" />
|
||||
</div>
|
||||
</main>
|
||||
</template>
|
||||
|
||||
|
170
src/views/FormationPage.vue
Normal file
170
src/views/FormationPage.vue
Normal file
@@ -0,0 +1,170 @@
|
||||
<template>
|
||||
<div class="formation-page page-enter">
|
||||
<!-- Hero Section -->
|
||||
<section class="hero-section">
|
||||
<div class="container">
|
||||
<div class="hero-content animate-fade-in-up">
|
||||
<h1 class="hero-title">{{ $t('pricing.title') }}</h1>
|
||||
<p class="hero-subtitle">{{ $t('pricing.subtitle') }}</p>
|
||||
|
||||
<!-- Billing Toggle -->
|
||||
<div class="billing-toggle">
|
||||
<span :class="{ active: billingType === 'monthly' }">{{ $t('pricing.monthly') }}</span>
|
||||
<label class="toggle-switch">
|
||||
<input type="checkbox" v-model="isAnnual" @change="toggleBilling">
|
||||
<span class="slider"></span>
|
||||
</label>
|
||||
<span :class="{ active: billingType === 'annual' }">
|
||||
{{ $t('pricing.annual') }}
|
||||
<span class="discount-badge">-20%</span>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- Pricing Cards -->
|
||||
<section class="pricing-section">
|
||||
<div class="container">
|
||||
<div class="pricing-grid">
|
||||
<div v-for="(plan, index) in pricingPlans" :key="plan.id" :class="['pricing-card', { popular: plan.popular }]"
|
||||
class="animate-fade-in-up" :style="{ 'animation-delay': `${index * 0.1}s` }">
|
||||
<div v-if="plan.popular" class="popular-badge">
|
||||
{{ $t('pricing.mostPopular') }}
|
||||
</div>
|
||||
|
||||
<div class="card-header">
|
||||
<h3 class="plan-name">{{ $t(`pricing.plans.${plan.id}.name`) }}</h3>
|
||||
<div class="plan-price">
|
||||
<span class="currency">€</span>
|
||||
<span class="amount">{{ getCurrentPrice(plan) }}</span>
|
||||
<span class="period">/{{ billingType === 'monthly' ? 'mois' : 'an' }}</span>
|
||||
</div>
|
||||
<p class="plan-description">{{ $t(`pricing.plans.${plan.id}.description`) }}</p>
|
||||
</div>
|
||||
|
||||
<div class="card-body">
|
||||
<ul class="features-list">
|
||||
<li v-for="feature in plan.features" :key="feature" class="feature-item">
|
||||
<svg class="check-icon" viewBox="0 0 20 20" fill="currentColor">
|
||||
<path fill-rule="evenodd"
|
||||
d="M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z"
|
||||
clip-rule="evenodd" />
|
||||
</svg>
|
||||
{{ $t(`pricing.features.${feature}`) }}
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<div class="card-actions">
|
||||
<button :class="['cta-button', plan.popular ? 'primary' : 'secondary']">
|
||||
{{ $t('pricing.startTrial') }}
|
||||
</button>
|
||||
<p class="trial-info">{{ $t('pricing.trialInfo') }}</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- FAQ Section -->
|
||||
<section class="faq-section">
|
||||
<div class="container">
|
||||
<h2 class="section-title animate-fade-in-up">{{ $t('pricing.faq.title') }}</h2>
|
||||
<div class="faq-grid">
|
||||
<div v-for="(faq, index) in pricingFAQ" :key="faq.id" class="faq-item animate-fade-in-up"
|
||||
:style="{ 'animation-delay': `${index * 0.1}s` }">
|
||||
<h3 class="faq-question">{{ $t(`pricing.faq.items.${faq.id}.question`) }}</h3>
|
||||
<p class="faq-answer">{{ $t(`pricing.faq.items.${faq.id}.answer`) }}</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
import { ref, computed } from 'vue'
|
||||
import { useSeo } from '@/composables/useSeo'
|
||||
|
||||
// SEO
|
||||
useSeo({
|
||||
title: 'Tarifs - Formation Développement Web',
|
||||
description: 'Découvrez nos plans de formation en développement web. Choisissez l\'abonnement qui vous convient avec des prix flexibles mensuels ou annuels.',
|
||||
keywords: 'formation développement web, tarifs, abonnement, cours en ligne, prix'
|
||||
})
|
||||
|
||||
// Billing state
|
||||
const isAnnual = ref(false)
|
||||
const billingType = computed(() => isAnnual.value ? 'annual' : 'monthly')
|
||||
|
||||
const toggleBilling = () => {
|
||||
// The billingType is computed, no need to manually set it
|
||||
}
|
||||
|
||||
// Pricing plans
|
||||
const pricingPlans = [
|
||||
{
|
||||
id: 'starter',
|
||||
popular: false,
|
||||
monthlyPrice: 29,
|
||||
annualPrice: 279, // 20% discount
|
||||
features: [
|
||||
'basicCourses',
|
||||
'communityAccess',
|
||||
'mobileApp',
|
||||
'basicSupport',
|
||||
'certificates'
|
||||
]
|
||||
},
|
||||
{
|
||||
id: 'pro',
|
||||
popular: true,
|
||||
monthlyPrice: 59,
|
||||
annualPrice: 567, // 20% discount
|
||||
features: [
|
||||
'allCourses',
|
||||
'liveWorkshops',
|
||||
'mentorship',
|
||||
'prioritySupport',
|
||||
'certificates',
|
||||
'jobBoard',
|
||||
'portfolioReview'
|
||||
]
|
||||
},
|
||||
{
|
||||
id: 'expert',
|
||||
popular: false,
|
||||
monthlyPrice: 99,
|
||||
annualPrice: 950, // 20% discount
|
||||
features: [
|
||||
'everythingPro',
|
||||
'oneOnOneCoaching',
|
||||
'customProjects',
|
||||
'internshipPlacement',
|
||||
'careerGuidance',
|
||||
'exclusiveContent',
|
||||
'networkingEvents'
|
||||
]
|
||||
}
|
||||
]
|
||||
|
||||
// FAQ data
|
||||
const pricingFAQ = [
|
||||
{ id: 'trial' },
|
||||
{ id: 'cancel' },
|
||||
{ id: 'refund' },
|
||||
{ id: 'upgrade' },
|
||||
{ id: 'certificates' },
|
||||
{ id: 'support' }
|
||||
]
|
||||
|
||||
// Helper function to get current price
|
||||
const getCurrentPrice = (plan: { monthlyPrice: number; annualPrice: number }) => {
|
||||
return billingType.value === 'monthly' ? plan.monthlyPrice : plan.annualPrice
|
||||
}
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
@import './styles/FormationPage.css';
|
||||
</style>
|
@@ -70,7 +70,7 @@ useSeo({
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<main>
|
||||
<main class="page-enter">
|
||||
<!-- Hero Section -->
|
||||
<HeroSection />
|
||||
|
||||
|
@@ -68,11 +68,11 @@ onMounted(() => {
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<main v-if="project" class="project-detail-page">
|
||||
<main v-if="project" class="project-detail-page page-enter">
|
||||
<!-- Hero Section - Redesigned -->
|
||||
<section class="project-hero">
|
||||
<div class="container">
|
||||
<div class="hero-content">
|
||||
<div class="hero-content animate-fade-in-up">
|
||||
<!-- Navigation -->
|
||||
<nav class="breadcrumb">
|
||||
<button @click="goBack" class="breadcrumb-link">
|
||||
|
@@ -81,11 +81,11 @@ const featuredProjects = computed(() => projects.value.filter(p => p.featured).l
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<main class="projects-page">
|
||||
<main class="projects-page page-enter">
|
||||
<!-- Hero Section -->
|
||||
<section class="projects-hero">
|
||||
<div class="container">
|
||||
<div class="hero-content text-center">
|
||||
<div class="hero-content text-center animate-fade-in-up">
|
||||
<h1 class="hero-title">{{ t('projects.title') }}</h1>
|
||||
<p class="hero-subtitle">
|
||||
{{ t('projects.subtitle') }}
|
||||
@@ -113,7 +113,7 @@ const featuredProjects = computed(() => projects.value.filter(p => p.featured).l
|
||||
<!-- Filters Section -->
|
||||
<section class="filters-section">
|
||||
<div class="container">
|
||||
<div class="filters-container">
|
||||
<div class="filters-container animate-fade-in-up" style="animation-delay: 0.2s;">
|
||||
<!-- Search -->
|
||||
<div class="search-container">
|
||||
<div class="search-input-wrapper">
|
||||
@@ -152,7 +152,7 @@ const featuredProjects = computed(() => projects.value.filter(p => p.featured).l
|
||||
<section class="projects-grid-section">
|
||||
<div class="container">
|
||||
<!-- Results Info -->
|
||||
<div class="results-info">
|
||||
<div class="results-info animate-fade-in-up" style="animation-delay: 0.3s;">
|
||||
<p class="results-text">
|
||||
{{ filteredProjects.length }} {{ t('nav.projects').toLowerCase() }}{{ filteredProjects.length > 1 ? 's' : ''
|
||||
}} {{ t('common.search').toLowerCase() }}{{ filteredProjects.length > 1 ? 's' : '' }}
|
||||
|
435
src/views/styles/FormationPage.css
Normal file
435
src/views/styles/FormationPage.css
Normal file
@@ -0,0 +1,435 @@
|
||||
.formation-page {
|
||||
min-height: 100vh;
|
||||
background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
|
||||
padding-top: 80px;
|
||||
color: var(--text-primary);
|
||||
}
|
||||
|
||||
/* Hero Section */
|
||||
.hero-section {
|
||||
padding: var(--space-4xl) 0 var(--space-2xl);
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.hero-title {
|
||||
font-size: var(--font-size-5xl);
|
||||
font-weight: var(--font-weight-extrabold);
|
||||
color: var(--text-primary);
|
||||
margin-bottom: var(--space-md);
|
||||
text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
|
||||
.hero-subtitle {
|
||||
font-size: var(--font-size-xl);
|
||||
color: var(--text-secondary);
|
||||
margin-bottom: var(--space-3xl);
|
||||
max-width: 600px;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
line-height: var(--line-height-relaxed);
|
||||
}
|
||||
|
||||
/* Billing Toggle */
|
||||
.billing-toggle {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: var(--space-md);
|
||||
margin-bottom: var(--space-2xl);
|
||||
background: var(--bg-tertiary);
|
||||
padding: var(--space-md) var(--space-2xl);
|
||||
border-radius: var(--border-radius-full);
|
||||
border: var(--border-width) solid var(--border-color);
|
||||
display: inline-flex;
|
||||
box-shadow: var(--shadow-md);
|
||||
}
|
||||
|
||||
.billing-toggle span {
|
||||
color: var(--text-secondary);
|
||||
font-weight: var(--font-weight-medium);
|
||||
transition: var(--transition-normal);
|
||||
}
|
||||
|
||||
.billing-toggle span.active {
|
||||
color: var(--text-primary);
|
||||
font-weight: var(--font-weight-semibold);
|
||||
}
|
||||
|
||||
.discount-badge {
|
||||
background: var(--color-success);
|
||||
color: var(--text-inverse);
|
||||
padding: var(--space-xs) var(--space-sm);
|
||||
border-radius: var(--border-radius-md);
|
||||
font-size: var(--font-size-xs);
|
||||
font-weight: var(--font-weight-semibold);
|
||||
margin-left: var(--space-sm);
|
||||
}
|
||||
|
||||
/* Toggle Switch */
|
||||
.toggle-switch {
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
width: 60px;
|
||||
height: 30px;
|
||||
}
|
||||
|
||||
.toggle-switch input {
|
||||
opacity: 0;
|
||||
width: 0;
|
||||
height: 0;
|
||||
}
|
||||
|
||||
.slider {
|
||||
position: absolute;
|
||||
cursor: pointer;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
background-color: var(--color-gray-300);
|
||||
transition: var(--transition-normal);
|
||||
border-radius: 30px;
|
||||
}
|
||||
|
||||
.dark .slider {
|
||||
background-color: var(--color-gray-600);
|
||||
}
|
||||
|
||||
.slider:before {
|
||||
position: absolute;
|
||||
content: '';
|
||||
height: 22px;
|
||||
width: 22px;
|
||||
left: 4px;
|
||||
bottom: 4px;
|
||||
background-color: var(--bg-primary);
|
||||
transition: var(--transition-normal);
|
||||
border-radius: 50%;
|
||||
}
|
||||
|
||||
input:checked + .slider {
|
||||
background-color: var(--color-primary);
|
||||
}
|
||||
|
||||
input:checked + .slider:before {
|
||||
transform: translateX(30px);
|
||||
}
|
||||
|
||||
/* Pricing Section */
|
||||
.pricing-section {
|
||||
padding: var(--space-2xl) 0 var(--space-4xl);
|
||||
}
|
||||
|
||||
.pricing-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(3, 1fr);
|
||||
gap: var(--space-xl);
|
||||
max-width: 1600px;
|
||||
margin: 0 auto;
|
||||
padding: 0 var(--space-md);
|
||||
align-items: stretch;
|
||||
}
|
||||
|
||||
/* Pricing Cards */
|
||||
.pricing-card {
|
||||
background: var(--bg-primary);
|
||||
border-radius: var(--border-radius-2xl);
|
||||
padding: var(--space-2xl);
|
||||
position: relative;
|
||||
box-shadow: var(--shadow-xl);
|
||||
transition: var(--transition-normal);
|
||||
border: 2px solid transparent;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
height: 100%;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.pricing-card:hover {
|
||||
transform: translateY(-10px);
|
||||
box-shadow: var(--shadow-2xl);
|
||||
}
|
||||
|
||||
.pricing-card.popular {
|
||||
border-color: var(--color-primary);
|
||||
transform: scale(1.05);
|
||||
box-shadow: 0 25px 50px rgba(133, 203, 133, 0.2);
|
||||
}
|
||||
|
||||
.dark .pricing-card.popular {
|
||||
box-shadow: 0 25px 50px rgba(163, 214, 163, 0.2);
|
||||
}
|
||||
|
||||
.pricing-card.popular:hover {
|
||||
transform: scale(1.05) translateY(-10px);
|
||||
}
|
||||
|
||||
.popular-badge {
|
||||
position: absolute;
|
||||
top: -15px;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
|
||||
color: var(--text-inverse);
|
||||
padding: var(--space-sm) var(--space-lg);
|
||||
border-radius: 25px;
|
||||
font-size: var(--font-size-sm);
|
||||
font-weight: var(--font-weight-semibold);
|
||||
box-shadow: 0 4px 12px rgba(133, 203, 133, 0.3);
|
||||
}
|
||||
|
||||
.dark .popular-badge {
|
||||
box-shadow: 0 4px 12px rgba(163, 214, 163, 0.3);
|
||||
}
|
||||
|
||||
/* Card Header */
|
||||
.card-header {
|
||||
text-align: center;
|
||||
margin-bottom: var(--space-2xl);
|
||||
}
|
||||
|
||||
.plan-name {
|
||||
font-size: var(--font-size-2xl);
|
||||
font-weight: var(--font-weight-bold);
|
||||
color: var(--text-primary);
|
||||
margin-bottom: var(--space-md);
|
||||
}
|
||||
|
||||
.plan-price {
|
||||
display: flex;
|
||||
align-items: baseline;
|
||||
justify-content: center;
|
||||
margin-bottom: var(--space-md);
|
||||
}
|
||||
|
||||
.currency {
|
||||
font-size: var(--font-size-xl);
|
||||
font-weight: var(--font-weight-semibold);
|
||||
color: var(--text-secondary);
|
||||
}
|
||||
|
||||
.amount {
|
||||
font-size: var(--font-size-5xl);
|
||||
font-weight: var(--font-weight-bold);
|
||||
color: var(--text-primary);
|
||||
margin: 0 var(--space-xs);
|
||||
}
|
||||
|
||||
.period {
|
||||
font-size: var(--font-size-base);
|
||||
color: var(--text-secondary);
|
||||
}
|
||||
|
||||
.plan-description {
|
||||
color: var(--text-secondary);
|
||||
line-height: var(--line-height-relaxed);
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
/* Card Body */
|
||||
.card-body {
|
||||
flex: 1;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
/* Features List */
|
||||
.features-list {
|
||||
list-style: none;
|
||||
padding: 0;
|
||||
margin: 0 0 var(--space-lg) 0;
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.feature-item {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
padding: var(--space-md) 0;
|
||||
border-bottom: var(--border-width) solid var(--border-color);
|
||||
}
|
||||
|
||||
.feature-item:last-child {
|
||||
border-bottom: none;
|
||||
}
|
||||
|
||||
.check-icon {
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
color: var(--color-success);
|
||||
margin-right: var(--space-md);
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
/* Card Actions */
|
||||
.card-actions {
|
||||
margin-top: auto;
|
||||
padding-top: var(--space-xl);
|
||||
}
|
||||
|
||||
/* CTA Button */
|
||||
.cta-button {
|
||||
width: 100%;
|
||||
padding: var(--space-md) var(--space-2xl);
|
||||
border: none;
|
||||
border-radius: var(--border-radius-lg);
|
||||
font-size: var(--font-size-lg);
|
||||
font-weight: var(--font-weight-semibold);
|
||||
cursor: pointer;
|
||||
transition: var(--transition-normal);
|
||||
margin-bottom: var(--space-md);
|
||||
box-shadow: var(--shadow-sm);
|
||||
}
|
||||
|
||||
.cta-button.primary {
|
||||
background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
|
||||
color: var(--text-inverse);
|
||||
box-shadow: 0 4px 12px rgba(133, 203, 133, 0.3);
|
||||
}
|
||||
|
||||
.dark .cta-button.primary {
|
||||
box-shadow: 0 4px 12px rgba(163, 214, 163, 0.3);
|
||||
}
|
||||
|
||||
.cta-button.primary:hover {
|
||||
transform: translateY(-2px);
|
||||
box-shadow: 0 6px 20px rgba(133, 203, 133, 0.4);
|
||||
}
|
||||
|
||||
.dark .cta-button.primary:hover {
|
||||
box-shadow: 0 6px 20px rgba(163, 214, 163, 0.4);
|
||||
}
|
||||
|
||||
.cta-button.secondary {
|
||||
background: var(--bg-secondary);
|
||||
color: var(--text-primary);
|
||||
border: 2px solid var(--border-color);
|
||||
}
|
||||
|
||||
.cta-button.secondary:hover {
|
||||
background: var(--bg-tertiary);
|
||||
border-color: var(--color-primary);
|
||||
transform: translateY(-2px);
|
||||
box-shadow: var(--shadow-md);
|
||||
}
|
||||
|
||||
.trial-info {
|
||||
text-align: center;
|
||||
color: var(--text-tertiary);
|
||||
font-size: var(--font-size-sm);
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
/* FAQ Section */
|
||||
.faq-section {
|
||||
background: var(--bg-secondary);
|
||||
padding: var(--space-4xl) 0;
|
||||
border-top: var(--border-width) solid var(--border-color);
|
||||
}
|
||||
|
||||
.section-title {
|
||||
text-align: center;
|
||||
font-size: var(--font-size-4xl);
|
||||
font-weight: var(--font-weight-bold);
|
||||
color: var(--text-primary);
|
||||
margin-bottom: var(--space-3xl);
|
||||
}
|
||||
|
||||
.faq-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
|
||||
gap: var(--space-2xl);
|
||||
max-width: 1000px;
|
||||
margin: 0 auto;
|
||||
padding: 0 var(--space-md);
|
||||
}
|
||||
|
||||
.faq-item {
|
||||
background: var(--bg-primary);
|
||||
padding: var(--space-2xl);
|
||||
border-radius: var(--border-radius-xl);
|
||||
border: var(--border-width) solid var(--border-color);
|
||||
box-shadow: var(--shadow-md);
|
||||
transition: var(--transition-normal);
|
||||
}
|
||||
|
||||
.faq-item:hover {
|
||||
box-shadow: var(--shadow-lg);
|
||||
transform: translateY(-2px);
|
||||
}
|
||||
|
||||
.faq-question {
|
||||
color: var(--text-primary);
|
||||
font-size: var(--font-size-xl);
|
||||
font-weight: var(--font-weight-semibold);
|
||||
margin-bottom: var(--space-md);
|
||||
}
|
||||
|
||||
.faq-answer {
|
||||
color: var(--text-secondary);
|
||||
line-height: var(--line-height-relaxed);
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
/* Container */
|
||||
.container {
|
||||
max-width: 1600px;
|
||||
margin: 0 auto;
|
||||
padding: 0 var(--space-md);
|
||||
}
|
||||
|
||||
/* Responsive Design */
|
||||
@media (max-width: 1024px) {
|
||||
.pricing-grid {
|
||||
grid-template-columns: 1fr;
|
||||
gap: var(--space-xl);
|
||||
max-width: 500px;
|
||||
}
|
||||
|
||||
.pricing-card.popular {
|
||||
transform: none;
|
||||
}
|
||||
|
||||
.pricing-card.popular:hover {
|
||||
transform: translateY(-10px);
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
.hero-title {
|
||||
font-size: var(--font-size-4xl);
|
||||
}
|
||||
|
||||
.billing-toggle {
|
||||
flex-direction: column;
|
||||
gap: var(--space-sm);
|
||||
padding: var(--space-lg);
|
||||
}
|
||||
|
||||
.faq-grid {
|
||||
grid-template-columns: 1fr;
|
||||
gap: var(--space-lg);
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 480px) {
|
||||
.hero-title {
|
||||
font-size: var(--font-size-3xl);
|
||||
}
|
||||
|
||||
.amount {
|
||||
font-size: var(--font-size-4xl);
|
||||
}
|
||||
|
||||
.pricing-card {
|
||||
padding: var(--space-lg);
|
||||
}
|
||||
|
||||
.faq-grid {
|
||||
grid-template-columns: 1fr;
|
||||
gap: var(--space-md);
|
||||
}
|
||||
|
||||
.faq-item {
|
||||
padding: var(--space-lg);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user