Commit Graph

191 Commits

Author SHA1 Message Date
efim fa11926642 init: exercise expenses chart resources 2024-03-12 07:44:13 +00:00
efim 9c8ec7fb0d Add '18-expenses-chart/' from commit '78c9bd1d614c8bdd25a3e1d23bd0a39bb01e65f1'
git-subtree-dir: 18-expenses-chart
git-subtree-mainline: e13fa186e1
git-subtree-split: 78c9bd1d61
2024-03-12 07:09:35 +00:00
efim 78c9bd1d61 refactor: moving templates into dir
routes probably can live in main.go for simpler exercises
2024-03-12 05:46:57 +00:00
efim 9c19bd7b6b feat: initialized tailwind
basic conig targetting templ
templ html page with import
Makefile job that generates for the run
2024-03-11 10:45:47 +00:00
efim de2fd2bdc0 feat: Makefile for local development
would be even more useful when i'll get tailwind and stuff
2024-03-11 07:32:28 +00:00
efim 81235e3ce6 feat: enabling templ 2024-03-11 04:44:55 +00:00
efim 4f7b2fcd17 init 2024-03-10 19:24:30 +00:00
efim e13fa186e1 feat: preserving name \ region on active search
by using post - all inputs of same form are sent
so in active search scenario changing region also sends current name,
or changing name also sends current region

had to make additional post endpoint,
but with cask i can directly use form-value as function argument
and can reuse the code, yay
2023-10-11 03:22:31 +00:00
efim f238940622 docs: readme for first Go exercise 2023-10-04 11:52:18 +00:00
efim 7f4b8cab8a feat: generating tailwind out.css in nix build 2023-10-04 11:28:28 +00:00
efim b0dd8cded1 feat: docker image for results component 2023-10-04 10:39:33 +00:00
efim f48d958a2c feat: passing of the port as arg 2023-10-04 09:25:13 +00:00
efim 2cb3cc7c35 feat: split results into insertable component
still not fully sure how this all operates, but allright.
2023-10-04 09:13:12 +00:00
efim f4ab1ac7ec feat: other fields taken from template data 2023-10-04 08:38:31 +00:00
efim 2769f5e8dc feat: desktop styling 2023-10-04 08:28:02 +00:00
efim d7dce88751 feat: icons added via <img> by static path 2023-10-04 06:23:34 +00:00
efim b036002ca8 feat: repeating category in template 2023-10-04 06:03:04 +00:00
efim 70ab1e59c4 feat: button styled 2023-10-04 05:20:55 +00:00
efim 133fa0df2b feat: colors for items via css variable 2023-10-04 05:16:52 +00:00
efim 58ca4ecafa feat: upper part styled 2023-10-03 18:13:16 +00:00
efim 843e55841b fix: fontFamily override name 2023-10-03 17:56:40 +00:00
efim cfe3994bc9 feat: style guilde fonts enabled 2023-10-03 16:48:45 +00:00
efim 8b95d963fe feat: enabled tailwindcss
and have single watcher command to rebuild out.css and restart the
server:
wgo -verbose -file .go -file .gohtml echo reloading :: bash -c 'tailwindcss -i ./input.css -o public/out.css' :: go run main.go
2023-10-03 15:06:18 +00:00
efim 83d8cd07d2 init: adding frontendmentor task resources 2023-10-03 14:27:38 +00:00
efim 6b323ba746 feat: embedding templates as well
maybe it's possible to somehow limit file server to a directory
2023-10-03 14:12:20 +00:00
efim e834ff06ab feat: responding with a basic template 2023-10-03 13:52:01 +00:00
efim f30d9dad94 init: 17 - simple page with go ssr 2023-10-03 10:15:07 +00:00
efim ee914c8014 feat: active search on main page
over english and native nave, nice
also putting url into history, and also setting up the load anchor
2023-09-28 04:33:41 +00:00
efim b8d0dc96fd docs: readme for exercise 16 2023-09-27 06:59:43 +00:00
efim faedb21808 fix: flake naming for countries page 2023-09-27 06:14:20 +00:00
efim 9bdf180f97 feat: loading data from api on start 2023-09-27 05:41:38 +00:00
efim f383085910 feat: changing to new rest countries api
as returned by https://restcountries.com/v3.1/all
2023-09-27 05:29:15 +00:00
efim 2070bbebb0 feat: adding nix docker image recipe 2023-09-27 04:49:48 +00:00
efim 9edf7f0196 fix: sorting borders put big buttons to end
and most of the buttons look prettier
2023-09-27 04:16:58 +00:00
efim d7d5ac63ac feat: saving dark mode on page reload
main script is in index, country page template inserts it with
fragment by markup selector syntax:
https://www.thymeleaf.org/doc/tutorials/3.1/usingthymeleaf.html#appendix-c-markup-selector-syntax

and still has some code to work in standalone
2023-09-27 04:15:11 +00:00
efim 841543e984 fix: input clipping on small desktop size 2023-09-27 03:46:43 +00:00
efim b1c128738f feat: enabling jar build with nix 2023-09-26 16:03:51 +00:00
efim 51319b036b feat: dark theme, font icons
courtesy of https://github.com/tailwindlabs/heroicons
2023-09-26 16:01:37 +00:00
efim 0f30e1fc41 feat: desktop styling of country page 2023-09-25 06:46:39 +00:00
efim 11d5d6254a fix: swap beforeend to prevent nesting main
and url push from the server, because requesting cards now done on a
separate endpoint
2023-09-24 20:22:15 +00:00
efim ae33d7e72a feat: index page for desktop 2023-09-24 19:58:05 +00:00
efim aca8599d6e feat: infinite scroll 2023-09-24 14:36:26 +00:00
efim 43daef0455 fix: size errors in img and select 2023-09-24 14:03:50 +00:00
efim ff296f84eb feat: adding icons
courtesy https://www.svgrepo.com/
2023-09-24 13:58:54 +00:00
efim ae2b3d1327 feat: single country page, borders 2023-09-24 13:37:39 +00:00
efim 433ff827b7 feat: dummy country page and redirects
from search and cards.
card content wrapped in an anchor doesn't look good,
and search only working with htmx (without graceful degradatino) also
doesn't look too good

but with 'hx-boost="true"' ordinary anchor in card also preserves
header, that's nice
2023-09-23 19:17:09 +00:00
efim b776000cf0 feat: selection filtering table update 2023-09-23 18:22:09 +00:00
efim c260d348d7 feat: filtering countries on GET index 2023-09-23 16:28:14 +00:00
efim 153f5ef9ce feat: displaying country previews dynamically 2023-09-23 10:32:27 +00:00
efim 256df8d2aa feat: dynamic region input 2023-09-23 10:06:32 +00:00