Skip to content

Commit

Permalink
Add 2 week ToS banner
Browse files Browse the repository at this point in the history
  • Loading branch information
ryangoree committed Oct 18, 2024
1 parent 78fc99b commit 825d5c7
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions apps/landing-page/src/App.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { InformationCircleIcon } from "@heroicons/react/16/solid";
import { RocketLaunchIcon } from "@heroicons/react/20/solid";
import { ReactElement } from "react";
import cornerLinesLeft from "src/assets/corner-lines-left.svg";
Expand All @@ -8,29 +9,30 @@ import { Navigation } from "src/ui/Navigation";
import { GitHubIcon } from "src/ui/svg/GitHubIcon";
import { Footer } from "./ui/Footer";

const SHOW_ANNOUNCEMENT_BANNER = false;
const ANNOUNCEMENT_BANNER_EXPIRY = new Date("07/18/2024");
const SHOW_ANNOUNCEMENT_BANNER = true;
const ANNOUNCEMENT_BANNER_EXPIRY = new Date("11/01/2024");

function App(): ReactElement {
return (
<>
{/* ANNOUNCEMENT BANNER */}
{SHOW_ANNOUNCEMENT_BANNER && new Date() < ANNOUNCEMENT_BANNER_EXPIRY && (
<div className="h-10 relative z-10 bg-black flex items-center justify-center text-[#cac8dc]">
<InformationCircleIcon className="w-4 mr-2" />
<p>
We&apos;ve updated our{" "}
<a
{/* <a
href="https://delv-public.s3.us-east-2.amazonaws.com/delv-privacy-policy.pdf"
className="text-[#71F8F8]"
target="_blank"
rel="noreferrer"
>
Privacy Policy
</a>{" "}
and{" "}
and{" "} */}
<a
href="https://delv-public.s3.us-east-2.amazonaws.com/delv-terms-of-service.pdf"
className="text-[#71F8F8]"
className="text-white hover:text-[#71F8F8] transition-all"
target="_blank"
rel="noreferrer"
>
Expand All @@ -52,7 +54,7 @@ function App(): ReactElement {
src={cornerLinesRight}
className="absolute bottom-0 right-0 opacity-20"
/>
<div className="max-w-6xl box-content box-content px-[4vw] mx-auto grid grid-cols-1 lg:grid-cols-[1.25fr_1fr] items-center py-10 md:pt-28 md:pb-40 gap-20 justify-items-center">
<div className="max-w-6xl box-content px-[4vw] mx-auto grid grid-cols-1 lg:grid-cols-[1.25fr_1fr] items-center py-10 md:pt-28 md:pb-40 gap-20 justify-items-center">
<div className="flex flex-col justify-center">
<h1 className="mb-6 text-6xl">
Build adaptable governance systems with{" "}
Expand Down

0 comments on commit 825d5c7

Please sign in to comment.