Added some events and more categories
This commit is contained in:
@@ -26,7 +26,13 @@ defineProps<{
|
||||
'text-slate-900 bg-amber-300 hover:bg-amber-400': event.category === 'inauguration',
|
||||
'text-slate-900 bg-emerald-200 hover:bg-emerald-300': event.category === 'invention',
|
||||
'text-slate-900 bg-cyan-300 hover:bg-cyan-400': event.category === 'science',
|
||||
'text-slate-900 bg-yellow-100 hover:bg-yellow-200': event.category === 'bénédiction'
|
||||
'text-slate-900 bg-white hover:bg-yellow-200': event.category === 'bénédiction',
|
||||
'text-slate-900 bg-purple-200 hover:bg-purple-300': event.category === 'découverte',
|
||||
'text-slate-900 bg-indigo-200 hover:bg-indigo-300': event.category === 'exploration',
|
||||
'text-white bg-amber-600 hover:bg-amber-700': event.category === 'construction',
|
||||
'text-slate-900 bg-violet-200 hover:bg-violet-300': event.category === 'arcanologie',
|
||||
'text-white bg-rose-600 hover:bg-rose-700': event.category === 'criminalité',
|
||||
'text-white bg-stone-600 hover:bg-stone-700': event.category === 'scandale'
|
||||
}"
|
||||
>
|
||||
{{ event.title }}
|
||||
|
||||
@@ -32,7 +32,13 @@ const dateDifference: string = getRelativeString(defaultDate, props.event.date)
|
||||
'border-amber-800': event.category === 'inauguration',
|
||||
'border-green-800': event.category === 'invention',
|
||||
'border-cyan-800': event.category === 'science',
|
||||
'border-yellow-800': event.category === 'bénédiction'
|
||||
'border-slate-600': event.category === 'bénédiction',
|
||||
'border-purple-700': event.category === 'découverte',
|
||||
'border-indigo-700': event.category === 'exploration',
|
||||
'border-amber-700': event.category === 'construction',
|
||||
'border-violet-700': event.category === 'arcanologie',
|
||||
'border-rose-800': event.category === 'criminalité',
|
||||
'border-stone-700': event.category === 'scandale'
|
||||
}"
|
||||
>
|
||||
<div class="grid gap-1">
|
||||
@@ -104,7 +110,25 @@ const dateDifference: string = getRelativeString(defaultDate, props.event.date)
|
||||
.border-cyan-800 {
|
||||
background-color: color-mix(in srgb, var(--color-cyan-800), var(--color-slate-950) 85%);
|
||||
}
|
||||
.border-yellow-800 {
|
||||
background-color: color-mix(in srgb, var(--color-yellow-800), var(--color-slate-950) 85%);
|
||||
.border-slate-600 {
|
||||
background-color: color-mix(in srgb, var(--color-slate-600), var(--color-slate-950) 85%);
|
||||
}
|
||||
.border-purple-700 {
|
||||
background-color: color-mix(in srgb, var(--color-purple-700), var(--color-slate-950) 85%);
|
||||
}
|
||||
.border-indigo-700 {
|
||||
background-color: color-mix(in srgb, var(--color-indigo-700), var(--color-slate-950) 85%);
|
||||
}
|
||||
.border-amber-700 {
|
||||
background-color: color-mix(in srgb, var(--color-amber-700), var(--color-slate-950) 85%);
|
||||
}
|
||||
.border-violet-700 {
|
||||
background-color: color-mix(in srgb, var(--color-violet-700), var(--color-slate-950) 85%);
|
||||
}
|
||||
.border-rose-800 {
|
||||
background-color: color-mix(in srgb, var(--color-rose-800), var(--color-slate-950) 85%);
|
||||
}
|
||||
.border-stone-700 {
|
||||
background-color: color-mix(in srgb, var(--color-stone-700), var(--color-slate-950) 85%);
|
||||
}
|
||||
</style>
|
||||
|
||||
@@ -29,7 +29,13 @@ const { defaultDate, getFormattedDateTitle } = useCalendar()
|
||||
'text-slate-900 bg-amber-300 hover:bg-amber-400': event.category === 'inauguration',
|
||||
'text-slate-900 bg-emerald-200 hover:bg-emerald-300': event.category === 'invention',
|
||||
'text-slate-900 bg-cyan-300 hover:bg-cyan-400': event.category === 'science',
|
||||
'text-slate-900 bg-yellow-100 hover:bg-yellow-200': event.category === 'bénédiction'
|
||||
'text-slate-900 bg-white hover:bg-yellow-200': event.category === 'bénédiction',
|
||||
'text-slate-900 bg-purple-200 hover:bg-purple-300': event.category === 'découverte',
|
||||
'text-slate-900 bg-indigo-200 hover:bg-indigo-300': event.category === 'exploration',
|
||||
'text-white bg-amber-600 hover:bg-amber-700': event.category === 'construction',
|
||||
'text-slate-900 bg-violet-200 hover:bg-violet-300': event.category === 'arcanologie',
|
||||
'text-white bg-rose-600 hover:bg-rose-700': event.category === 'criminalité',
|
||||
'text-white bg-stone-600 hover:bg-stone-700': event.category === 'scandale'
|
||||
}"
|
||||
>
|
||||
<div class="flex gap-2 items-center">
|
||||
|
||||
@@ -174,6 +174,15 @@ export const charactersList: Character[] = [
|
||||
wiki: 'https://alexcreates.fr/leim/index.php/Räzal'
|
||||
},
|
||||
|
||||
// Legends
|
||||
{
|
||||
name: 'Jorhas Kirendre',
|
||||
birth: { day: 2, month: 9, year: -452 },
|
||||
death: { day: 2, month: 2, year: -419 },
|
||||
category: 'sentinelle',
|
||||
wiki: 'https://alexcreates.fr/leim/index.php/Jorhas_Kirendre'
|
||||
},
|
||||
|
||||
// "Les Milles Cages"
|
||||
{
|
||||
name: 'Ernestin Pomel',
|
||||
|
||||
@@ -2,6 +2,26 @@ import type { CalendarEvent } from '@/models/Events'
|
||||
|
||||
export const regularEvents: CalendarEvent[] = [
|
||||
// Histoire Antique
|
||||
{
|
||||
title: "Laurdieu devient la première cité de l'empire de Kaliatos",
|
||||
date: { day: 3, month: 4, year: -1932 },
|
||||
description:
|
||||
"L'empire de Kaliatos établi sa capitale dans la cité de Laurdieu, qui connaitra une prospérité nouvelle au sein d'Aldys.",
|
||||
category: 'législation',
|
||||
secondaryCategories: ['inauguration'],
|
||||
wiki: 'https://alexcreates.fr/leim/index.php/Laurdieu',
|
||||
hidden: true
|
||||
},
|
||||
{
|
||||
title: "Apparition d'Asménys",
|
||||
date: { day: 19, month: 7, year: -1358 },
|
||||
description:
|
||||
"La défunte chanteuse Asménys apparaît à un barde pendant son jeune public, démarrant la religion des Prêtresses d'Asménys.",
|
||||
category: 'religion',
|
||||
secondaryCategories: ['bénédiction'],
|
||||
wiki: 'https://alexcreates.fr/leim/index.php/Pr%C3%AAtresses_d%27Asm%C3%A9nys',
|
||||
hidden: true
|
||||
},
|
||||
{
|
||||
title: 'Exécution de Tyhos',
|
||||
date: { day: 1, month: 0, year: 0 },
|
||||
@@ -14,14 +34,52 @@ export const regularEvents: CalendarEvent[] = [
|
||||
},
|
||||
{
|
||||
title: 'Traité de Kadel',
|
||||
date: { day: 20, month: 4, year: 100 },
|
||||
date: { day: 29, month: 4, year: 100 },
|
||||
description: '',
|
||||
category: 'inauguration',
|
||||
secondaryCategories: ['législation'],
|
||||
wiki: 'https://alexcreates.fr/leim/index.php/Alliance_Kald%C3%A9lienne#Trait%C3%A9_de_Kadel'
|
||||
},
|
||||
{
|
||||
title: 'Découverte des Plaines de Poussières',
|
||||
date: { day: 17, month: 7, year: 305 },
|
||||
description:
|
||||
"Les troupes de la reconquête aldienne explorent le littoral d'une immense étendue grise et inerte.",
|
||||
category: 'découverte',
|
||||
secondaryCategories: ['exploration'],
|
||||
wiki: 'https://alexcreates.fr/leim/index.php/Plaines_de_poussi%C3%A8re',
|
||||
hidden: true
|
||||
},
|
||||
{
|
||||
title: 'Début de la construction du Rempart de Laurdieu',
|
||||
date: { day: 30, month: 2, year: 340 },
|
||||
description:
|
||||
"Le Grand Conseil Kaldélien ordonne la construction d'une muraille autour des Plaines de Poussières, afin de contenir les quelques démons y sortant.",
|
||||
category: 'construction',
|
||||
wiki: 'https://alexcreates.fr/leim/index.php/Plaines_de_poussi%C3%A8re',
|
||||
hidden: true
|
||||
},
|
||||
{
|
||||
title: 'Finition du Rempart de Laurdieu',
|
||||
date: { day: 27, month: 9, year: 355 },
|
||||
description:
|
||||
"Les terramanciens kaldéliens terminent les remparts protégeant l'alliance des démons des Plaines de Poussières.",
|
||||
category: 'construction',
|
||||
secondaryCategories: ['inauguration'],
|
||||
wiki: 'https://alexcreates.fr/leim/index.php/Plaines_de_poussi%C3%A8re',
|
||||
hidden: true
|
||||
},
|
||||
|
||||
// Histoire Récente
|
||||
{
|
||||
title: "Inauguration de l'Académie Artistique Arcanique",
|
||||
date: { day: 11, month: 6, year: 2545 },
|
||||
description:
|
||||
"Scäd Sceni ouvre son institut artistique dédié à l'apprentissage des arts arcaniques",
|
||||
category: 'inauguration',
|
||||
secondaryCategories: ['arcanologie'],
|
||||
wiki: 'https://alexcreates.fr/leim/index.php/Buse_(arme)'
|
||||
},
|
||||
{
|
||||
title: 'Création de la buse kaldélienne',
|
||||
date: { day: 4, month: 2, year: 3113 },
|
||||
@@ -31,6 +89,15 @@ export const regularEvents: CalendarEvent[] = [
|
||||
secondaryCategories: ['science'],
|
||||
wiki: 'https://alexcreates.fr/leim/index.php/Buse_(arme)'
|
||||
},
|
||||
{
|
||||
title: 'Scandale Rodhus',
|
||||
date: { day: 25, month: 9, year: 3208 },
|
||||
description:
|
||||
"Tivian Rodhus, un professeur estimé de l'Académie Centrale Kaldélienne, est emprisonné pour corruption et aggression sexuelle. Le corps enseignant y est remanié sur ordre de Lazarus Tymos, comte de Nacride.",
|
||||
category: 'criminalité',
|
||||
secondaryCategories: ['scandale'],
|
||||
wiki: 'https://alexcreates.fr/leim/index.php/Tivian_Rodhus'
|
||||
},
|
||||
|
||||
// "Les Milles Cages"
|
||||
{
|
||||
|
||||
@@ -21,8 +21,14 @@ export const calendarEventCategories = [
|
||||
'invention',
|
||||
'science',
|
||||
'bénédiction',
|
||||
'joueurs'
|
||||
]
|
||||
'joueurs',
|
||||
'découverte',
|
||||
'exploration',
|
||||
'construction',
|
||||
'arcanologie',
|
||||
'criminalité',
|
||||
'scandale'
|
||||
] as const
|
||||
|
||||
export type CalendarEventCategory = (typeof calendarEventCategories)[number]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user