feat(fiverr): ajout de la page Fiverr et des composants associés

- Création de la page Fiverr pour présenter les services freelance
- Ajout des composants FiverrHero, FiverrServiceCard et FiverrCta
- Intégration des services Fiverr dans la configuration du site
- Ajout de nouvelles images pour les services Fiverr
- Mise à jour des traductions pour inclure les services Fiverr
- Amélioration de la gestion des actifs avec l'importation des images
- Ajout de styles CSS pour les nouveaux composants et pages
This commit is contained in:
Mr¤KayJayDee
2025-06-22 19:17:30 +02:00
parent b9dc90df7d
commit 8375640c1e
43 changed files with 2586 additions and 1759 deletions

View File

@@ -0,0 +1,53 @@
<template>
<div class="contact-method">
<div class="contact-icon" :class="iconClass">
<svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" :d="iconPath" />
</svg>
</div>
<div class="contact-info">
<div class="contact-title">{{ title }}</div>
<component :is="linkComponent" :href="href" :class="linkClass">
{{ text }}
</component>
<div class="contact-description">{{ description }}</div>
</div>
</div>
</template>
<script setup lang="ts">
import { computed } from 'vue'
interface Props {
type: 'email' | 'phone' | 'location'
title: string
text: string
description: string
href?: string
}
const props = defineProps<Props>()
const iconClass = computed(() => `contact-icon-${props.type}`)
const linkComponent = computed(() => props.href ? 'a' : 'div')
const linkClass = computed(() => props.href ? 'contact-link' : 'contact-text')
const iconPath = computed(() => {
switch (props.type) {
case 'email':
return 'M3 8l7.89 5.26a2 2 0 002.22 0L21 8M5 19h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v10a2 2 0 002 2z'
case 'phone':
return 'M3 5a2 2 0 012-2h3.28a1 1 0 01.948.684l1.498 4.493a1 1 0 01-.502 1.21l-2.257 1.13a11.042 11.042 0 005.516 5.516l1.13-2.257a1 1 0 011.21-.502l4.493 1.498a1 1 0 01.684.949V19a2 2 0 01-2 2h-1C9.716 21 3 14.284 3 6V5z'
case 'location':
return 'M17.657 16.657L13.414 20.9a1.998 1.998 0 01-2.827 0l-4.244-4.243a8 8 0 1111.314 0z'
default:
return ''
}
})
</script>
<style scoped>
@import './styles/ContactMethod.css';
</style>

View File

@@ -0,0 +1,32 @@
<template>
<section class="cta-section">
<div class="container">
<div class="cta-content text-center">
<h2 class="cta-title">{{ title }}</h2>
<p class="cta-subtitle">{{ subtitle }}</p>
<a :href="ctaUrl" target="_blank" rel="noopener noreferrer" class="btn btn-primary btn-lg">
{{ ctaText }}
<svg class="btn-icon" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
d="M10 6H6a2 2 0 00-2 2v10a2 2 0 002 2h10a2 2 0 002-2v-4M14 4h6m0 0v6m0-6L10 14" />
</svg>
</a>
</div>
</div>
</section>
</template>
<script setup lang="ts">
interface Props {
title: string
subtitle: string
ctaUrl: string
ctaText: string
}
defineProps<Props>()
</script>
<style scoped>
@import './styles/FiverrCta.css';
</style>

View File

@@ -0,0 +1,50 @@
<template>
<section class="fiverr-hero">
<div class="container">
<div class="hero-content text-center">
<h1 class="hero-title">{{ title }}</h1>
<p class="hero-subtitle">{{ subtitle }}</p>
<!-- Stats -->
<div class="stats-grid">
<div v-for="stat in stats" :key="stat.label" class="stat-item">
<div class="stat-number">{{ stat.number }}</div>
<div class="stat-label">{{ stat.label }}</div>
</div>
</div>
<!-- CTA Button -->
<div class="hero-cta">
<a :href="ctaUrl" target="_blank" rel="noopener noreferrer" class="btn btn-primary btn-lg">
{{ ctaText }}
<svg class="btn-icon" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
d="M10 6H6a2 2 0 00-2 2v10a2 2 0 002 2h10a2 2 0 002-2v-4M14 4h6m0 0v6m0-6L10 14" />
</svg>
</a>
</div>
</div>
</div>
</section>
</template>
<script setup lang="ts">
interface Stat {
number: string | number
label: string
}
interface Props {
title: string
subtitle: string
stats: Stat[]
ctaUrl: string
ctaText: string
}
defineProps<Props>()
</script>
<style scoped>
@import './styles/FiverrHero.css';
</style>

View File

@@ -0,0 +1,103 @@
<template>
<article class="card group service-card">
<!-- Image -->
<div class="service-image">
<img :src="imageUrl" :alt="title" loading="lazy">
</div>
<!-- Content -->
<div class="card-body">
<!-- Price & Status -->
<div class="service-header">
<span class="badge badge-primary">{{ price }}</span>
<span :class="statusBadgeClass">{{ statusText }}</span>
</div>
<!-- Title -->
<h3 class="service-title">{{ title }}</h3>
<!-- Description -->
<p class="service-description">{{ description }}</p>
<!-- Features -->
<div class="features-list">
<div class="features-title">{{ featuresTitle }}</div>
<ul class="features-items">
<li v-for="(feature, index) in displayedFeatures" :key="index" class="feature-item">
<svg class="feature-icon" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 13l4 4L19 7" />
</svg>
{{ feature }}
</li>
<li v-if="hasMoreFeatures" class="more-features">
+{{ remainingFeaturesCount }} {{ moreFeaturesText }}
</li>
</ul>
</div>
<!-- Action -->
<div class="service-actions">
<a v-if="isAvailable" :href="url" target="_blank" rel="noopener noreferrer" class="btn btn-primary btn-sm">
{{ orderText }}
<svg class="btn-icon" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
d="M10 6H6a2 2 0 00-2 2v10a2 2 0 002 2h10a2 2 0 002-2v-4M14 4h6m0 0v6m0-6L10 14" />
</svg>
</a>
<button v-else class="btn btn-secondary btn-sm" disabled>
{{ learnMoreText }}
</button>
</div>
</div>
</article>
</template>
<script setup lang="ts">
import { computed } from 'vue'
interface Props {
title: string
description: string
price: string
url: string
imageUrl: string
features: string[]
featuresTitle: string
orderText: string
learnMoreText: string
moreFeaturesText: string
comingSoonText: string
availableText: string
maxFeatures?: number
}
const props = withDefaults(defineProps<Props>(), {
maxFeatures: 5
})
const isAvailable = computed(() => props.url !== '#')
const displayedFeatures = computed(() =>
props.features.slice(0, props.maxFeatures)
)
const hasMoreFeatures = computed(() =>
props.features.length > props.maxFeatures
)
const remainingFeaturesCount = computed(() =>
props.features.length - props.maxFeatures
)
const statusText = computed(() =>
isAvailable.value ? props.availableText : props.comingSoonText
)
const statusBadgeClass = computed(() =>
isAvailable.value ? 'badge badge-success text-xs' : 'badge badge-warning text-xs'
)
</script>
<style scoped>
@import './styles/FiverrServiceCard.css';
</style>

View File

@@ -24,65 +24,5 @@ const languages = [
</template>
<style scoped>
.language-switcher {
display: flex;
align-items: center;
}
.language-switcher-buttons {
display: flex;
gap: var(--space-xs);
background: var(--bg-secondary);
border-radius: var(--border-radius-lg);
padding: var(--space-xs);
border: 1px solid var(--border-color);
}
.language-btn {
display: flex;
align-items: center;
gap: var(--space-xs);
padding: var(--space-xs) var(--space-sm);
border: none;
background: transparent;
border-radius: var(--border-radius-md);
cursor: pointer;
transition: all 0.2s ease;
color: var(--text-secondary);
font-size: 0.875rem;
font-weight: 500;
}
.language-btn:hover {
background: var(--bg-tertiary);
color: var(--text-primary);
}
.language-btn.active {
background: var(--color-primary);
color: white;
box-shadow: var(--shadow-sm);
}
.flag {
font-size: 1rem;
line-height: 1;
}
.lang-code {
font-size: 0.75rem;
font-weight: 600;
letter-spacing: 0.05em;
}
/* Mobile responsive */
@media (max-width: 640px) {
.lang-code {
display: none;
}
.language-btn {
padding: var(--space-xs);
}
}
@import './styles/LanguageSwitcher.css';
</style>

View File

@@ -36,32 +36,14 @@ const translatedCategory = computed(() => {
<template>
<article class="card group">
<!-- Image -->
<div class="relative overflow-hidden" style="aspect-ratio: 16/9;">
<img :src="imageUrl" :alt="project.title"
class="w-full h-full object-cover transition-transform duration-300 group-hover:scale-110" loading="lazy">
<!-- Overlay -->
<div
class="absolute inset-0 bg-gradient-to-t from-black/60 via-transparent to-transparent opacity-0 group-hover:opacity-100 transition-opacity duration-300">
<div class="absolute bottom-4 left-4 right-4">
<div v-if="project.buttons && project.buttons.length > 0" class="flex gap-2">
<a v-for="button in project.buttons" :key="button.title" :href="button.link" target="_blank"
rel="noopener noreferrer" class="btn btn-primary btn-sm" @click.stop>
{{ t(`projects.buttons.${button.title.toLowerCase().replace(/\s+/g, '')}`, button.title) }}
<svg class="btn-icon" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
d="M10 6H6a2 2 0 00-2 2v10a2 2 0 002 2h10a2 2 0 002-2v-4M14 4h6m0 0v6m0-6L10 14">
</path>
</svg>
</a>
</div>
</div>
</div>
<div class="project-image">
<img :src="imageUrl" :alt="project.title" loading="lazy">
</div>
<!-- Content -->
<div class="card-body">
<!-- Category & Date -->
<div class="flex items-center justify-between mb-md">
<div class="project-meta">
<span v-if="project.category" class="badge badge-primary">
{{ translatedCategory }}
</span>
@@ -71,17 +53,17 @@ const translatedCategory = computed(() => {
</div>
<!-- Title -->
<h3 class="text-xl font-bold mb-md group-hover:text-primary transition-colors">
<h3 class="project-title">
{{ translatedTitle }}
</h3>
<!-- Description -->
<p class="text-secondary mb-lg line-clamp-3">
<p class="project-description">
{{ translatedDescription }}
</p>
<!-- Technologies -->
<div v-if="project.technologies && project.technologies.length > 0" class="flex flex-wrap gap-2 mb-lg">
<div v-if="project.technologies && project.technologies.length > 0" class="project-technologies">
<span v-for="tech in project.technologies.slice(0, 3)" :key="tech" class="badge badge-secondary text-xs">
{{ tech }}
</span>
@@ -91,7 +73,7 @@ const translatedCategory = computed(() => {
</div>
<!-- Action -->
<div class="flex items-center justify-between">
<div class="project-actions">
<RouterLink :to="`/project/${project.id}`" class="btn btn-secondary btn-sm">
{{ t('projects.buttons.viewProject') }}
<svg class="btn-icon" fill="none" stroke="currentColor" viewBox="0 0 24 24">
@@ -104,155 +86,5 @@ const translatedCategory = computed(() => {
</template>
<style scoped>
/* Line clamp utility */
.line-clamp-3 {
display: -webkit-box;
-webkit-line-clamp: 3;
-webkit-box-orient: vertical;
overflow: hidden;
}
/* Custom utilities */
.w-full {
width: 100%;
}
.h-full {
height: 100%;
}
.object-cover {
object-fit: cover;
}
.relative {
position: relative;
}
.absolute {
position: absolute;
}
.inset-0 {
top: 0;
right: 0;
bottom: 0;
left: 0;
}
.bottom-4 {
bottom: 1rem;
}
.left-4 {
left: 1rem;
}
.right-4 {
right: 1rem;
}
.text-xs {
font-size: var(--font-size-xs);
}
.text-sm {
font-size: var(--font-size-sm);
}
.text-xl {
font-size: var(--font-size-xl);
}
.font-bold {
font-weight: var(--font-weight-bold);
}
.font-medium {
font-weight: var(--font-weight-medium);
}
.text-primary {
color: var(--color-primary);
}
.text-secondary {
color: var(--text-secondary);
}
.text-warning {
color: var(--color-warning);
}
.group-hover\:text-primary {
transition: color var(--transition-fast);
}
.group:hover .group-hover\:text-primary {
color: var(--color-primary);
}
.transition-colors {
transition: color var(--transition-fast);
}
.transition-transform {
transition: transform var(--transition-normal);
}
.transition-opacity {
transition: opacity var(--transition-normal);
}
.duration-300 {
transition-duration: 300ms;
}
.group-hover\:scale-110 {
transition: transform var(--transition-normal);
}
.group:hover .group-hover\:scale-110 {
transform: scale(1.1);
}
.opacity-0 {
opacity: 0;
}
.group-hover\:opacity-100 {
transition: opacity var(--transition-normal);
}
.group:hover .group-hover\:opacity-100 {
opacity: 1;
}
.overflow-hidden {
overflow: hidden;
}
.flex {
display: flex;
}
.flex-wrap {
flex-wrap: wrap;
}
.items-center {
align-items: center;
}
.justify-between {
justify-content: space-between;
}
.gap-1 {
gap: 0.25rem;
}
.gap-2 {
gap: 0.5rem;
}
@import './styles/ProjectCard.css';
</style>

View File

@@ -99,38 +99,5 @@ const getLevelColor = (level: Technology['level']) => {
</template>
<style scoped>
.tech-badge {
display: inline-flex;
align-items: center;
gap: var(--space-sm);
padding: var(--space-sm) var(--space-md);
background: var(--bg-primary);
border: var(--border-width) solid var(--border-color);
border-radius: var(--border-radius-lg);
transition: all var(--transition-fast);
white-space: nowrap;
}
.tech-badge:hover {
box-shadow: var(--shadow-md);
transform: translateY(-1px);
}
.tech-image {
width: 20px;
height: 20px;
object-fit: contain;
flex-shrink: 0;
}
.tech-name {
font-size: var(--font-size-sm);
font-weight: var(--font-weight-medium);
color: var(--text-primary);
}
.tech-level {
font-size: var(--font-size-xs);
padding: var(--space-xs) var(--space-sm);
}
@import './styles/TechBadge.css';
</style>

View File

@@ -23,46 +23,5 @@ const { isDark, toggleTheme } = useTheme()
</template>
<style scoped>
.theme-toggle {
display: flex;
align-items: center;
justify-content: center;
width: 40px;
height: 40px;
border: none;
border-radius: var(--border-radius-lg);
background: var(--bg-secondary);
color: var(--text-secondary);
cursor: pointer;
transition: all var(--transition-fast);
position: relative;
overflow: hidden;
}
.theme-toggle:hover {
background: var(--color-primary);
color: var(--text-inverse);
transform: scale(1.05);
}
.theme-toggle:active {
transform: scale(0.95);
}
.theme-icon {
width: 20px;
height: 20px;
transition: all var(--transition-fast);
}
/* Dark mode styles */
:global(.dark) .theme-toggle {
background: var(--bg-secondary);
color: var(--text-secondary);
}
:global(.dark) .theme-toggle:hover {
background: var(--color-primary);
color: var(--text-inverse);
}
@import './styles/ThemeToggle.css';
</style>

View File

@@ -111,102 +111,5 @@ const services = computed(() => [
</template>
<style scoped>
/* Footer Base */
.footer {
background: var(--bg-tertiary);
color: var(--text-primary);
padding: var(--space-4xl) 0 var(--space-xl);
border-top: var(--border-width) solid var(--border-color);
}
/* Footer logo */
.footer-logo {
width: 32px;
height: 32px;
object-fit: contain;
border-radius: var(--border-radius-md);
}
/* Footer Brand */
.footer-brand {
color: var(--text-primary);
}
/* Footer Titles */
.footer-title {
color: var(--text-primary);
}
/* Footer Description */
.footer-description {
color: var(--text-secondary);
}
/* Footer Copyright */
.footer-copyright {
color: var(--text-tertiary);
}
/* Footer Bottom */
.footer-bottom {
border-top: var(--border-width) solid var(--border-color);
padding-top: var(--space-lg);
}
/* Social Links */
.social-link {
display: flex;
align-items: center;
justify-content: center;
width: 44px;
height: 44px;
background: var(--bg-secondary);
border: var(--border-width) solid var(--border-color);
border-radius: var(--border-radius-lg);
color: var(--text-secondary);
transition: all var(--transition-fast);
}
.social-link:hover {
background: var(--color-primary);
color: var(--text-inverse);
border-color: var(--color-primary);
box-shadow: var(--shadow-md);
scale: 1.05;
}
/* Footer Links */
.footer-link {
color: var(--text-secondary);
transition: color var(--transition-fast);
text-decoration: none;
}
.footer-link:hover {
color: var(--color-primary);
}
/* Custom utilities */
.space-y-sm>*+* {
margin-top: var(--space-sm);
}
.max-w-md {
max-width: 28rem;
}
.cursor-default {
cursor: default;
}
/* Responsive */
@media (min-width: 768px) {
.md\:col-span-2 {
grid-column: span 2;
}
.md\:flex-row {
flex-direction: row;
}
}
@import '../styles/AppFooter.css';
</style>

View File

@@ -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.fiverr'), path: '/fiverr' },
])
const toggleMenu = () => {
@@ -72,42 +73,5 @@ const toggleMenu = () => {
</template>
<style scoped>
/* Header actions */
.header-actions {
display: flex;
align-items: center;
gap: var(--space-sm);
}
/* Logo styling */
.logo-image {
width: 32px;
height: 32px;
object-fit: contain;
border-radius: var(--border-radius-md);
}
/* Mobile responsive utilities */
@media (min-width: 768px) {
.md\:flex {
display: flex;
}
.md\:hidden {
display: none;
}
}
.hidden {
display: none;
}
/* Navigation active state */
.nav-link.router-link-active {
color: var(--color-primary);
}
.nav-link.router-link-active::after {
width: 100%;
}
@import '../styles/AppHeader.css';
</style>

View File

@@ -0,0 +1,100 @@
/* AppFooter Styles */
/* Footer Base */
.footer {
background: var(--bg-tertiary);
color: var(--text-primary);
padding: var(--space-4xl) 0 var(--space-xl);
border-top: var(--border-width) solid var(--border-color);
}
/* Footer logo */
.footer-logo {
width: 32px;
height: 32px;
object-fit: contain;
border-radius: var(--border-radius-md);
}
/* Footer Brand */
.footer-brand {
color: var(--text-primary);
}
/* Footer Titles */
.footer-title {
color: var(--text-primary);
}
/* Footer Description */
.footer-description {
color: var(--text-secondary);
}
/* Footer Copyright */
.footer-copyright {
color: var(--text-tertiary);
}
/* Footer Bottom */
.footer-bottom {
border-top: var(--border-width) solid var(--border-color);
padding-top: var(--space-lg);
}
/* Social Links */
.social-link {
display: flex;
align-items: center;
justify-content: center;
width: 44px;
height: 44px;
background: var(--bg-secondary);
border: var(--border-width) solid var(--border-color);
border-radius: var(--border-radius-lg);
color: var(--text-secondary);
transition: all var(--transition-fast);
}
.social-link:hover {
background: var(--color-primary);
color: var(--text-inverse);
border-color: var(--color-primary);
box-shadow: var(--shadow-md);
scale: 1.05;
}
/* Footer Links */
.footer-link {
color: var(--text-secondary);
transition: color var(--transition-fast);
text-decoration: none;
}
.footer-link:hover {
color: var(--color-primary);
}
/* Custom utilities */
.space-y-sm > * + * {
margin-top: var(--space-sm);
}
.max-w-md {
max-width: 28rem;
}
.cursor-default {
cursor: default;
}
/* Responsive */
@media (min-width: 768px) {
.md\:col-span-2 {
grid-column: span 2;
}
.md\:flex-row {
flex-direction: row;
}
}

View File

@@ -0,0 +1,40 @@
/* AppHeader Styles */
/* Header actions */
.header-actions {
display: flex;
align-items: center;
gap: var(--space-sm);
}
/* Logo styling */
.logo-image {
width: 32px;
height: 32px;
object-fit: contain;
border-radius: var(--border-radius-md);
}
/* Mobile responsive utilities */
@media (min-width: 768px) {
.md\:flex {
display: flex;
}
.md\:hidden {
display: none;
}
}
.hidden {
display: none;
}
/* Navigation active state */
.nav-link.router-link-active {
color: var(--color-primary);
}
.nav-link.router-link-active::after {
width: 100%;
}

View File

@@ -0,0 +1,80 @@
/* Contact Methods */
.contact-method {
display: flex;
align-items: flex-start;
padding: var(--space-md);
background: var(--bg-secondary);
border-radius: var(--border-radius-lg);
transition: all var(--transition-fast);
}
.contact-method:hover {
transform: translateY(-2px);
box-shadow: var(--shadow-lg);
}
.contact-icon {
width: 40px;
height: 40px;
border-radius: var(--border-radius-lg);
display: flex;
align-items: center;
justify-content: center;
margin-right: var(--space-md);
flex-shrink: 0;
}
.contact-icon-email {
background: var(--color-primary);
color: var(--text-inverse);
}
.contact-icon-phone {
background: var(--color-info);
color: var(--text-inverse);
}
.contact-icon-location {
background: var(--color-secondary);
color: var(--text-inverse);
}
.contact-info {
flex: 1;
}
.contact-title {
font-weight: 600;
color: var(--text-primary);
margin-bottom: var(--space-xs);
}
.contact-link {
color: var(--color-primary);
text-decoration: none;
transition: color var(--transition-fast);
display: block;
margin-bottom: var(--space-xs);
}
.contact-link:hover {
color: var(--color-primary-dark);
}
.contact-text {
color: var(--text-primary);
margin-bottom: var(--space-xs);
}
.contact-description {
font-size: var(--font-size-sm);
color: var(--text-secondary);
}
.w-6 {
width: 1.5rem;
}
.h-6 {
height: 1.5rem;
}

View File

@@ -0,0 +1,38 @@
/* CTA Section */
.cta-section {
background: var(--bg-secondary);
padding: var(--space-4xl) 0;
position: relative;
}
.cta-section::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23e5e7eb' fill-opacity='0.3'%3E%3Ccircle cx='30' cy='30' r='1'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
opacity: 0.5;
}
.cta-content {
position: relative;
z-index: 1;
max-width: 600px;
margin: 0 auto;
}
.cta-title {
font-size: var(--font-size-4xl);
font-weight: var(--font-weight-bold);
color: var(--text-primary);
margin-bottom: var(--space-lg);
}
.cta-subtitle {
font-size: var(--font-size-lg);
color: var(--text-secondary);
margin-bottom: var(--space-2xl);
line-height: var(--line-height-relaxed);
}

View File

@@ -0,0 +1,74 @@
/* Hero Section */
.fiverr-hero {
background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
padding: var(--space-4xl) 0 var(--space-3xl);
position: relative;
overflow: hidden;
}
.fiverr-hero::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23f3f4f6' fill-opacity='0.4'%3E%3Ccircle cx='30' cy='30' r='1'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
opacity: 0.5;
}
.hero-content {
position: relative;
z-index: 1;
}
.hero-title {
font-size: var(--font-size-5xl);
font-weight: var(--font-weight-extrabold);
color: var(--text-primary);
margin-bottom: var(--space-lg);
line-height: var(--line-height-tight);
}
.hero-subtitle {
font-size: var(--font-size-xl);
color: var(--text-secondary);
margin-bottom: var(--space-2xl);
max-width: 700px;
margin-left: auto;
margin-right: auto;
line-height: var(--line-height-relaxed);
}
/* Stats Grid */
.stats-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
gap: var(--space-xl);
margin-bottom: var(--space-2xl);
max-width: 500px;
margin-left: auto;
margin-right: auto;
}
.stat-item {
text-align: center;
}
.stat-number {
font-size: var(--font-size-3xl);
font-weight: var(--font-weight-extrabold);
color: var(--color-primary);
margin-bottom: var(--space-xs);
}
.stat-label {
font-size: var(--font-size-sm);
color: var(--text-secondary);
text-transform: uppercase;
letter-spacing: 0.05em;
}
.hero-cta {
margin-top: var(--space-xl);
}

View File

@@ -0,0 +1,95 @@
/* Service Card */
.service-card {
height: fit-content;
}
.service-image {
position: relative;
overflow: hidden;
aspect-ratio: 16/9;
}
.service-image img {
width: 100%;
height: 100%;
object-fit: cover;
transition: transform 0.3s ease;
}
.group:hover .service-image img {
transform: scale(1.1);
}
.service-header {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: var(--space-md);
}
.service-title {
font-size: var(--font-size-xl);
font-weight: var(--font-weight-bold);
margin-bottom: var(--space-md);
transition: color 0.3s ease;
}
.group:hover .service-title {
color: var(--color-primary);
}
.service-description {
color: var(--text-secondary);
margin-bottom: var(--space-lg);
display: -webkit-box;
-webkit-line-clamp: 3;
-webkit-box-orient: vertical;
overflow: hidden;
}
.features-list {
margin-bottom: var(--space-lg);
}
.features-title {
font-size: var(--font-size-sm);
font-weight: var(--font-weight-medium);
margin-bottom: var(--space-sm);
}
.features-items {
list-style: none;
padding: 0;
margin: 0;
display: flex;
flex-direction: column;
gap: var(--space-xs);
}
.feature-item {
display: flex;
align-items: flex-start;
gap: var(--space-xs);
font-size: var(--font-size-sm);
color: var(--text-secondary);
}
.feature-icon {
width: 1rem;
height: 1rem;
color: var(--color-success);
flex-shrink: 0;
margin-top: 0.125rem;
}
.more-features {
font-size: var(--font-size-xs);
color: var(--text-secondary);
font-weight: var(--font-weight-medium);
}
.service-actions {
display: flex;
align-items: center;
justify-content: space-between;
}

View File

@@ -0,0 +1,63 @@
/* LanguageSwitcher Styles */
.language-switcher {
display: flex;
align-items: center;
}
.language-switcher-buttons {
display: flex;
gap: var(--space-xs);
background: var(--bg-secondary);
border-radius: var(--border-radius-lg);
padding: var(--space-xs);
border: 1px solid var(--border-color);
}
.language-btn {
display: flex;
align-items: center;
gap: var(--space-xs);
padding: var(--space-xs) var(--space-sm);
border: none;
background: transparent;
border-radius: var(--border-radius-md);
cursor: pointer;
transition: all 0.2s ease;
color: var(--text-secondary);
font-size: 0.875rem;
font-weight: 500;
}
.language-btn:hover {
background: var(--bg-tertiary);
color: var(--text-primary);
}
.language-btn.active {
background: var(--color-primary);
color: white;
box-shadow: var(--shadow-sm);
}
.flag {
font-size: 1rem;
line-height: 1;
}
.lang-code {
font-size: 0.75rem;
font-weight: 600;
letter-spacing: 0.05em;
}
/* Mobile responsive */
@media (max-width: 640px) {
.lang-code {
display: none;
}
.language-btn {
padding: var(--space-xs);
}
}

View File

@@ -0,0 +1,81 @@
/* Project Card Styles */
.project-image {
position: relative;
overflow: hidden;
aspect-ratio: 16/9;
}
.project-image img {
width: 100%;
height: 100%;
object-fit: cover;
transition: transform var(--transition-normal);
}
.group:hover .project-image img {
transform: scale(1.1);
}
/* Project overlay */
.project-overlay {
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, transparent 50%, transparent 100%);
opacity: 0;
transition: opacity var(--transition-normal);
}
.group:hover .project-overlay {
opacity: 1;
}
.project-overlay-content {
position: absolute;
bottom: 1rem;
left: 1rem;
right: 1rem;
}
/* Project content */
.project-meta {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: var(--space-md);
}
.project-title {
font-size: var(--font-size-xl);
font-weight: var(--font-weight-bold);
margin-bottom: var(--space-md);
transition: color var(--transition-fast);
}
.group:hover .project-title {
color: var(--color-primary);
}
.project-description {
color: var(--text-secondary);
margin-bottom: var(--space-lg);
display: -webkit-box;
-webkit-line-clamp: 3;
-webkit-box-orient: vertical;
overflow: hidden;
}
.project-technologies {
display: flex;
flex-wrap: wrap;
gap: 0.5rem;
margin-bottom: var(--space-lg);
}
.project-actions {
display: flex;
align-items: center;
justify-content: space-between;
}

View File

@@ -0,0 +1,36 @@
/* TechBadge Styles */
.tech-badge {
display: inline-flex;
align-items: center;
gap: var(--space-sm);
padding: var(--space-sm) var(--space-md);
background: var(--bg-primary);
border: var(--border-width) solid var(--border-color);
border-radius: var(--border-radius-lg);
transition: all var(--transition-fast);
white-space: nowrap;
}
.tech-badge:hover {
box-shadow: var(--shadow-md);
transform: translateY(-1px);
}
.tech-image {
width: 20px;
height: 20px;
object-fit: contain;
flex-shrink: 0;
}
.tech-name {
font-size: var(--font-size-sm);
font-weight: var(--font-weight-medium);
color: var(--text-primary);
}
.tech-level {
font-size: var(--font-size-xs);
padding: var(--space-xs) var(--space-sm);
}

View File

@@ -0,0 +1,44 @@
/* ThemeToggle Styles */
.theme-toggle {
display: flex;
align-items: center;
justify-content: center;
width: 40px;
height: 40px;
border: none;
border-radius: var(--border-radius-lg);
background: var(--bg-secondary);
color: var(--text-secondary);
cursor: pointer;
transition: all var(--transition-fast);
position: relative;
overflow: hidden;
}
.theme-toggle:hover {
background: var(--color-primary);
color: var(--text-inverse);
transform: scale(1.05);
}
.theme-toggle:active {
transform: scale(0.95);
}
.theme-icon {
width: 20px;
height: 20px;
transition: all var(--transition-fast);
}
/* Dark mode styles */
:global(.dark) .theme-toggle {
background: var(--bg-secondary);
color: var(--text-secondary);
}
:global(.dark) .theme-toggle:hover {
background: var(--color-primary);
color: var(--text-inverse);
}