welcome: username error handling (#75)

* username error handling welcome ui

* added short username check with separate error handling function

* nothing happaned here

* added username error handling, form saves info

* pull75 fixes

* pull75 fixes ui

* CSS change

* separate css for errors, added logic for several type of errors

* rename extractErrorMessage

* validation changes

* added validations in api

* changed rendering template, recives errors in JSON format

* rolled back schema and makefile in kratos

* changes in HTML

* combined kratos and manual validations

* fixed rendering and handling JSON error response

* rollback unused index.html

* minor fixes

* refactored the repeated logic of Errors into a separate function

* rollback

* refactor: group errors and form data together

* rollback picocss version

* use picocss 2.0.6

---------

Co-authored-by: Giorgi Lekveishvili <lekva@gl-mbp-m1-max.local>
diff --git a/core/auth/ui/Makefile b/core/auth/ui/Makefile
index 53f7525..f3b9b63 100644
--- a/core/auth/ui/Makefile
+++ b/core/auth/ui/Makefile
@@ -1,3 +1,6 @@
+repo_name ?= dtabidze
+podman ?= docker
+
 clean:
 	rm -f server server_*
 
@@ -19,15 +22,15 @@
 	go build -o server_amd64 *.go
 
 push_arm64: clean build_arm64
-	podman build --platform linux/arm64 --tag=giolekva/auth-ui:arm64 .
-	podman push giolekva/auth-ui:arm64
+	$(podman) build --platform linux/arm64 --tag=$(repo_name)/auth-ui:arm64 .
+	$(podman) push $(repo_name)/auth-ui:arm64
 
 push_amd64: clean build_amd64
-	podman build --platform linux/amd64 --tag=giolekva/auth-ui:amd64 .
-	podman push giolekva/auth-ui:amd64
+	$(podman) build --platform linux/amd64 --tag=$(repo_name)/auth-ui:amd64 .
+	$(podman) push $(repo_name)/auth-ui:amd64
 
 
 push: push_arm64 push_amd64
-	podman manifest create giolekva/auth-ui:latest giolekva/auth-ui:arm64 giolekva/auth-ui:amd64
-	podman manifest push giolekva/auth-ui:latest docker://docker.io/giolekva/auth-ui:latest
-	podman manifest rm giolekva/auth-ui:latest
+	$(podman) manifest create $(repo_name)/auth-ui:latest $(repo_name)/auth-ui:arm64 $(repo_name)/auth-ui:amd64
+	$(podman) manifest push $(repo_name)/auth-ui:latest
+	$(podman) manifest rm $(repo_name)/auth-ui:latest