This commit is contained in:
Jottyfan
2023-03-18 20:31:55 +01:00
parent f415d99e9e
commit 695ffb418b
35 changed files with 2154 additions and 23 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 DatenschutzController {
/**
* load the datenschutz page
*
* @return the datenschutz page
*/
@GetMapping("/datenschutz")
public String getDatenschutz() {
return "/datenschutz";
}
}

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 ImpressumController {
/**
* load the impressum page
*
* @return the impresum page
*/
@GetMapping("/impressum")
public String getImpressum() {
return "/impressum";
}
}

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 KontaktController {
/**
* load the kontakt page
*
* @return the kontakt page
*/
@GetMapping("/kontakt")
public String getKontakt() {
return "/kontakt";
}
}

View File

@@ -0,0 +1,24 @@
package de.jottyfan.camporganizer.module.staticpages;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
/**
*
* @author jotty
*
*/
@Controller
public class ReportsController {
/**
* load the sub page
*
* @return the sub page
*/
@GetMapping("/reports/{subpage}")
public String getSubpage(@PathVariable("subpage") String subpage) {
return "/reports/" + subpage;
}
}

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 VereinController {
/**
* load the verein page
*
* @return the verein page
*/
@GetMapping("/verein")
public String getVerein() {
return "/verein";
}
}