Add text
This commit is contained in:
parent
1dc95f0f72
commit
f00f738088
3 changed files with 18 additions and 23 deletions
|
@ -1,5 +1,9 @@
|
|||
import { z, defineCollection } from "astro:content";
|
||||
|
||||
const intro = defineCollection({
|
||||
type: "content",
|
||||
});
|
||||
|
||||
const confirmEmail = defineCollection({
|
||||
type: "content",
|
||||
schema: z.object({
|
||||
|
@ -17,6 +21,7 @@ const emailConfirmed = defineCollection({
|
|||
});
|
||||
|
||||
export const collections = {
|
||||
intro,
|
||||
confirmEmail,
|
||||
emailConfirmed,
|
||||
};
|
||||
|
|
7
src/content/intro/en.md
Normal file
7
src/content/intro/en.md
Normal file
|
@ -0,0 +1,7 @@
|
|||
**Vienna Insurance Group is the biggest insurer in Central and Eastern Europe and still considers supporting the fossil fuel industry**. With its zero restriction on giving insurance to oil and gas companies and light restriction on coal, VIG continues to fund fossil fuels and therefore accelerating climate change. So far. Right now, we hold the power to pressure VIG and insurers all around the world to adopt stricter policies and make a major move in helping the burning planet! Together, we have the power to call out Vienna Insurance Group with its 50 branches in 20 CEE countries, and demand change.
|
||||
|
||||
And now is the good time! Because this week is the Week of Action against insuring fossil fuels, by the Insure our Future network – tens of actions are happening worldwide. Join us to make voices from the CEE heard, and send an email to your local branch of Vienna Insurance Group in just a few clicks!
|
||||
|
||||
Insure our Future, not fossil fuels!
|
||||
|
||||
Down below, fill in your name, choose the branch you want to contact, and the specific concern you want to raise. Feel free to directly modify the text to make it more personal. If you are a client of this branch, tick the box! It's a very powerful argument to use
|
|
@ -7,11 +7,16 @@ import LetterBodyForm from "../../letter/LetterBodyForm.astro";
|
|||
import LetterOptionsForm from "../../letter/LetterOptionsForm.astro";
|
||||
import imgLogoVig from "../../assets/images/vig-logo.webp";
|
||||
import imgBanknotes from "../../assets/images/banknotes.webp";
|
||||
import { getEntries, getEntry } from "astro:content";
|
||||
|
||||
export { getStaticPaths } from "../../static-paths";
|
||||
|
||||
const { lang } = Astro.params;
|
||||
const t = makeT(lang);
|
||||
|
||||
const entry = (await getEntry("intro", lang)) ?? (await getEntry("intro", "en"));
|
||||
const { Content } = await entry.render();
|
||||
|
||||
const branches = await db
|
||||
.selectFrom("branches")
|
||||
.where("language", "=", lang)
|
||||
|
@ -43,29 +48,7 @@ const branches = await db
|
|||
{t`Tell your local branch of Vienna Insurance Group to stop supporting fossil fuel`}
|
||||
</h1>
|
||||
<div class="text-xl prose">
|
||||
<p>
|
||||
<strong>
|
||||
{
|
||||
t`Vienna Insurance Group is the biggest insurer in Central and Eastern Europe and still considers supporting the fossil fuel industry.`
|
||||
}
|
||||
</strong>{" "}
|
||||
{
|
||||
t`With its zero restriction on giving insurance to oil and gas companies and light restriction on coal, VIG continues to fund fossil fuels and therefore accelerating climate change. So far. Right now, we hold the power to pressure VIG and insurers all around the world to adopt stricter policies and make a major move in helping the burning planet! Together, we have the power to call out Vienna Insurance Group with its 50 branches in 20 CEE countries, and demand change.`
|
||||
}
|
||||
</p>
|
||||
<p>
|
||||
{
|
||||
t`And now is the good time! Because this week is the Week of Action against insuring fossil fuels, by the Insure our Future network – tens of actions are happening worldwide. Join us to make voices from the CEE heard, and send an email to your local branch of Vienna Insurance Group in just a few clicks!`
|
||||
}
|
||||
</p>
|
||||
<p>
|
||||
{t`Insure our Future, not fossil fuels!`}
|
||||
</p>
|
||||
<p>
|
||||
{
|
||||
t`Down below, fill in your name, choose the branch you want to contact, and the specific concern you want to raise. Feel free to directly modify the text to make it more personal. If you are a client of this branch, tick the box! It's a very powerful argument to use`
|
||||
}
|
||||
</p>
|
||||
<Content />
|
||||
</div>
|
||||
</div>
|
||||
<div class="hidden md:flex flex-col items-center gap-12">
|
||||
|
|
Reference in a new issue