diff --git a/apps/homepage-legacy/public/bicycle.svg b/apps/homepage-legacy/public/bicycle.svg new file mode 100644 index 0000000..f37c17d --- /dev/null +++ b/apps/homepage-legacy/public/bicycle.svg @@ -0,0 +1,2 @@ + + diff --git a/apps/homepage-legacy/public/detour-arrow.svg b/apps/homepage-legacy/public/detour-arrow.svg new file mode 100644 index 0000000..17fd65a --- /dev/null +++ b/apps/homepage-legacy/public/detour-arrow.svg @@ -0,0 +1,4 @@ + + + + diff --git a/apps/homepage-legacy/public/walk.svg b/apps/homepage-legacy/public/walk.svg new file mode 100644 index 0000000..d077fee --- /dev/null +++ b/apps/homepage-legacy/public/walk.svg @@ -0,0 +1,22 @@ + + + + + + + + + + diff --git a/apps/homepage-legacy/src/components/App.tsx b/apps/homepage-legacy/src/components/App.tsx index 901dfc5..61bf571 100644 --- a/apps/homepage-legacy/src/components/App.tsx +++ b/apps/homepage-legacy/src/components/App.tsx @@ -1,6 +1,7 @@ import { simplePie, simpleDoughnut } from "simple-pie"; import { SimplePie, SimpleDoughnut } from "react-simple-pie"; import { NetworkUseCase } from "./NetworkUseCase.tsx"; +import { DeprecationBanner } from "./DeprecationBanner.tsx"; import "./App.css"; function getRandomPieDataUri() { @@ -19,6 +20,7 @@ function getRandomPieDataUri() { export function App(): JSX.Element { return (
+

Network Graph Demo diff --git a/apps/homepage-legacy/src/components/DeprecationBanner.module.css b/apps/homepage-legacy/src/components/DeprecationBanner.module.css new file mode 100644 index 0000000..e502c10 --- /dev/null +++ b/apps/homepage-legacy/src/components/DeprecationBanner.module.css @@ -0,0 +1,41 @@ +.banner__wrapper { + display: flex; + justify-content: center; +} + +.banner { + background-color: #E36F2C; + border-radius: 28px; + font-size: 28px; + padding: 8px; + position: relative; + margin-bottom: 20px; +} + +.banner h3 { + margin: 0; +} + +.banner a { + white-space: nowrap; +} + +.banner a:after { + position: absolute; + content: ''; + inset: 0; +} + +.banner__inner { + border-radius: 24px; + border: 8px solid black; + padding: 8px 16px 16px; + text-align: center; +} + +.icon_container { + display: flex; + justify-content: center; + align-items: center; + gap: 20px; +} diff --git a/apps/homepage-legacy/src/components/DeprecationBanner.tsx b/apps/homepage-legacy/src/components/DeprecationBanner.tsx new file mode 100644 index 0000000..605a285 --- /dev/null +++ b/apps/homepage-legacy/src/components/DeprecationBanner.tsx @@ -0,0 +1,36 @@ +import style from "./DeprecationBanner.module.css"; + +export function DeprecationBanner() { + return ( +
+
+
+
+ bicycle + walking person +
+

DETOUR

+
+ detour-arrow +
+ The site is deprecated. Please visit our new site at + +
+
+
+ ); +}