From 280aa8db815e349462a3c601b0ade5471f2f73c3 Mon Sep 17 00:00:00 2001 From: Purna Shrestha Date: Fri, 20 Oct 2023 01:20:49 +0545 Subject: [PATCH] Optimize the code and the better file storage --- style.css => assets/css/style.css | 18 ++-- .../images/4x/logo.webp | Bin .../images/4x/typography_logo.webp | Bin .../images}/Awareness.webp | Bin .../images}/Businesses.webp | Bin .../images}/Countries/Bhutan.webp | Bin .../images}/Countries/Hong_Kong.webp | Bin .../images}/Countries/India.webp | Bin .../images}/Countries/Indonesia.webp | Bin .../images}/Countries/Malaysia.webp | Bin .../images}/Countries/Maldives.webp | Bin .../images}/Countries/Nepal.webp | Bin .../images}/Countries/Sri_Lanka.webp | Bin .../images}/Countries/Thailand.webp | Bin .../For_Website => assets/images}/Event.webp | Bin .../images}/Individual.webp | Bin .../images}/Logo-PhotoRoom.png-PhotoRoom.webp | Bin .../For_Website => assets/images}/Reach.webp | Bin .../For_Website => assets/images}/School.webp | Bin .../For_Website => assets/images}/Target.webp | Bin ...ands-holding-caring-young-green-plant.webp | Bin .../images}/donation.webp | Bin index.html | 102 ++++++------------ 23 files changed, 42 insertions(+), 78 deletions(-) rename style.css => assets/css/style.css (95%) rename images/For_Website/4x/Asset 4@4x.webp => assets/images/4x/logo.webp (100%) rename images/For_Website/4x/Website_name.webp => assets/images/4x/typography_logo.webp (100%) rename {images/For_Website => assets/images}/Awareness.webp (100%) rename {images/For_Website => assets/images}/Businesses.webp (100%) rename {images/For_Website => assets/images}/Countries/Bhutan.webp (100%) rename {images/For_Website => assets/images}/Countries/Hong_Kong.webp (100%) rename {images/For_Website => assets/images}/Countries/India.webp (100%) rename {images/For_Website => assets/images}/Countries/Indonesia.webp (100%) rename {images/For_Website => assets/images}/Countries/Malaysia.webp (100%) rename {images/For_Website => assets/images}/Countries/Maldives.webp (100%) rename {images/For_Website => assets/images}/Countries/Nepal.webp (100%) rename {images/For_Website => assets/images}/Countries/Sri_Lanka.webp (100%) rename {images/For_Website => assets/images}/Countries/Thailand.webp (100%) rename {images/For_Website => assets/images}/Event.webp (100%) rename {images/For_Website => assets/images}/Individual.webp (100%) rename {images/For_Website => assets/images}/Logo-PhotoRoom.png-PhotoRoom.webp (100%) rename {images/For_Website => assets/images}/Reach.webp (100%) rename {images/For_Website => assets/images}/School.webp (100%) rename {images/For_Website => assets/images}/Target.webp (100%) rename {images/For_Website => assets/images}/child-hands-holding-caring-young-green-plant.webp (100%) rename {images/For_Website => assets/images}/donation.webp (100%) diff --git a/style.css b/assets/css/style.css similarity index 95% rename from style.css rename to assets/css/style.css index d28f6d8..e8a8078 100644 --- a/style.css +++ b/assets/css/style.css @@ -1,3 +1,9 @@ +@import url("https://fonts.googleapis.com/css2?family=Ysabeau:wght@500&display=swap"); +@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400&display=swap"); +@import url("https://fonts.googleapis.com/css2?family=Archivo+Black&display=swap"); +@import url("https://fonts.googleapis.com/css2?family=Oswald:wght@700&display=swap"); +@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300&display=swap"); + * { scroll-behavior: smooth; } @@ -56,7 +62,7 @@ html { bottom: 0; height: 100vh; background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(29, 29, 29, 0.6)), - url("images/For_Website/child-hands-holding-caring-young-green-plant.webp"); + url("../images/child-hands-holding-caring-young-green-plant.webp"); background-size: cover; background-repeat: no-repeat; background-attachment: fixed; @@ -304,7 +310,7 @@ nav .nav_buttons { height: 60vh; background-image: linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)), - url(images/For_Website/Event.webp); + url(../images/Event.webp); background-size: cover; background-repeat: no-repeat; background-attachment: fixed; @@ -450,19 +456,19 @@ nav .nav_buttons { .get_involved #_1 { background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), - url("images/For_Website/Individual.webp"); + url("../images/Individual.webp"); background-size: cover; } .get_involved #_2 { background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), - url("images/For_Website/Businesses.webp"); + url("../images/Businesses.webp"); background-size: cover; } .get_involved #_3 { background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), - url("images/For_Website/School.webp"); + url("../images/School.webp"); background-size: cover; } @@ -470,7 +476,7 @@ nav .nav_buttons { /* height: 60vh; */ padding: 10vh 0px; background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), - url("images/For_Website/donation.webp"); + url("../images/donation.webp"); background-size: cover; background-attachment: fixed; diff --git a/images/For_Website/4x/Asset 4@4x.webp b/assets/images/4x/logo.webp similarity index 100% rename from images/For_Website/4x/Asset 4@4x.webp rename to assets/images/4x/logo.webp diff --git a/images/For_Website/4x/Website_name.webp b/assets/images/4x/typography_logo.webp similarity index 100% rename from images/For_Website/4x/Website_name.webp rename to assets/images/4x/typography_logo.webp diff --git a/images/For_Website/Awareness.webp b/assets/images/Awareness.webp similarity index 100% rename from images/For_Website/Awareness.webp rename to assets/images/Awareness.webp diff --git a/images/For_Website/Businesses.webp b/assets/images/Businesses.webp similarity index 100% rename from images/For_Website/Businesses.webp rename to assets/images/Businesses.webp diff --git a/images/For_Website/Countries/Bhutan.webp b/assets/images/Countries/Bhutan.webp similarity index 100% rename from images/For_Website/Countries/Bhutan.webp rename to assets/images/Countries/Bhutan.webp diff --git a/images/For_Website/Countries/Hong_Kong.webp b/assets/images/Countries/Hong_Kong.webp similarity index 100% rename from images/For_Website/Countries/Hong_Kong.webp rename to assets/images/Countries/Hong_Kong.webp diff --git a/images/For_Website/Countries/India.webp b/assets/images/Countries/India.webp similarity index 100% rename from images/For_Website/Countries/India.webp rename to assets/images/Countries/India.webp diff --git a/images/For_Website/Countries/Indonesia.webp b/assets/images/Countries/Indonesia.webp similarity index 100% rename from images/For_Website/Countries/Indonesia.webp rename to assets/images/Countries/Indonesia.webp diff --git a/images/For_Website/Countries/Malaysia.webp b/assets/images/Countries/Malaysia.webp similarity index 100% rename from images/For_Website/Countries/Malaysia.webp rename to assets/images/Countries/Malaysia.webp diff --git a/images/For_Website/Countries/Maldives.webp b/assets/images/Countries/Maldives.webp similarity index 100% rename from images/For_Website/Countries/Maldives.webp rename to assets/images/Countries/Maldives.webp diff --git a/images/For_Website/Countries/Nepal.webp b/assets/images/Countries/Nepal.webp similarity index 100% rename from images/For_Website/Countries/Nepal.webp rename to assets/images/Countries/Nepal.webp diff --git a/images/For_Website/Countries/Sri_Lanka.webp b/assets/images/Countries/Sri_Lanka.webp similarity index 100% rename from images/For_Website/Countries/Sri_Lanka.webp rename to assets/images/Countries/Sri_Lanka.webp diff --git a/images/For_Website/Countries/Thailand.webp b/assets/images/Countries/Thailand.webp similarity index 100% rename from images/For_Website/Countries/Thailand.webp rename to assets/images/Countries/Thailand.webp diff --git a/images/For_Website/Event.webp b/assets/images/Event.webp similarity index 100% rename from images/For_Website/Event.webp rename to assets/images/Event.webp diff --git a/images/For_Website/Individual.webp b/assets/images/Individual.webp similarity index 100% rename from images/For_Website/Individual.webp rename to assets/images/Individual.webp diff --git a/images/For_Website/Logo-PhotoRoom.png-PhotoRoom.webp b/assets/images/Logo-PhotoRoom.png-PhotoRoom.webp similarity index 100% rename from images/For_Website/Logo-PhotoRoom.png-PhotoRoom.webp rename to assets/images/Logo-PhotoRoom.png-PhotoRoom.webp diff --git a/images/For_Website/Reach.webp b/assets/images/Reach.webp similarity index 100% rename from images/For_Website/Reach.webp rename to assets/images/Reach.webp diff --git a/images/For_Website/School.webp b/assets/images/School.webp similarity index 100% rename from images/For_Website/School.webp rename to assets/images/School.webp diff --git a/images/For_Website/Target.webp b/assets/images/Target.webp similarity index 100% rename from images/For_Website/Target.webp rename to assets/images/Target.webp diff --git a/images/For_Website/child-hands-holding-caring-young-green-plant.webp b/assets/images/child-hands-holding-caring-young-green-plant.webp similarity index 100% rename from images/For_Website/child-hands-holding-caring-young-green-plant.webp rename to assets/images/child-hands-holding-caring-young-green-plant.webp diff --git a/images/For_Website/donation.webp b/assets/images/donation.webp similarity index 100% rename from images/For_Website/donation.webp rename to assets/images/donation.webp diff --git a/index.html b/index.html index 36e130b..a086b63 100644 --- a/index.html +++ b/index.html @@ -6,41 +6,6 @@ Tree2Hope - - - - - - - - - - - - - - - - - - - - - - - + + + @@ -195,21 +153,21 @@
- +
TARGET

Planting 1 million trees worldwide within the next 3 years.
- +
REACH

Expanding tree planting efforts to 30+ countries across the world.
- +
EDUCATION AND AWARENESS

Raising awareness about the importance of tree planting through educational programs,