Cosmetic changes.

This commit is contained in:
etc404
2026-03-11 19:21:29 -06:00
parent 0a593c0491
commit 738c6970dd
5 changed files with 37 additions and 41 deletions
@@ -18,7 +18,7 @@ public class SecurityConfig {
public SecurityFilterChain securityFilterChain(HttpSecurity http) throws Exception {
http
.authorizeHttpRequests(auth -> auth
.requestMatchers("/login", "/register", "/css/**").permitAll()
.requestMatchers("/login", "/register", "/css/**", "/images/**").permitAll()
.anyRequest().authenticated()
)
.formLogin(form -> form
@@ -74,7 +74,7 @@ body, html {
}
.login-box rows {
.login-box .rows {
display: flex;
gap: 10px;
align-items: center;
@@ -8,10 +8,9 @@
<body>
<header class="top-header">
<img src="images/header_left.png" alt="Violin f-hole shape to the left of header." class="swirl">
<img th:src="@{images/header_left.png}" alt="Violin f-hole shape to the left of header." class="swirl">
<h1 class="site-name">Thyme Crunch</h1>
<img src="images/header_right.png" alt="Violin f-hole shape to the right of header." class="swirl">
<img th:src="@{images/header_right.png}" alt="Violin f-hole shape to the right of header." class="swirl">
</header>
<!-- Main Content -->
@@ -20,7 +19,6 @@
<h2>Create Account</h2>
<form id="createUserForm">
<div class="rows">
<label for="username">Username</label>
<input type="text" id="username" required>
@@ -40,11 +38,9 @@
<p id="passwordError"></p>
<button type="submit">Create</button>
</form>
</div>
</main>
</div>
</body>
</html>
+2 -2
View File
@@ -8,9 +8,9 @@
<body>
<header class="top-header">
<img src="images/header_left.png" alt="Violin f-hole shape to the left of header." class="swirl">
<img th:src="@{images/header_left.png}" alt="Violin f-hole shape to the left of header." class="swirl">
<h1 class="site-name">Thyme Crunch</h1>
<img src="images/header_right.png" alt="Violin f-hole shape to the right of header." class="swirl">
<img th:src="@{images/header_right.png}" alt="Violin f-hole shape to the right of header." class="swirl">
</header>
<div class="container">
+2 -2
View File
@@ -8,9 +8,9 @@
<body>
<header class="top-header">
<img src="images/header_left.png" alt="Violin f-hole shape to the left of header." class="swirl">
<img th:src="@{images/header_left.png}" alt="Violin f-hole shape to the left of header." class="swirl">
<h1 class="site-name">Thyme Crunch</h1>
<img src="images/header_right.png" alt="Violin f-hole shape to the right of header." class="swirl">
<img th:src="@{images/header_right.png}" alt="Violin f-hole shape to the right of header." class="swirl">
</header>