diff --git a/src/assets/assets.ts b/src/assets/assets.ts index 7ed5932..ce2441c 100644 --- a/src/assets/assets.ts +++ b/src/assets/assets.ts @@ -10,6 +10,8 @@ const images = { 'https://res.cloudinary.com/xbu/image/upload/v1690907908/xbu_assets/patternpadWhite_cwhqna.svg', PageNotFound: 'https://res.cloudinary.com/xbu/image/upload/v1691664467/xbu_assets/page_not_found_rl8gve.svg', + NoData: + 'https://res.cloudinary.com/xbu/image/upload/v1708539494/xbu_assets/noData_gs71zg.svg', }; export const { @@ -19,4 +21,5 @@ export const { PatternPadBlack, PatternPadWhite, PageNotFound, + NoData, } = images; diff --git a/src/assets/noData.svg b/src/assets/noData.svg new file mode 100644 index 0000000..6cb45ef --- /dev/null +++ b/src/assets/noData.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/pages/Home.tsx b/src/pages/Home.tsx index 9ac5f36..ba10af6 100644 --- a/src/pages/Home.tsx +++ b/src/pages/Home.tsx @@ -106,7 +106,7 @@ export function Home() { bg: 'green.600', }} > - Ingresar + {!data ? 'Ingresar' : 'Perfil'} - + PUBLICACIONES @@ -107,7 +108,28 @@ export default function Profile() { )} ) : ( - Aún no hay publicaciones + + + + Aún no hay publicaciones + + )}