Experimental 'leader' addition

This commit is contained in:
worldwidepixel 2024-06-02 19:15:16 -07:00
parent d7707def22
commit aa1218ca9a
2 changed files with 9 additions and 2 deletions

View file

@ -18,6 +18,7 @@
'short' => 'psf', 'short' => 'psf',
'short_description' => 'The first nation, prev. known as ROP.', 'short_description' => 'The first nation, prev. known as ROP.',
'description' => 'The first nation on CRSS, previously known as ROP.', 'description' => 'The first nation on CRSS, previously known as ROP.',
'leader' => 'iforgotaname',
), ),
'cnk' => array( 'cnk' => array(
'name' => 'Chunkia', 'name' => 'Chunkia',
@ -25,6 +26,7 @@
'short' => 'cnk', 'short' => 'cnk',
'short_description' => 'Chunkia is based in a chaotic landscape', 'short_description' => 'Chunkia is based in a chaotic landscape',
'description' => 'In the chaos of Minecraft, chunk errors are inevitable. Chunkia is based in one.', 'description' => 'In the chaos of Minecraft, chunk errors are inevitable. Chunkia is based in one.',
'leader' => 'WorldWidePixel',
), ),
'ttk' => array( 'ttk' => array(
'name' => 'The Toaster-Königreich', 'name' => 'The Toaster-Königreich',
@ -32,6 +34,7 @@
'short' => 'ttk', 'short' => 'ttk',
'short_description' => 'The Toaster-Königreich is the Industrialized Nation of CRSS', 'short_description' => 'The Toaster-Königreich is the Industrialized Nation of CRSS',
'description' => 'In the vast landsacpe of CRSS, The Toaster-Königreich is one of the most industrialized Marxist district of CRSS. With Charge Industries as one of the main government controlled company in the nation.', 'description' => 'In the vast landsacpe of CRSS, The Toaster-Königreich is one of the most industrialized Marxist district of CRSS. With Charge Industries as one of the main government controlled company in the nation.',
'leader' => 'Lupancham',
), ),
'rob' => array( 'rob' => array(
'name' => 'Republic of Budapest', 'name' => 'Republic of Budapest',
@ -39,6 +42,7 @@
'short' => 'rob', 'short' => 'rob',
'short_description' => 'Republic of Budapest is a country located to the west of the map.', 'short_description' => 'Republic of Budapest is a country located to the west of the map.',
'description' => 'Republic of Budapest is a country located to the west of the map.', 'description' => 'Republic of Budapest is a country located to the west of the map.',
'leader' => 'TheClashFruit',
) )
); );

View file

@ -14,6 +14,8 @@
<div class="nationCoreInfo"> <div class="nationCoreInfo">
<h2 style="margin: 0"> Description </h2> <h2 style="margin: 0"> Description </h2>
<p> {{ nation.description }} </p> <p> {{ nation.description }} </p>
<h2> Leader </h2>
<p> {{ nation.leader }} </p>
</div> </div>
</div> </div>
</main> </main>
@ -21,14 +23,15 @@
<style> <style>
/* TCF PLEASE MOVE THIS TO THE CORRECT CSS FILE, I AM TOO LAZY */ /* TCF PLEASE MOVE THIS TO THE CORRECT CSS FILE, I AM TOO LAZY */
@media (max-width: 800px) { @media (max-width: 700px) {
.nationLayout { .nationLayout {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
gap: 1rem;
} }
} }
@media (min-width: 801px) { @media (min-width: 701px) {
.nationLayout { .nationLayout {
display: flex; display: flex;
flex-direction: row; flex-direction: row;