Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
57 changes: 32 additions & 25 deletions lib/pulse_web/components/layouts.ex
Original file line number Diff line number Diff line change
Expand Up @@ -65,31 +65,38 @@ defmodule PulseWeb.Layouts do
</main>

<footer class="border-t border-base-300 bg-base-200 px-4 py-6 sm:px-6 sm:py-8 lg:px-8">
<div class="mx-auto max-w-5xl flex flex-col sm:flex-row items-center justify-between gap-4">
<div class="flex items-center gap-2">
<.pulse_logo size={20} />
<span class="font-bold tracking-tight">Pulse</span>
<span class="text-base-content/50 text-sm">{gettext("Community portfolios")}</span>
</div>
<div class="text-center sm:text-right text-xs sm:text-sm text-base-content/60">
<p>
{gettext("Part of")}
<a href="https://quantic.es" class="hover:underline font-medium text-base-content/80">
quantic.es
</a>
&middot; {gettext("Built with Elixir and Phoenix LiveView")}
</p>
<p class="mt-1">
&copy; {DateTime.utc_now().year}
<a
href="https://leveque.es"
target="_blank"
rel="noopener noreferrer"
class="hover:underline"
>
Francesc Leveque
</a>
</p>
<div class="mx-auto max-w-5xl space-y-4">
<p class="text-[11px] leading-relaxed text-base-content/60 text-center">
{gettext(
"The portfolios and radars shown on Pulse are shared voluntarily by Quantic users and are provided for informational and educational purposes only. They are general in nature, do not take into account your personal financial situation, and do not constitute investment, financial, tax, or legal advice — nor a recommendation to buy or sell any security. Investing involves risk, including possible loss of principal; past performance is not a reliable indicator of future results. Market data comes from third-party providers and may be delayed or inaccurate. Before making any investment decision, consider your objectives, time horizon, risk tolerance, and diversification, and consult a qualified financial professional. Pulse is part of Quantic, which is not a registered investment adviser or broker-dealer."
)}
</p>
<div class="flex flex-col sm:flex-row items-center justify-between gap-4">
<div class="flex items-center gap-2">
<.pulse_logo size={20} />
<span class="font-bold tracking-tight">Pulse</span>
<span class="text-base-content/50 text-sm">{gettext("Community portfolios")}</span>
</div>
<div class="text-center sm:text-right text-xs sm:text-sm text-base-content/60">
<p>
{gettext("Part of")}
<a href="https://quantic.es" class="hover:underline font-medium text-base-content/80">
quantic.es
</a>
&middot; {gettext("Built with Elixir and Phoenix LiveView")}
</p>
<p class="mt-1">
&copy; {DateTime.utc_now().year}
<a
href="https://leveque.es"
target="_blank"
rel="noopener noreferrer"
class="hover:underline"
>
Francesc Leveque
</a>
</p>
</div>
</div>
</div>
</footer>
Expand Down
93 changes: 49 additions & 44 deletions priv/gettext/default.pot
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
msgid ""
msgstr ""

#: lib/pulse_web/live/portfolio_live.ex:121
#: lib/pulse_web/live/portfolio_live.ex:127
#, elixir-autogen, elixir-format
msgid "1 holding"
msgid_plural "%{count} holdings"
Expand All @@ -23,8 +23,8 @@ msgstr[1] ""
msgid "Actions"
msgstr ""

#: lib/pulse_web/components/layouts.ex:126
#: lib/pulse_web/components/layouts.ex:138
#: lib/pulse_web/components/layouts.ex:133
#: lib/pulse_web/components/layouts.ex:145
#, elixir-autogen, elixir-format
msgid "Attempting to reconnect"
msgstr ""
Expand All @@ -45,15 +45,15 @@ msgstr ""
msgid "Build Your Portfolio"
msgstr ""

#: lib/pulse_web/components/layouts.ex:80
#: lib/pulse_web/components/layouts.ex:86
#, elixir-autogen, elixir-format
msgid "Built with Elixir and Phoenix LiveView"
msgstr ""

#: lib/pulse_web/live/portfolio_live.ex:83
#: lib/pulse_web/live/portfolio_live.ex:99
#: lib/pulse_web/live/radar_live.ex:167
#: lib/pulse_web/live/radar_live.ex:183
#: lib/pulse_web/live/portfolio_live.ex:79
#: lib/pulse_web/live/portfolio_live.ex:95
#: lib/pulse_web/live/radar_live.ex:162
#: lib/pulse_web/live/radar_live.ex:178
#, elixir-autogen, elixir-format
msgid "Capturing..."
msgstr ""
Expand All @@ -68,19 +68,19 @@ msgstr ""
msgid "Community Value"
msgstr ""

#: lib/pulse_web/components/layouts.ex:72
#: lib/pulse_web/components/layouts.ex:78
#, elixir-autogen, elixir-format
msgid "Community portfolios"
msgstr ""

#: lib/pulse_web/live/portfolio_live.ex:100
#: lib/pulse_web/live/radar_live.ex:184
#: lib/pulse_web/live/portfolio_live.ex:96
#: lib/pulse_web/live/radar_live.ex:179
#, elixir-autogen, elixir-format
msgid "Copied!"
msgstr ""

#: lib/pulse_web/live/portfolio_live.ex:107
#: lib/pulse_web/live/radar_live.ex:191
#: lib/pulse_web/live/portfolio_live.ex:112
#: lib/pulse_web/live/radar_live.ex:196
#, elixir-autogen, elixir-format
msgid "Dashboard"
msgstr ""
Expand All @@ -95,8 +95,8 @@ msgstr ""
msgid "Enable sharing in your"
msgstr ""

#: lib/pulse_web/live/portfolio_live.ex:85
#: lib/pulse_web/live/radar_live.ex:169
#: lib/pulse_web/live/portfolio_live.ex:81
#: lib/pulse_web/live/radar_live.ex:164
#, elixir-autogen, elixir-format
msgid "Failed"
msgstr ""
Expand Down Expand Up @@ -132,7 +132,7 @@ msgstr ""
msgid "No visits yet"
msgstr ""

#: lib/pulse_web/components/layouts.ex:76
#: lib/pulse_web/components/layouts.ex:82
#, elixir-autogen, elixir-format
msgid "Part of"
msgstr ""
Expand Down Expand Up @@ -163,16 +163,16 @@ msgstr ""
msgid "Real-time community dividend portfolio dashboard"
msgstr ""

#: lib/pulse_web/live/portfolio_live.ex:82
#: lib/pulse_web/live/portfolio_live.ex:89
#: lib/pulse_web/live/radar_live.ex:166
#: lib/pulse_web/live/radar_live.ex:173
#: lib/pulse_web/live/portfolio_live.ex:78
#: lib/pulse_web/live/portfolio_live.ex:85
#: lib/pulse_web/live/radar_live.ex:161
#: lib/pulse_web/live/radar_live.ex:168
#, elixir-autogen, elixir-format
msgid "Save Image"
msgstr ""

#: lib/pulse_web/live/portfolio_live.ex:84
#: lib/pulse_web/live/radar_live.ex:168
#: lib/pulse_web/live/portfolio_live.ex:80
#: lib/pulse_web/live/radar_live.ex:163
#, elixir-autogen, elixir-format
msgid "Saved!"
msgstr ""
Expand All @@ -182,10 +182,10 @@ msgstr ""
msgid "Share It"
msgstr ""

#: lib/pulse_web/live/portfolio_live.ex:98
#: lib/pulse_web/live/portfolio_live.ex:104
#: lib/pulse_web/live/radar_live.ex:182
#: lib/pulse_web/live/radar_live.ex:188
#: lib/pulse_web/live/portfolio_live.ex:94
#: lib/pulse_web/live/portfolio_live.ex:100
#: lib/pulse_web/live/radar_live.ex:177
#: lib/pulse_web/live/radar_live.ex:183
#, elixir-autogen, elixir-format
msgid "Share Link"
msgstr ""
Expand All @@ -195,7 +195,7 @@ msgstr ""
msgid "Share your portfolio from"
msgstr ""

#: lib/pulse_web/components/layouts.ex:133
#: lib/pulse_web/components/layouts.ex:140
#, elixir-autogen, elixir-format
msgid "Something went wrong!"
msgstr ""
Expand All @@ -205,7 +205,7 @@ msgstr ""
msgid "The portfolio \"%{slug}\" doesn't exist or hasn't been shared yet."
msgstr ""

#: lib/pulse_web/live/portfolio_live.ex:235
#: lib/pulse_web/live/portfolio_live.ex:241
#, elixir-autogen, elixir-format
msgid "This portfolio has no holdings yet."
msgstr ""
Expand All @@ -226,7 +226,7 @@ msgstr ""
msgid "Visit a portfolio to see it here"
msgstr ""

#: lib/pulse_web/components/layouts.ex:121
#: lib/pulse_web/components/layouts.ex:128
#, elixir-autogen, elixir-format
msgid "We can't find the internet"
msgstr ""
Expand Down Expand Up @@ -266,7 +266,7 @@ msgstr ""
msgid "%{month} %{day}, %{year}"
msgstr ""

#: lib/pulse_web/live/radar_live.ex:211
#: lib/pulse_web/live/radar_live.ex:217
#, elixir-autogen, elixir-format
msgid "1 stock tracked"
msgid_plural "%{count} stocks tracked"
Expand Down Expand Up @@ -299,12 +299,12 @@ msgstr ""
msgid "Below Community Target"
msgstr ""

#: lib/pulse_web/live/radar_live.ex:237
#: lib/pulse_web/live/radar_live.ex:243
#, elixir-autogen, elixir-format
msgid "Below target"
msgstr ""

#: lib/pulse_web/live/radar_live.ex:294
#: lib/pulse_web/live/radar_live.ex:300
#, elixir-autogen, elixir-format
msgid "Close"
msgstr ""
Expand All @@ -319,7 +319,7 @@ msgstr ""
msgid "Community Watchlist"
msgstr ""

#: lib/pulse_web/live/portfolio_live.ex:144
#: lib/pulse_web/live/portfolio_live.ex:150
#, elixir-autogen, elixir-format
msgid "Current Yield"
msgstr ""
Expand Down Expand Up @@ -389,12 +389,12 @@ msgstr ""
msgid "Oct"
msgstr ""

#: lib/pulse_web/live/radar_live.ex:299
#: lib/pulse_web/live/radar_live.ex:305
#, elixir-autogen, elixir-format
msgid "Price"
msgstr ""

#: lib/pulse_web/live/radar_live.ex:208
#: lib/pulse_web/live/radar_live.ex:214
#, elixir-autogen, elixir-format
msgid "Radar"
msgstr ""
Expand All @@ -415,7 +415,7 @@ msgstr ""
msgid "Recently Updated"
msgstr ""

#: lib/pulse_web/live/portfolio_live.ex:158
#: lib/pulse_web/live/portfolio_live.ex:164
#, elixir-autogen, elixir-format
msgid "Sectors"
msgstr ""
Expand All @@ -430,7 +430,7 @@ msgstr ""
msgid "Shared Radars"
msgstr ""

#: lib/pulse_web/live/radar_live.ex:266
#: lib/pulse_web/live/radar_live.ex:272
#, elixir-autogen, elixir-format
msgid "Show %{symbol} details"
msgstr ""
Expand All @@ -440,12 +440,12 @@ msgstr ""
msgid "Stocks Tracked"
msgstr ""

#: lib/pulse_web/live/radar_live.ex:223
#: lib/pulse_web/live/radar_live.ex:229
#, elixir-autogen, elixir-format
msgid "Stocks tracked"
msgstr ""

#: lib/pulse_web/live/radar_live.ex:308
#: lib/pulse_web/live/radar_live.ex:314
#, elixir-autogen, elixir-format
msgid "Target"
msgstr ""
Expand All @@ -455,17 +455,17 @@ msgstr ""
msgid "The radar \"%{slug}\" doesn't exist or hasn't been shared yet."
msgstr ""

#: lib/pulse_web/live/radar_live.ex:320
#: lib/pulse_web/live/radar_live.ex:326
#, elixir-autogen, elixir-format
msgid "This radar is empty."
msgstr ""

#: lib/pulse_web/live/radar_live.ex:160
#: lib/pulse_web/live/radar_live.ex:193
#, elixir-autogen, elixir-format
msgid "View portfolio"
msgstr ""

#: lib/pulse_web/live/portfolio_live.ex:76
#: lib/pulse_web/live/portfolio_live.ex:109
#, elixir-autogen, elixir-format
msgid "View radar"
msgstr ""
Expand All @@ -475,12 +475,12 @@ msgstr ""
msgid "Visit a radar to see it here"
msgstr ""

#: lib/pulse_web/live/radar_live.ex:229
#: lib/pulse_web/live/radar_live.ex:235
#, elixir-autogen, elixir-format
msgid "With target"
msgstr ""

#: lib/pulse_web/live/portfolio_live.ex:138
#: lib/pulse_web/live/portfolio_live.ex:144
#, elixir-autogen, elixir-format
msgid "Yield on Cost"
msgstr ""
Expand Down Expand Up @@ -584,3 +584,8 @@ msgstr ""
#, elixir-autogen, elixir-format
msgid "Utilities"
msgstr ""

#: lib/pulse_web/components/layouts.ex:70
#, elixir-autogen, elixir-format
msgid "The portfolios and radars shown on Pulse are shared voluntarily by Quantic users and are provided for informational and educational purposes only. They are general in nature, do not take into account your personal financial situation, and do not constitute investment, financial, tax, or legal advice — nor a recommendation to buy or sell any security. Investing involves risk, including possible loss of principal; past performance is not a reliable indicator of future results. Market data comes from third-party providers and may be delayed or inaccurate. Before making any investment decision, consider your objectives, time horizon, risk tolerance, and diversification, and consult a qualified financial professional. Pulse is part of Quantic, which is not a registered investment adviser or broker-dealer."
msgstr ""
Loading
Loading