diff --git a/README.md b/README.md index d3faccf6..6d04b42d 100644 --- a/README.md +++ b/README.md @@ -18,6 +18,7 @@ You have complete control over what goes into your resume, how it looks, what co ## Table of Contents - [Reactive Resume](#reactive-resume) + - [Go to App | [Docs](https://docs.rxresu.me)](#go-to-app--docs) - [Table of Contents](#table-of-contents) - [Features](#features) - [Languages](#languages) @@ -26,6 +27,8 @@ You have complete control over what goes into your resume, how it looks, what co - [Contributing](#contributing) - [Report Bugs and Feature Requests](#report-bugs-and-feature-requests) - [Donations](#donations) + - [GitHub Sponsor](#github-sponsor) + - [PayPal](#paypal) - [Infrastructure](#infrastructure) - [Contributors Wall](#contributors-wall) - [License](#license) @@ -52,6 +55,7 @@ You have complete control over what goes into your resume, how it looks, what co ## Languages +- Amharic (አማርኛ) - Arabic (اَلْعَرَبِيَّةُ) - Bengali (বাংলা) - Bulgarian (български) diff --git a/client/config/languages.ts b/client/config/languages.ts index 5cabb82a..d2755fc9 100644 --- a/client/config/languages.ts +++ b/client/config/languages.ts @@ -2,10 +2,12 @@ export type Language = { code: string; name: string; localName?: string; + isRTL?: boolean; }; export const languages: Language[] = [ - { code: 'ar', name: 'Arabic', localName: 'اَلْعَرَبِيَّةُ' }, + { code: 'am', name: 'Amharic', localName: 'አማርኛ' }, + { code: 'ar', name: 'Arabic', localName: 'اَلْعَرَبِيَّةُ', isRTL: true }, { code: 'bg', name: 'Bulgarian', localName: 'български' }, { code: 'bn', name: 'Bengali', localName: 'বাংলা' }, { code: 'ca', name: 'Catalan', localName: 'Valencian' }, @@ -15,10 +17,10 @@ export const languages: Language[] = [ { code: 'el', name: 'Greek', localName: 'Ελληνικά' }, { code: 'en', name: 'English' }, { code: 'es', name: 'Spanish', localName: 'Español' }, - { code: 'fa', name: 'Persian', localName: 'فارسی' }, + { code: 'fa', name: 'Persian', localName: 'فارسی', isRTL: true }, { code: 'fi', name: 'Finnish', localName: 'Suomi' }, { code: 'fr', name: 'French', localName: 'Français' }, - { code: 'he', name: 'Hebrew', localName: 'Ivrit' }, + { code: 'he', name: 'Hebrew', localName: 'Ivrit', isRTL: true }, { code: 'hi', name: 'Hindi', localName: 'हिन्दी' }, { code: 'hu', name: 'Hungarian', localName: 'Magyar' }, { code: 'id', name: 'Indonesian', localName: 'Bahasa Indonesia' }, diff --git a/client/next-i18next.config.js b/client/next-i18next.config.js index 4d4d14da..2ce1be40 100644 --- a/client/next-i18next.config.js +++ b/client/next-i18next.config.js @@ -4,6 +4,7 @@ const i18nConfig = { i18n: { defaultLocale: 'en', locales: [ + 'am', 'ar', 'bg', 'bn', diff --git a/client/templates/Leafish/widgets/Masthead.tsx b/client/templates/Leafish/widgets/Masthead.tsx index 6876a15c..0e14841b 100644 --- a/client/templates/Leafish/widgets/Masthead.tsx +++ b/client/templates/Leafish/widgets/Masthead.tsx @@ -4,6 +4,7 @@ import { Theme } from '@reactive-resume/schema'; import get from 'lodash/get'; import isEmpty from 'lodash/isEmpty'; +import Markdown from '@/components/shared/Markdown'; import { useAppSelector } from '@/store/hooks'; import DataDisplay from '@/templates/shared/DataDisplay'; import { formatDateString } from '@/utils/date'; @@ -23,7 +24,9 @@ const Masthead: React.FC = () => {

{name}

{headline}

-

{summary}

+

+ {summary} +

{photo.visible && !isEmpty(photo.url) && ( diff --git a/client/wrappers/DateWrapper.tsx b/client/wrappers/DateWrapper.tsx index facb1eb7..b4b99d38 100644 --- a/client/wrappers/DateWrapper.tsx +++ b/client/wrappers/DateWrapper.tsx @@ -17,6 +17,7 @@ const DateWrapper: React.FC> = ({ children }) = dayjs.tz.setDefault('UTC'); // Locales + require('dayjs/locale/am'); require('dayjs/locale/ar'); require('dayjs/locale/bg'); require('dayjs/locale/bn');