diff --git a/backend/pkg/billing/hooks.go b/backend/pkg/billing/hooks.go index 9b35013..3d8f5eb 100644 --- a/backend/pkg/billing/hooks.go +++ b/backend/pkg/billing/hooks.go @@ -173,14 +173,14 @@ func CheckUploadAllowed(ctx context.Context, userID string, fileSize int64) (boo func GetUserStorageLimit(ctx context.Context, userID string) int64 { provider := GetProvider() if provider == nil { - // Limite par défaut: 5 Go - return 5 * 1024 * 1024 * 1024 + // Limite par défaut: 20 Go + return 20 * 1024 * 1024 * 1024 } plan, err := provider.GetUserPlan(ctx, userID) if err != nil { log.Printf("[Billing] Error getting user plan: %v", err) - return 5 * 1024 * 1024 * 1024 + return 20 * 1024 * 1024 * 1024 } return plan.StorageLimitGB * 1024 * 1024 * 1024 diff --git a/backend/pkg/billing/mock_provider.go b/backend/pkg/billing/mock_provider.go index 29abd14..f197fd4 100644 --- a/backend/pkg/billing/mock_provider.go +++ b/backend/pkg/billing/mock_provider.go @@ -141,8 +141,8 @@ func (m *MockProvider) getPlans() []Plan { return []Plan{ { Code: "free", Name: "Gratuit", - Description: "5 Go de stockage, 5 partages P2P actifs", - StorageLimitGB: 5, P2PSharesLimit: 5, + Description: "20 Go de stockage, 5 partages P2P actifs", + StorageLimitGB: 20, P2PSharesLimit: 5, PriceMonthly: 0, PriceYearly: 0, Currency: "EUR", Features: map[string]interface{}{"p2p_enabled": true}, }, diff --git a/frontend/src/App.vue b/frontend/src/App.vue index fa4394d..dcf53f3 100644 --- a/frontend/src/App.vue +++ b/frontend/src/App.vue @@ -37,7 +37,7 @@ const route = useRoute() // Check if current route is a landing page const isLandingPage = computed(() => { - return ['LandingHome', 'Pricing', 'Transfer'].includes(route.name) + return ['LandingHome', 'Pricing', 'Transfer', 'Compare'].includes(route.name) }) // Connect Supabase Realtime and fetch billing status when authenticated. diff --git a/frontend/src/components/billing/BillingDashboard.vue b/frontend/src/components/billing/BillingDashboard.vue index 4dde313..19199f5 100644 --- a/frontend/src/components/billing/BillingDashboard.vue +++ b/frontend/src/components/billing/BillingDashboard.vue @@ -48,7 +48,7 @@ - 5 Go de stockage + 20 Go de stockage
diff --git a/frontend/src/components/landing/LandingNav.vue b/frontend/src/components/landing/LandingNav.vue index 357d849..c6acfda 100644 --- a/frontend/src/components/landing/LandingNav.vue +++ b/frontend/src/components/landing/LandingNav.vue @@ -12,6 +12,7 @@ @@ -33,6 +34,7 @@
Accueil Transfert P2P + Comparatif Connexion
diff --git a/frontend/src/router/index.js b/frontend/src/router/index.js index 25d7e6b..3761ff9 100644 --- a/frontend/src/router/index.js +++ b/frontend/src/router/index.js @@ -37,6 +37,11 @@ const routes = [ name: 'Transfer', component: LandingTransfer, }, + { + path: '/compare', + name: 'Compare', + component: () => import('../views/landing/CompareView.vue'), + }, { path: '/login', name: 'Login', diff --git a/frontend/src/views/PrivacyPolicy.vue b/frontend/src/views/PrivacyPolicy.vue index dc51045..05564fc 100644 --- a/frontend/src/views/PrivacyPolicy.vue +++ b/frontend/src/views/PrivacyPolicy.vue @@ -15,7 +15,7 @@

2. Responsable de traitement

-

Le responsable du traitement des données est [NOM DU RESPONSABLE OU DE L'ENTREPRISE], joignable à l'adresse suivante : [ADRESSE] ou par email à [EMAIL DE CONTACT].

+

Le responsable du traitement des données est Buuuntyyy, joignable à l'adresse suivante par email : contact@kagibi.cloud.

@@ -63,7 +63,7 @@
  • Droit d'opposition : Vous pouvez vous opposer au traitement de vos données pour des motifs légitimes.
  • Sort des données après la mort : Conformément à la loi "Informatique et Libertés", vous pouvez définir des directives relatives à la conservation, à l'effacement et à la communication de vos données après votre décès.
  • -

    Pour exercer ces droits, vous pouvez nous contacter à l'adresse : [EMAIL DE CONTACT].

    +

    Pour exercer ces droits, vous pouvez nous contacter à l'adresse : contact@kagibi.cloud.

    Si vous estimez, après nous avoir contactés, que vos droits "Informatique et Libertés" ne sont pas respectés, vous pouvez adresser une réclamation à la CNIL.

    @@ -86,6 +86,7 @@ .legal-container { display: flex; justify-content: center; + align-items: flex-start; padding: 40px 20px; background-color: var(--background-color, #f5f7fa); min-height: 100vh; diff --git a/frontend/src/views/TermsOfService.vue b/frontend/src/views/TermsOfService.vue index 5aed40a..5ce884f 100644 --- a/frontend/src/views/TermsOfService.vue +++ b/frontend/src/views/TermsOfService.vue @@ -14,14 +14,14 @@

    2. Mentions Légales

    -

    L'édition du site Kagibi est assurée par [NOM DE L'ENTREPRISE OU DE L'INDIVIDU], dont le siège social est situé à [ADRESSE COMPLETE].

    -

    Adresse e-mail de contact : [EMAIL DE CONTACT]

    -

    L'hébergeur du Service est : [NOM DE L'HEBERGEUR, ex: AWS, OVH, Google Cloud], situé à [ADRESSE DE L'HEBERGEUR].

    +

    L'édition du site Kagibi est assurée par Buuuntyyy.

    +

    Adresse e-mail de contact : contact@kagibi.cloud

    +

    L'hébergeur du Service est : OVH France.

    3. Accès au Service

    -

    Le Service permet à l'Utilisateur un accès gratuit ou payant aux services suivants :

    +

    Le Service permet à l'Utilisateur un accès gratuit aux services suivants :