From c444e4fea7003af85b74f7dd90aa2a0753f6fc29 Mon Sep 17 00:00:00 2001 From: "Kent Joseph T. Palima" Date: Sun, 3 May 2026 12:32:18 +0800 Subject: [PATCH] Modified order of blocks in Family part in mobile and desktop (final) --- .../family/{family_1.png => current_mems.png} | Bin .../family/{family_3.png => execomm.png} | Bin .../family/{family_2.png => notable_mems.png} | Bin src/components/Family/Family.astro | 92 +++++++++--------- src/components/Family/family.scss | 21 ++-- 5 files changed, 51 insertions(+), 62 deletions(-) rename src/assets/images/family/{family_1.png => current_mems.png} (100%) rename src/assets/images/family/{family_3.png => execomm.png} (100%) rename src/assets/images/family/{family_2.png => notable_mems.png} (100%) diff --git a/src/assets/images/family/family_1.png b/src/assets/images/family/current_mems.png similarity index 100% rename from src/assets/images/family/family_1.png rename to src/assets/images/family/current_mems.png diff --git a/src/assets/images/family/family_3.png b/src/assets/images/family/execomm.png similarity index 100% rename from src/assets/images/family/family_3.png rename to src/assets/images/family/execomm.png diff --git a/src/assets/images/family/family_2.png b/src/assets/images/family/notable_mems.png similarity index 100% rename from src/assets/images/family/family_2.png rename to src/assets/images/family/notable_mems.png diff --git a/src/components/Family/Family.astro b/src/components/Family/Family.astro index 4afc2fd..9c13302 100644 --- a/src/components/Family/Family.astro +++ b/src/components/Family/Family.astro @@ -1,25 +1,14 @@ --- -import family1 from '../../assets/images/family/family_1.png'; -import family2 from '../../assets/images/family/family_2.png'; -import family3 from '../../assets/images/family/family_3.png'; +import current_mems from '../../assets/images/family/current_mems.png'; +import notable_mems from '../../assets/images/family/notable_mems.png'; +import execomm from '../../assets/images/family/execomm.png'; ---

UP IECEP Family

\ No newline at end of file diff --git a/src/components/Family/family.scss b/src/components/Family/family.scss index b54603e..751dc3d 100644 --- a/src/components/Family/family.scss +++ b/src/components/Family/family.scss @@ -48,15 +48,9 @@ aspect-ratio: 25.375 / 18.125; position: relative; - &:nth-of-type(2) { - .cover, - .under { - background-color: $secondary; - } - } - - &:nth-of-type(4), - &:nth-of-type(6) { + &:nth-of-type(1), + &:nth-of-type(3), + &:nth-of-type(5) { .cover, .under { background-color: $secondary; @@ -266,12 +260,9 @@ } } - &:nth-of-type(1) { - order: 1; - } - &:nth-of-type(3) { - order: 2; - } + &:nth-of-type(1) { order: 2; } + &:nth-of-type(3) { order: 3; } + &:nth-of-type(5) { order: 1; } } } }