forked from lukevella/rallly
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from verdigado/patch-templates
Patch for German Email Templates and Subjects
- Loading branch information
Showing
16 changed files
with
142 additions
and
66 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
"use client"; | ||
|
||
import { Alert, AlertDescription, AlertTitle } from "@rallly/ui/alert"; | ||
import { Button } from "@rallly/ui/button"; | ||
import { InfoIcon } from "lucide-react"; | ||
import { useState } from "react"; | ||
|
||
export function TermiteAlert() { | ||
const [showTermiteAlert, setShowTermiteAlert] = useState(true); | ||
|
||
if (!showTermiteAlert) { | ||
return null; | ||
} | ||
|
||
return ( | ||
<Alert className="mt-4" icon={InfoIcon}> | ||
<AlertTitle>Herzlich Willkommen bei der neuen Termite! 🎉</AlertTitle> | ||
<AlertDescription> | ||
<p className="mt-4"> | ||
Zum 02.09.2024 wurde die Termite aktualisiert. Eine Anleitung zur | ||
Nutzung der Termite 2.0 findet ihr{" "} | ||
<a | ||
className="text-link" | ||
href="https://netz.gruene.de/de/wissenswerk/2024-08/die-neue-termite" | ||
target="_blank" | ||
> | ||
hier | ||
</a> | ||
. | ||
</p> | ||
<p> | ||
Eure bisherigen Umfragen wurden archiviert. Ihr könnt sie noch bis zum | ||
15.09.2024{" "} | ||
<a href="https://framadate.gruene.verdigado.net/" target="_blank"> | ||
hier | ||
</a>{" "} | ||
einsehen und herunterladen. | ||
</p> | ||
<p className="mt-2"> | ||
Wir bitten euch, die Daten bei Bedarf zu sichern. Bei Fragen oder | ||
Feedback wendet euch gerne an <strong>[email protected]</strong>. | ||
</p> | ||
<div> | ||
<Button | ||
className="mt-4" | ||
variant="primary" | ||
onClick={() => setShowTermiteAlert(false)} | ||
> | ||
Ausblenden | ||
</Button> | ||
</div> | ||
</AlertDescription> | ||
</Alert> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.