From a365f81de8a34182cac9fe2f2a22f7f536b9d352 Mon Sep 17 00:00:00 2001 From: AdrianBalunan Date: Wed, 15 Apr 2026 18:03:35 +0200 Subject: [PATCH] Feat: Tried to split navbar into a component with dedicated controller, also other compontens fall under compoennts --- .../src/main/resources/fxml/aboutPage.fxml | 72 +------------- .../fxml/available_organizations.fxml | 95 +------------------ .../resources/fxml/components/navbar.fxml | 89 +++++++++++++++++ .../{ => components}/organizationCard.fxml | 2 +- 4 files changed, 94 insertions(+), 164 deletions(-) create mode 100644 helpmehelpapplication/src/main/resources/fxml/components/navbar.fxml rename helpmehelpapplication/src/main/resources/fxml/{ => components}/organizationCard.fxml (97%) diff --git a/helpmehelpapplication/src/main/resources/fxml/aboutPage.fxml b/helpmehelpapplication/src/main/resources/fxml/aboutPage.fxml index 8e995428..26dfe910 100644 --- a/helpmehelpapplication/src/main/resources/fxml/aboutPage.fxml +++ b/helpmehelpapplication/src/main/resources/fxml/aboutPage.fxml @@ -32,76 +32,8 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + diff --git a/helpmehelpapplication/src/main/resources/fxml/components/navbar.fxml b/helpmehelpapplication/src/main/resources/fxml/components/navbar.fxml new file mode 100644 index 00000000..f3cca80f --- /dev/null +++ b/helpmehelpapplication/src/main/resources/fxml/components/navbar.fxml @@ -0,0 +1,89 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/helpmehelpapplication/src/main/resources/fxml/organizationCard.fxml b/helpmehelpapplication/src/main/resources/fxml/components/organizationCard.fxml similarity index 97% rename from helpmehelpapplication/src/main/resources/fxml/organizationCard.fxml rename to helpmehelpapplication/src/main/resources/fxml/components/organizationCard.fxml index 47ddc788..94cf11ff 100644 --- a/helpmehelpapplication/src/main/resources/fxml/organizationCard.fxml +++ b/helpmehelpapplication/src/main/resources/fxml/components/organizationCard.fxml @@ -6,7 +6,7 @@ - +