PluginProbe
Extendify / trunk
Extendify vtrunk
3.2.1 3.2.0 3.1.6 3.1.5 3.1.4 3.1.3 3.1.2 3.1.1 3.1.0 3.0.6 3.0.5 3.0.4 trunk 0.1.0 0.10.0 0.10.1 0.10.2 0.11.0 0.11.1 0.2.0 0.3.0 0.3.1 0.4.0 0.5.0 0.6.0 All 127 releases
extendify / src / Assist / components / dashboard / CardsTitle.jsx

CardsTitle.jsx in Extendify trunk, at src/Assist/components/dashboard/CardsTitle.jsx

23 lines 679 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 import { __ } from '@wordpress/i18n';
2
3 export const CardsTitle = ({ total = 8, totalCompleted = 3 }) => (
4 <div className="flex w-full items-center justify-between space-x-2 border-b border-gray-300 px-5 py-3.5 lg:px-6">
5 <span className="text-base font-semibold">
6 {__('Site Guide', 'extendify-local')}
7 </span>
8 <div className="flex w-3/5 items-center gap-2">
9 <div className="h-2.5 w-full rounded-xl bg-gray-300">
10 <div
11 className="h-2.5 rounded-xl bg-design-main"
12 style={{
13 width: `${100 / (total / totalCompleted)}%`,
14 }}
15 ></div>
16 </div>
17 <div className="text-xs text-gray-700">
18 {totalCompleted}/{total}
19 </div>
20 </div>
21 </div>
22 );
23