basic #36 done, just some menu refactoring left for the internal pages

This commit is contained in:
Jottyfan
2023-03-18 23:36:10 +01:00
parent 695ffb418b
commit 821b347fdb
40 changed files with 247 additions and 2041 deletions

View File

@@ -0,0 +1,23 @@
package de.jottyfan.camporganizer.module.staticpages;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
/**
*
* @author jotty
*
*/
@Controller
public class AllgemeinesController {
/**
* load the allgemeines page
*
* @return the allgemeines page
*/
@GetMapping("/allgemeines")
public String getAllgemeines() {
return "/allgemeines";
}
}

View File

@@ -0,0 +1,18 @@
package de.jottyfan.camporganizer.module.staticpages;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
/**
*
* @author jotty
*
*/
@Controller
public class IndexController {
@GetMapping("/")
public String getIndex() {
return "/index";
}
}