From 0b8930ed6349d1761fce374c021aac4658249384 Mon Sep 17 00:00:00 2001 From: Bogdanov Anton Date: Sat, 9 Mar 2024 15:30:46 +0300 Subject: [PATCH] modified icons for fantasy teams in navigation --- CHANGELOG.md | 1 + .../images/leagues/no_text_bundesliga.webp | Bin 0 -> 2598 bytes .../leagues/no_text_champions_league.webp | Bin 0 -> 2142 bytes app/assets/images/leagues/no_text_epl.webp | Bin 0 -> 2150 bytes .../images/leagues/no_text_la_liga.webp | Bin 0 -> 3392 bytes app/assets/images/leagues/no_text_nba.webp | Bin 0 -> 1992 bytes app/assets/images/leagues/no_text_rpl.webp | Bin 0 -> 3808 bytes .../images/leagues/no_text_seria_a.webp | Bin 0 -> 1448 bytes app/controllers/oracul_places_controller.rb | 5 ++++- .../page_wrappers/page_component.html.erb | 3 ++- .../page_wrappers/page_component.rb | 18 ++++++++++++++---- 11 files changed, 21 insertions(+), 6 deletions(-) create mode 100644 app/assets/images/leagues/no_text_bundesliga.webp create mode 100644 app/assets/images/leagues/no_text_champions_league.webp create mode 100644 app/assets/images/leagues/no_text_epl.webp create mode 100644 app/assets/images/leagues/no_text_la_liga.webp create mode 100644 app/assets/images/leagues/no_text_nba.webp create mode 100644 app/assets/images/leagues/no_text_rpl.webp create mode 100644 app/assets/images/leagues/no_text_seria_a.webp diff --git a/CHANGELOG.md b/CHANGELOG.md index 5e071fad..8ba54849 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ### Modified - user navigation +- icons for fantasy teams in navigation ## [1.2.1] - 2024-02-29 ### Added diff --git a/app/assets/images/leagues/no_text_bundesliga.webp b/app/assets/images/leagues/no_text_bundesliga.webp new file mode 100644 index 0000000000000000000000000000000000000000..56fcaf99f809347a8175413b8b8580c01aad4077 GIT binary patch literal 2598 zcmV+>3fc8iNk&E<3IG6CMM6+kP&il$0000G00024006E406|PpNR9>o00E$eZQI#M zyVJ4lnKj1zth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assets/images/leagues/no_text_champions_league.webp new file mode 100644 index 0000000000000000000000000000000000000000..12f353c48c45f686e9c3de026a5556aca420459b GIT binary patch literal 2142 zcmV-k2%+~q(@S|I*2exiim_J;@8sXiKG!kL?pe6 z3?eBaB7=yeh{zx^4Clvv?|a|ZdnbRth?oHUUwHSDnx?D^mJVD(*q5f2inf!=e<288sw_+lo?J z`MfHUFKbg++II~kpH#Umr8`(!xm9p;C571@n7e9X9J${RFvHA8hgvmW1k-L>Z-dH9Bsp@eS`=lQBL!Itu{TQVQ!XW_ zp>V7-0Jvt!%??z-eu%SUG``$fDN_fNJ5Q+adIlBM1EuPny)L1Fo2ew>XP;n)C_^z7AGGvPu;9=)gI-8D|+H{{WCt zylQg@^6i2)=xvc=#7VA^b4UMvJI2`%EJqDhn$Rl6bmyoenIy@N0a(vTkdrQ5xFGe^ zF>+~o4oa)Y7U+L0!(p#O44TwK@m|*JbB#!GJj)UGQPES{`9@g|x1%I(ypWtt3eaS?YmP=F{u$Q00 zke18@d0WSRDju^}mnc`udXlVC7o>S&_Nx?++bNsE321FLOekAV@@xOOy}^>g9It!7 z=xgLPNsoXsuD}_~e z(!g>6+2@wnrkIRifc#g_fM`U{zrTBo$L=EUIrlV@bf8}K84yjlKuAbGYkMeHfX7q7+Lnm`vfItyo$Dx z9Jg0E4q;@kmfaGTE1-ISob%f1eys?FTEfaAP@YdR&rbOfh=2J-OOvWTXzU~l?Ua`* zad_S|(Z@d9T@p;hXucCbZo{}1&Ukf|^R3;y34!En3B*;R4U}M$haytYB^1^$VMk=`Fl33 zyH-3@#O*q!Nv^QbQA_axD6Le*a&;R?vPzJdV+Yrqm13x^P&QYjY}gPoWZm`I0Xr=O zp}0U9r?M3l(|Fu4)(v|`rM5$L+INY8&A;@^aMZ1)PtXb!zGu)TzFCPjsDCXH08q3w z^45fdN_-SHAv{ldZGz?n(Ph>O)1sPi?>tFHRdkC6Uy|&GUH_1n)bOv#803BH4|ha4 z>bI0l>1x}Ymf#|FEhgm_g#M$|=XO>t@@1sKQS;?*>Un;XuhlBHEcaVZZshM zBZ%%w}i^NUi1;75;d5VYFDtwHsVgnC4z<fQ z>jC^hUWemeGqB4GWL~0p%L0hd_^}?sP8K^)mVmKf=qpW2^%aw3?@pNi0SCS=ke>Hy zD

+E8y@M^OinCd(G)eq`*c?J=%^3;oxpjR&D27OP6#NvewCRyL#F?ulL8PFrq8Q z8Yjc%I8`6i)J5)eG$5>MyirRd$y$kEnahC?IID*Icu-v(Nv=1^?`g_`GY7(>O33&1 zimGWW5iGi$?0|!BY#vfUzTK~)g2ovDc}Kg+jd1uCJ5TmoBYAz9mGXpOWb4`9B>B*b zRJc`QwEy+f-pAL@{oA>AS=Y&}!DW7*H#0LkCzPZxNs{w*NRfNZ>LHoYLF4>vJU*A8 z^rd{H%!4Lj8K8QGDqpTeDy>g!LlB+{zy(>Q*!VRaf(e4$x(O}KBgt8wq<68uzV z_j%P*nx%<8_Ao8nJGXmEU#q3fy+e``dqJtWNOn-wkgB!z#DI+?oqn5(fO?qZ=PrFim zvG2NOdlrw#0091-V$rGa~3d$N^hkp0i$a{)_9Y<9XK?c2&5S>k2tjp0)z4 U-i-VceM<=R=il|v000000FAy41poj5 literal 0 HcmV?d00001 diff --git a/app/assets/images/leagues/no_text_epl.webp b/app/assets/images/leagues/no_text_epl.webp new file mode 100644 index 0000000000000000000000000000000000000000..c35753517b44aa3bea7cd67794cbb7b318e2377f GIT binary patch literal 2150 zcmV-s2$}a%Nk&Fq2mkri!>NOv(1%+%{Dt+oy_5pCD5LQ)GMZeWz@%Q^F8LWJ-`QNRS{R zBH1Pqf`s6<5W@50JKsq>bI$(Vh?oHU@Bf;6qXDVV&i@Kmut&x>k^HZ)nZ;Rdo?gZc z7TPV>i{ggbd!lN&O*D(c9P8c96cmC?gxT} z6pWl8`9(mGa_|EHd+D68an3 zMU>*c4vO>53GysV+rgtvz@s7#-qr6SIWmEy!?zT`F)G*JB{<+F*mwm!PN^@@N!t2uPv`krsnf3fH>5cWz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`br z?pP1gUiC_`R^^jza7M}8Eimv^u~aPv_J<(8i~U!@%--%Ly@X_|v0BspLo%fkLqe%y8L)7Ja7W7aL@ z)lxBGx(+tFZ~VzFVft6jqp zfj3Lx5FQySm0@a7bm`Q-Y^oc57dWlIADE!>j(7Q6Yin&%Eey5Ol|^9Pj29KBzWZGz z39XK3qsF*kC8ZiLZomF4kq^^Yj zxuyu!@Vcf9t_1#2^ga3kD@w@Ang{L^94DFDm^uX6J%+$xU`gezq05=IwA196joeT8 c|1UNg?(svB7GN*{000000E*Q!tN;K2 literal 0 HcmV?d00001 diff --git a/app/assets/images/leagues/no_text_la_liga.webp b/app/assets/images/leagues/no_text_la_liga.webp new file mode 100644 index 0000000000000000000000000000000000000000..5e89b9ab7f7e57e03e795f689b7421b2837c5947 GIT binary patch literal 3392 zcmV-G4ZreINk&FE4FCXFMM6+kP&il$0000G00024006E406|PpNFfFQ00FRoYTN5J z(u=qVaS=usAyR}0!b~wKnw}!2_et-WUebFqGrJ~bdU`aycVj$#MugtGNj0g)2qBCx z!U$u85aJ>(;@fKfulB!p`)))`0RHd)|0-*IRG=1r3@U3pT449R8P?LmKB4x+J*w(I z5c=Wk3?1EkS*X^0D1Wv>OO1z)%^!tYZK+chPYJuS#?VqziF369sw3YEy)^(G-%3%jt;qooZt=j<@3ZagUT_e|(`a!#n-_d<0bVbk_E zK*xhl3$@$?<P zCECR}bZmSjRQnrK*~3|3m*yKL+HQrYU$35P}^^Z>iVS6lR@Y>yhEscPeS>cA}t+*j(zKdYQN`Kc6V0T z)?7nNkLEbXV^BThxX{1yL&w8*3$=GTR2vD4);;mWK zC{z#c6t?}Qp{3YKp{DMJYXA3D+Wr7^?Egrp<+)J4yd>=EW#jvVou3UYkI!(DQK*hy z6t=z1qowFhp?2K~)&7sFwBteO*t4xlu@^)6<7Hu|?}V0T=Y{%3NLef`>|ztNJo2be zFUFuc__NTHb$UuvDb`G=_O7&P9k)Zv52u8>$y9cCkFa}}LeC#nDTkv_9XTrWZ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m~_!D?_?N!_W|SbDZ{;qg$4l*wLf$T{yu;?_PUkYu{@c}u>~LX+SU*Zn2Z zu$BeDt5zwPGcpMd6(sOt*3UJ-nj={MRA1<;FNk?gZmAD zmH=(Q@Nz!L(L@Ojl?%AR7xU#Cesm**H+2gh+In7m<*6&8b1vTmXi_|R$==9T-50w` zt!n8H_XktAXj5nNPp(}lB4OJA4iWP#f=sUBf3f=GT#Pp*$yt!_T1}d@9N4TkmX|_r z-Wq*45h6D{wj>3Mzybm*QrPi&8U$Z}FBe-sQd@0udS|!oVyM zE;wGc+Xz5L;Q|>%rLZ+!?qv1Pu&BXV9niejTcx|-Cg#8{v|R0D0>@Axj4~i{Pk5om zr8d(OMfHT{$HxG!{{YMLN!X`_nESU0HVZ3Uyinr20vB5VL!n^`qI5EW;>%ZXdR#2( z6O|KC`tV8V?cZnv6F6(+l7F`-@~>P;)9y5s*ZYBD{YY|)F;4(*ncDH+^1n-fI{X^Bs2v9`SbF283QgFI;-Y&+E1QxxH<+EvA7#{{oQYj`W&8n5ns8USH{{vK$lr;* zHw=mD0^izTCUbcfuamgR#M+Eq7GqBSvp$Gn)UhU>ej*62t zo06@A?@JmW%2~p(JbxhmK|VR8!0h_+iaV%$oL+XP`AXRQ<>0G-m!=0!z0*DQ^mx+} z+8!NTVq1MNidq!?gC3E41@$=|;W?R5AVKx$f@kYm3}?W4;;l~Y+r{!Cw#>^Hpty8X z%xjJ-8+Yr$$00E2YEfL;sS+Dy+b&Qh!4&ctc5={igfxybuv%nd@e1;RY`;;Zhu8qL zFnAqBqo3yeHn!zsm$#3@u*J{+572w4$AQQyQO9Dy4j{m+WV^-XoDAyik4K%dBumWa aT;x%YL)f4W($kiB19ckd=>Px#0002a^6c>d literal 0 HcmV?d00001 diff --git a/app/assets/images/leagues/no_text_rpl.webp b/app/assets/images/leagues/no_text_rpl.webp new file mode 100644 index 0000000000000000000000000000000000000000..c4e0d9c0c9ce8711653490232f46588590c2c5ab GIT binary patch literal 3808 zcmV<64j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S>45yD3j(NRigG$aQXoic zf+(jD-?^`*`MTfx$Cw8&XpHu7^f(_7Rh%x6d2@-RPUjjhlc5|JT|C#^c*}Ix@RSd% zVmT{WR;}GwB0vTpy`q!yg;BkC_ZyFKj7^8LSeECfnR|{r{0qoHd=BPj+lN7bvdN{* z4s~r|DP)qcGOwoa9QD7U*V~`10%_?Ei~j7Z)xe)8mi##ZZY95$nQ0Ec|L!Vz8>a-~ zm(fP~mH~l0b-NT+wsN*>3p2SZX7#YcpcteVC}gET;_BFb)Clb)c~%nbWZR?Kky~-4PEq}Hkx(&?fV>=7Hr2oKhmyi% zpCZ&5Znlf$H;O}PcRA2{HiS_-EDTsTm96h+EIj|isFAHz{yenzzd;?;06YlPo^HrK zM*}!Q{&~4)3_?dpj$orMLtG(sGL7$-J5=mobJ_2fP84m#ulU*TJbmoFIPM)E z{>gv;_a;k6!n&V8bm9O{&;RaxIwPQt`qJ8Vu7jW4HCr|6&E)!_Zhwz3z2+4A0ipmQ W=0iK9j?r3sEkT!AJAeQH0000F6;%5G literal 0 HcmV?d00001 diff --git a/app/assets/images/leagues/no_text_seria_a.webp b/app/assets/images/leagues/no_text_seria_a.webp new file mode 100644 index 0000000000000000000000000000000000000000..a18b96966a40685d709be8db0a8b87ea055e6178 GIT binary patch literal 1448 zcmV;Z1y}k~Nk&GX1pok7MM6+kP&il$0000G0001$005N$06|PpNKpU)00Cd1rjZml zeAOMV18Qny5D@|Xb!@Pvz$Uh>M&xJ!8A!nglIT`J?4ChVwK1aq6F~0l3;Gw;A_mOW z&JhqQB@9_;oplW8nfTv-zyGdNH*o+~P&gnc1pokW9{`;JDwY7206vjInn|UkA|WUe zoRF{*2~FFp?!{U@h_~9gIypbUe8;HMslVX*0QF7g0s7(6f6NEkue?v9&p;38f7ZIj z{Qx|-J(|C|WTxyxwKkwp`e3(*$Ma%lsyl|) z9T>no;J3Bkt>Vx0R|d;89rU7N;jQnK_@=}UW+P{ADQ?+& zTunPkS`9k}rTmc=WUkLEx{C;$HUcyxXQh}!i2%3tT& z2=~%2*yD98BtQncPYTc57SNvL9nejC55ja=_Ue_bRLUv2q5Rw)gZlgW;Gh9MiK+o_ z7?lvjIO&A|e+sLzEt?=KLxX1w{c>>bY2QSf?tlCr%J+MVjsB*9AssDuA6JGw(?Qlu zZsxmTscgBUU;>Jtx_&1X~=WOr>iI~x|g}?SEc2_yY91?Zw1rVpC zWWt!cw&)Q00xt_)tzDa+&$Gc(exTtEOk`oDIR(d)NgTH782A^f?*zfCe4Lfe3CLuI zL%EzDQtQvuJUQR+SU-PESxdM~qx7xJ{|l3An5Z~bk(87FJ}Pk~Re;c;``3$F@H}!r zGq$Tx@jqaaO$+<)2ipv;2~7YqyK{fZg^L$=Y2{ru+7>S}R^U>e>WKIc-XU&{D@)($Y+lc_U93-hoey`As zktKYzdM}#8()mQeT^#^=sC{+m-!BUEb5c+_=B8;pYFnpv@ju?Y}pISdQpC%7qc~j1z zyQWf6yz^;PQ$G`-ki1a7&PUPbb_wrj2NI`;#*n!#&+%>=YE44PUc!cKQfADYz=E?p zU&CUHa_KW#E(V4&{?>Qc+TN5FHoT*;Ulqk_>RCitAHaFqyS3{g4!u!vrip+!G`+A0?$CLTrr)R z6rl!IQJ%CYaM{CTU-ig-#9X9Ca`?AM1607F-quPGd%@mdl(NpXRvmlC`iit{6~QGM%M6aS9<@tZxlEW>uH~0000L C&%Iy( literal 0 HcmV?d00001 diff --git a/app/controllers/oracul_places_controller.rb b/app/controllers/oracul_places_controller.rb index 5007354d..817d40e1 100644 --- a/app/controllers/oracul_places_controller.rb +++ b/app/controllers/oracul_places_controller.rb @@ -11,7 +11,10 @@ def show; end private def find_leagues - @leagues = League.hashable_pluck(:id, :background_url, :sport_kind) + @leagues = + Rails.cache.fetch('oracul_places_show_leagues_v1', expires_in: 24.hours, race_condition_ttl: 10.seconds) do + League.hashable_pluck(:id, :background_url, :sport_kind) + end end def find_oracul_places diff --git a/app/views/components/page_wrappers/page_component.html.erb b/app/views/components/page_wrappers/page_component.html.erb index 5996b8db..4922e1b6 100644 --- a/app/views/components/page_wrappers/page_component.html.erb +++ b/app/views/components/page_wrappers/page_component.html.erb @@ -75,7 +75,7 @@ <% global_user_fantasy_teams.each do |user_fantasy_team| %>

<%= link_to fantasy_team_points_path(user_fantasy_team[:uuid]), class: 'flex items-center px-4 py-2' do %> - <%= image_tag "icons/#{user_fantasy_team[:leagues_sport_kind]}.svg", class: 'w-8 h-8 mr-2' %> + <%= image_tag background_urls.dig('Season', user_fantasy_team[:season_id]).split('/').join('/no_text_'), class: 'w-8 h-8 mr-2 bg-white rounded-full' %> <%= user_fantasy_team[:name] %> <% end %> <% if user_fantasy_team[:uuid] == @fantasy_team&.uuid %> @@ -99,6 +99,7 @@ <% global_user_oraculs.each do |global_user_oracul| %>
<%= link_to oracul_path(global_user_oracul[:uuid]), class: 'flex items-center px-4 py-2' do %> + <%= image_tag background_urls.dig(global_user_oracul[:placeable_type], global_user_oracul[:placeable_id]).split('/').join('/no_text_'), class: 'w-8 h-8 mr-2 bg-white rounded-full' %> <%= global_user_oracul[:name] %> <% end %>
diff --git a/app/views/components/page_wrappers/page_component.rb b/app/views/components/page_wrappers/page_component.rb index e4f19ee7..740ba934 100644 --- a/app/views/components/page_wrappers/page_component.rb +++ b/app/views/components/page_wrappers/page_component.rb @@ -13,9 +13,9 @@ def initialize(fantasy_team: nil, oracul: nil) def global_user_fantasy_teams @global_user_fantasy_teams ||= Current.user - .fantasy_teams.completed - .joins(season: :league) - .hashable_pluck(:uuid, :name, 'leagues.sport_kind') + .fantasy_teams + .completed + .hashable_pluck(:uuid, :name, :season_id) end def global_user_oraculs @@ -24,7 +24,17 @@ def global_user_oraculs .oraculs .joins(:oracul_place) .where(oracul_places: { active: true }) - .hashable_pluck(:uuid, :name) + .hashable_pluck(:uuid, :name, :placeable_id, :placeable_type) + end + + private + + def background_urls + @background_urls ||= + { + 'Season' => Season.joins(:league).pluck(:id, 'leagues.background_url').to_h.symbolize_keys, + 'Cup' => Cup.joins(:league).pluck(:id, 'leagues.background_url').to_h.symbolize_keys + } end end end