diff --git a/src/components/Survey/index.tsx b/src/components/Survey/index.tsx index ed3d65d..d659237 100644 --- a/src/components/Survey/index.tsx +++ b/src/components/Survey/index.tsx @@ -7,9 +7,9 @@ type SurveyProps = { function Survey({ title, description, coverImageUrl }: SurveyProps) { return ( <> - cover + cover

{title}

-

{description}

+

{description}

); } diff --git a/src/screens/Home/index.tsx b/src/screens/Home/index.tsx index dba5949..465aaf6 100644 --- a/src/screens/Home/index.tsx +++ b/src/screens/Home/index.tsx @@ -41,12 +41,13 @@ const HomeScreen = (): JSX.Element => { return ( <> -
- Today - Monday, June 15 -
- {surveys.length > 0 && (
+
+

{new Date().toLocaleDateString('en-US', { weekday: 'long', month: 'long', day: 'numeric' })}

+

Today

+
+
)}