Experimental 'leader' addition
All checks were successful
Upload Website / sftp (push) Successful in 15s

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_description' => 'The first nation, prev. known as ROP.',
'description' => 'The first nation on CRSS, previously known as ROP.',
'leader' => 'iforgotaname',
),
'cnk' => array(
'name' => 'Chunkia',
@ -25,6 +26,7 @@
'short' => 'cnk',
'short_description' => 'Chunkia is based in a chaotic landscape',
'description' => 'In the chaos of Minecraft, chunk errors are inevitable. Chunkia is based in one.',
'leader' => 'WorldWidePixel',
),
'ttk' => array(
'name' => 'The Toaster-Königreich',
@ -32,6 +34,7 @@
'short' => 'ttk',
'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.',
'leader' => 'Lupancham',
),
'rob' => array(
'name' => 'Republic of Budapest',
@ -39,6 +42,7 @@
'short' => 'rob',
'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.',
'leader' => 'TheClashFruit',
)
);

View file

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