Skip to content

Commit

Permalink
remove domain expiration message
Browse files Browse the repository at this point in the history
  • Loading branch information
Lamarcke committed May 7, 2023
1 parent 33181b0 commit aa89cab
Showing 1 changed file with 1 addition and 24 deletions.
25 changes: 1 addition & 24 deletions src/components/search/SearchGreeting.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,35 +39,12 @@ export default function SearchGreeting() {
}
};

const expirationDate = new Date("2023-03-28T23:59:59Z");

return (
<div className="d-flex flex-wrap justify-content-center">
<div className="break" />
<p className="greeting-text text-center mt-2">
<Trans
i18nKey="atenoEstamosMigrandoParaUmNovoDominoNossoDomnioSit"
ns="search"
components={{
s: <strong />,
s2: <strong />,
b: <br />,
}}
/>
<span>
<strong>
{expirationDate.toLocaleString(
new Intl.Locale(i18n.language)
)}
</strong>
</span>
{renderGreetingMessage()}
</p>
<Break />
<span className="greeting-text mb-3">
{t("search:atualizeSeusFavoritos")}{" "}
<a href="https://bibliomar.com">bibliomar.com</a>
</span>
<div className="break" />
</div>
);
}

0 comments on commit aa89cab

Please sign in to comment.