Sprzątanie projektu - dodanie podglądu gpx - dodanie obsługi logo i avatara - dodanie editable config do prostej edycji tekstów na stronie
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
|
||||
import React from 'react';
|
||||
import { WizardState } from '../types';
|
||||
import { Instagram, Youtube, Activity } from 'lucide-react';
|
||||
import { UI_TEXT } from '../_EDITABLE_CONFIG/ui_text';
|
||||
|
||||
interface StepPlatformProps {
|
||||
data: WizardState;
|
||||
@@ -18,8 +20,8 @@ const StepPlatform: React.FC<StepPlatformProps> = ({ data, updateData, nextStep
|
||||
return (
|
||||
<div className="space-y-8 animate-fade-in">
|
||||
<div>
|
||||
<h2 className="text-3xl font-bold tracking-tight text-gray-900 mb-3">Wybierz Platformę</h2>
|
||||
<p className="text-gray-500 mb-8 text-lg">Gdzie opublikujesz materiał?</p>
|
||||
<h2 className="text-3xl font-bold tracking-tight text-gray-900 mb-3">{UI_TEXT.stepPlatform.title}</h2>
|
||||
<p className="text-gray-500 mb-8 text-lg">{UI_TEXT.stepPlatform.subtitle}</p>
|
||||
|
||||
<div className="grid grid-cols-1 md:grid-cols-3 gap-6">
|
||||
<button
|
||||
@@ -31,8 +33,8 @@ const StepPlatform: React.FC<StepPlatformProps> = ({ data, updateData, nextStep
|
||||
}`}
|
||||
>
|
||||
<Instagram size={48} className={`mb-5 stroke-1 transition-colors ${data.platform === 'instagram' ? 'text-[#EA4420]' : 'text-gray-400 group-hover:text-[#EA4420]'}`} />
|
||||
<span className="text-xl font-bold tracking-tight">Instagram</span>
|
||||
<span className="text-sm opacity-75 mt-2 font-medium">Carousel / Post</span>
|
||||
<span className="text-xl font-bold tracking-tight">{UI_TEXT.stepPlatform.instagram.title}</span>
|
||||
<span className="text-sm opacity-75 mt-2 font-medium">{UI_TEXT.stepPlatform.instagram.desc}</span>
|
||||
</button>
|
||||
|
||||
<button
|
||||
@@ -44,8 +46,8 @@ const StepPlatform: React.FC<StepPlatformProps> = ({ data, updateData, nextStep
|
||||
}`}
|
||||
>
|
||||
<Youtube size={48} className={`mb-5 stroke-1 transition-colors ${data.platform === 'youtube' ? 'text-[#EA4420]' : 'text-gray-400 group-hover:text-[#EA4420]'}`} />
|
||||
<span className="text-xl font-bold tracking-tight">YouTube</span>
|
||||
<span className="text-sm opacity-75 mt-2 font-medium">Shorts / Video</span>
|
||||
<span className="text-xl font-bold tracking-tight">{UI_TEXT.stepPlatform.youtube.title}</span>
|
||||
<span className="text-sm opacity-75 mt-2 font-medium">{UI_TEXT.stepPlatform.youtube.desc}</span>
|
||||
</button>
|
||||
|
||||
<button
|
||||
@@ -57,8 +59,8 @@ const StepPlatform: React.FC<StepPlatformProps> = ({ data, updateData, nextStep
|
||||
}`}
|
||||
>
|
||||
<Activity size={48} className={`mb-5 stroke-1 transition-colors ${data.platform === 'strava' ? 'text-[#EA4420]' : 'text-gray-400 group-hover:text-[#EA4420]'}`} />
|
||||
<span className="text-xl font-bold tracking-tight">Strava</span>
|
||||
<span className="text-sm opacity-75 mt-2 font-medium">Activity / Photos</span>
|
||||
<span className="text-xl font-bold tracking-tight">{UI_TEXT.stepPlatform.strava.title}</span>
|
||||
<span className="text-sm opacity-75 mt-2 font-medium">{UI_TEXT.stepPlatform.strava.desc}</span>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
@@ -66,4 +68,4 @@ const StepPlatform: React.FC<StepPlatformProps> = ({ data, updateData, nextStep
|
||||
);
|
||||
};
|
||||
|
||||
export default StepPlatform;
|
||||
export default StepPlatform;
|
||||
|
||||
Reference in New Issue
Block a user