diff --git a/16-countries-page-from-api/src/main/resources/public/icons/back-svgrepo-com.svg b/16-countries-page-from-api/src/main/resources/public/icons/back-svgrepo-com.svg new file mode 100644 index 0000000..020e0b2 --- /dev/null +++ b/16-countries-page-from-api/src/main/resources/public/icons/back-svgrepo-com.svg @@ -0,0 +1,23 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/16-countries-page-from-api/src/main/resources/public/icons/half-moon-shape-svgrepo-com.svg b/16-countries-page-from-api/src/main/resources/public/icons/half-moon-shape-svgrepo-com.svg new file mode 100644 index 0000000..a1aade9 --- /dev/null +++ b/16-countries-page-from-api/src/main/resources/public/icons/half-moon-shape-svgrepo-com.svg @@ -0,0 +1,15 @@ + + + + + + + + \ No newline at end of file diff --git a/16-countries-page-from-api/src/main/resources/public/icons/search-svgrepo-com.svg b/16-countries-page-from-api/src/main/resources/public/icons/search-svgrepo-com.svg new file mode 100644 index 0000000..648171e --- /dev/null +++ b/16-countries-page-from-api/src/main/resources/public/icons/search-svgrepo-com.svg @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/16-countries-page-from-api/src/main/resources/public/output.css b/16-countries-page-from-api/src/main/resources/public/output.css index 43a843e..0f74e03 100644 --- a/16-countries-page-from-api/src/main/resources/public/output.css +++ b/16-countries-page-from-api/src/main/resources/public/output.css @@ -532,6 +532,21 @@ video { margin-bottom: 1rem; } +.mx-4 { + margin-left: 1rem; + margin-right: 1rem; +} + +.mx-5 { + margin-left: 1.25rem; + margin-right: 1.25rem; +} + +.mx-2 { + margin-left: 0.5rem; + margin-right: 0.5rem; +} + .mr-2 { margin-right: 0.5rem; } @@ -616,6 +631,10 @@ video { height: 2.25rem; } +.h-5 { + height: 1.25rem; +} + .w-16 { width: 4rem; } @@ -636,6 +655,38 @@ video { width: 5rem; } +.w-4 { + width: 1rem; +} + +.w-6 { + width: 1.5rem; +} + +.w-9 { + width: 2.25rem; +} + +.w-10 { + width: 2.5rem; +} + +.w-8 { + width: 2rem; +} + +.w-36 { + width: 9rem; +} + +.w-32 { + width: 8rem; +} + +.w-28 { + width: 7rem; +} + .flex-grow { flex-grow: 1; } @@ -698,6 +749,29 @@ video { row-gap: 2.5rem; } +.gap-x-2 { + -moz-column-gap: 0.5rem; + column-gap: 0.5rem; +} + +.gap-y-2 { + row-gap: 0.5rem; +} + +.gap-y-6 { + row-gap: 1.5rem; +} + +.gap-x-6 { + -moz-column-gap: 1.5rem; + column-gap: 1.5rem; +} + +.gap-x-3 { + -moz-column-gap: 0.75rem; + column-gap: 0.75rem; +} + .space-y-1 > :not([hidden]) ~ :not([hidden]) { --tw-space-y-reverse: 0; margin-top: calc(0.25rem * calc(1 - var(--tw-space-y-reverse))); diff --git a/16-countries-page-from-api/src/main/resources/templates/country.html b/16-countries-page-from-api/src/main/resources/templates/country.html index eaca234..ed0a45e 100644 --- a/16-countries-page-from-api/src/main/resources/templates/country.html +++ b/16-countries-page-from-api/src/main/resources/templates/country.html @@ -30,8 +30,16 @@ diff --git a/16-countries-page-from-api/src/main/resources/templates/index.html b/16-countries-page-from-api/src/main/resources/templates/index.html index fdeb2a7..dda44e6 100644 --- a/16-countries-page-from-api/src/main/resources/templates/index.html +++ b/16-countries-page-from-api/src/main/resources/templates/index.html @@ -24,7 +24,12 @@ class="bg-white h-20 flex flex-row justify-between items-center px-4 shadow-md" >

Where in the world?

-

Dark Mode

+
+ +

Dark Mode

+