diff --git a/package-lock.json b/package-lock.json index 0dca95bc9..6c9fae64b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,7 +9,7 @@ "version": "0.1.0", "hasInstallScript": true, "dependencies": { - "@eleven-labs/design-system": "^0.24.0", + "@eleven-labs/design-system": "^0.26.2", "@remix-run/router": "^1.7.2", "algoliasearch": "^4.19.1", "classnames": "^2.3.2", @@ -3088,16 +3088,15 @@ } }, "node_modules/@eleven-labs/design-system": { - "version": "0.24.0", - "resolved": "https://registry.npmjs.org/@eleven-labs/design-system/-/design-system-0.24.0.tgz", - "integrity": "sha512-qGlCH60WiAaEFNfGUZC9DxWb3t3RlsTWT/yy4Vs/bcmmYIdfM7NegjKnWyNl+2TVh8pNQDkCXYkuxqSBiwbMVg==", + "version": "0.26.2", + "resolved": "https://registry.npmjs.org/@eleven-labs/design-system/-/design-system-0.26.2.tgz", + "integrity": "sha512-N6odtpeUd57PL9h0OrBbZtrD+qlGO55DOwaPXCDioHPz8lZQNEKSyaEFP4Oqh15jZZnWD8eaEolMNqmJ/cShnw==", "dependencies": { "autosuggest-highlight": "^3.3.4", "classnames": "^2.3.2", "copy-to-clipboard": "^3.3.3", "downshift": "^8.3.1", "react-polymorphed": "^2.2.1", - "react-share": "^5.0.3", "react-syntax-highlighter": "^15.5.0" }, "engines": { @@ -3108,18 +3107,6 @@ "react-dom": "^18.2.0" } }, - "node_modules/@eleven-labs/design-system/node_modules/react-share": { - "version": "5.0.3", - "resolved": "https://registry.npmjs.org/react-share/-/react-share-5.0.3.tgz", - "integrity": "sha512-8BFkzfd8zNrO6JMP4Dwrt2sTSrRGQ9bNrU3K0riAwRJe4U/Z8/ryjKuhP2jLoHsfxj38MsPuyEQiVlIHVIICvw==", - "dependencies": { - "classnames": "^2.3.2", - "jsonp": "^0.2.1" - }, - "peerDependencies": { - "react": "^17 || ^18" - } - }, "node_modules/@elevenlabs/eslint-config": { "version": "0.0.1", "resolved": "https://registry.npmjs.org/@elevenlabs/eslint-config/-/eslint-config-0.0.1.tgz", diff --git a/package.json b/package.json index 541c1df45..694eea0b0 100644 --- a/package.json +++ b/package.json @@ -27,7 +27,7 @@ "node": ">= 20.0" }, "dependencies": { - "@eleven-labs/design-system": "^0.24.0", + "@eleven-labs/design-system": "^0.26.2", "@remix-run/router": "^1.7.2", "algoliasearch": "^4.19.1", "classnames": "^2.3.2", diff --git a/src/assets/imgs/cover-article.jpg b/src/assets/imgs/cover-article.jpg new file mode 100644 index 000000000..9ab73e361 Binary files /dev/null and b/src/assets/imgs/cover-article.jpg differ diff --git a/src/containers/AuthorPageContainer/useAuthorPageContainer.tsx b/src/containers/AuthorPageContainer/useAuthorPageContainer.tsx index fa192e086..11fe0cd88 100644 --- a/src/containers/AuthorPageContainer/useAuthorPageContainer.tsx +++ b/src/containers/AuthorPageContainer/useAuthorPageContainer.tsx @@ -7,7 +7,6 @@ import { useLoaderData, useParams } from 'react-router-dom'; import { blogUrl } from '@/config/website'; import { DEFAULT_LANGUAGE, PATHS } from '@/constants'; import { PostCardListContainer, PostCardListContainerProps } from '@/containers/PostCardListContainer'; -import { getPathFile } from '@/helpers/assetHelper'; import { generatePath } from '@/helpers/routerHelper'; import { useNewsletterCard } from '@/hooks/useNewsletterCard'; import { useTitle } from '@/hooks/useTitle'; @@ -65,7 +64,6 @@ export const useAuthorPageContainer = (): AuthorPageProps | undefined => { }), content:
, }, - emptyAvatarImageUrl: getPathFile('/imgs/astronaut.png'), title: t('pages.author.post_list_title'), postCardList: (