diff --git a/src/main/resources/static/css/businessesStyle.css b/src/main/resources/static/css/businessesStyle.css new file mode 100644 index 0000000000000000000000000000000000000000..b52eaf25fcc7f39db75493543e76437282c9574a --- /dev/null +++ b/src/main/resources/static/css/businessesStyle.css @@ -0,0 +1,13 @@ +body{ + background-color: rgb(41, 41, 41) +} +h3{ + color: wheat; +} +ul{ + list-style: none; +} +ul li{ + color: wheat; + list-style: none; +} \ No newline at end of file diff --git a/src/main/resources/templates/business-data.html b/src/main/resources/templates/business-data.html index b550c48c926c3faa3e00a506213ba37dfbba9bf1..97bec483fd9e18b76bef2e711696f75354e1fc7a 100644 --- a/src/main/resources/templates/business-data.html +++ b/src/main/resources/templates/business-data.html @@ -3,7 +3,9 @@ <head> <meta charset="UTF-8"> <title>Businesses</title> + <link rel="stylesheet" th:href="@{css\templatingstyle.css}"> </head> +<header th:insert="~{/towns/Templating.html::header}"></header> <body> <div id="container1"> <h2>Enter your Business information</h2> @@ -40,5 +42,5 @@ </form> </div> </body> - +<footer th:insert="~{/towns/Templating.html::footer}"></footer> </html> \ No newline at end of file diff --git a/src/main/resources/templates/businesses.html b/src/main/resources/templates/businesses.html index f0fcf1a6ff92fb7176a1e3c4a496f1aeba765aac..4dbaef65c21c9e163691e54d9d5653ceeca77122 100644 --- a/src/main/resources/templates/businesses.html +++ b/src/main/resources/templates/businesses.html @@ -3,17 +3,19 @@ <head> <meta charset="UTF-8"> <title>Businesses</title> - <link rel="stylesheet" href="../static/css/templatingstyle.css"> + <link rel="stylesheet" th:href="@{css\businessesStyle.css}"> + <link rel="stylesheet" th:href="@{css\templatingstyle.css}"> </head> +<header th:insert="~{/towns/Templating.html::header}"></header> <body> -<h1>Future Proof Businesses</h1> -<h1>Compete with Online Retailers</h1> -<h1>Drive Footfall to the high street</h1> -<h1>Increase Sales</h1> -<ul th:each="businesses:${business}"> - <li th:text="${businesses}"></li> +<h3>Future Proof Businesses</h3> +<h3>Compete with Online Retailers</h3> +<h3>Drive Footfall to the high street</h3> +<h3>Increase Sales</h3> +<ul th:each="business:${business}"> + <li th:text="${business}"></li> </ul> -<p>Businesses please enter here</p><button><a href="business-data.html" id="business">Login</a></button> +<button><a href="business-data.html" id="business">Businesses please enter here</a></button> </body> <footer th:insert="~{/towns/Templating.html::footer}"></footer> </html> \ No newline at end of file