Skip to content

Commit

Permalink
Feat: aboutPage works
Browse files Browse the repository at this point in the history
  • Loading branch information
AdrianBalunan committed Apr 21, 2026
1 parent 23f53a9 commit ec8c933
Show file tree
Hide file tree
Showing 4 changed files with 414 additions and 494 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
package ntnu.systemutvikling.team6.controller;

import javafx.fxml.FXML;
import ntnu.systemutvikling.team6.controller.components.BaseController;
import ntnu.systemutvikling.team6.controller.components.FooterController;
import ntnu.systemutvikling.team6.controller.components.NavbarController;

public class AboutPageController extends BaseController {
@FXML private NavbarController navbarController;
@FXML private FooterController footerController;

@Override
protected void authTokenisSet() {
navbarController.setAuthToken(authToken);
footerController.setAuthToken(authToken);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,13 @@
import ntnu.systemutvikling.team6.service.AuthenticationService;

public class FooterController extends BaseController {
@FXML private Button HelpMeHelp;
@FXML private Button aboutUsLink;


@FXML
public void switchToAboutPage(ActionEvent event) {
private void switchToAboutPage(ActionEvent event) {
System.out.println("Click!");
LoaderScene.LoadScene("aboutPage", event, null, null, authToken);
}
@FXML
public void switchToFrontPage(ActionEvent event) {
private void switchToFrontPage(ActionEvent event) {
System.out.println("Click!");
LoaderScene.LoadScene("frontPage", event, null, null, authToken);
}
Expand Down
Loading

0 comments on commit ec8c933

Please sign in to comment.