mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2025-11-17 02:01:29 +10:00
fix(i18n): load translations from fs
This commit is contained in:
@ -9,7 +9,7 @@ type Statistic = {
|
||||
|
||||
export const StatisticsSection = () => {
|
||||
const stats: Statistic[] = [
|
||||
{ name: t`GitHub Stars`, value: 11800 },
|
||||
{ name: t`GitHub Stars`, value: 12800 },
|
||||
{ name: t`Users Signed Up`, value: 300000 },
|
||||
{ name: t`Resumes Generated`, value: 400000 },
|
||||
];
|
||||
@ -19,7 +19,7 @@ export const StatisticsSection = () => {
|
||||
<div className="mx-auto max-w-7xl px-6 lg:px-8">
|
||||
<dl className="grid grid-cols-1 gap-x-8 gap-y-16 text-center lg:grid-cols-3">
|
||||
{stats.map((stat, index) => (
|
||||
<div key={index} className="mx-auto flex max-w-xs flex-col gap-y-4">
|
||||
<div key={index} className="mx-auto flex max-w-xs flex-col gap-y-3">
|
||||
<dt className="text-base leading-7 opacity-60">{stat.name}</dt>
|
||||
<dd className="order-first text-3xl font-semibold tracking-tight sm:text-5xl">
|
||||
<Counter from={0} to={stat.value} />+
|
||||
|
||||
Reference in New Issue
Block a user