Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
dc9c9e2
fix: update text content for featured projects on homepage
zcesur Mar 18, 2025
5cd5de5
feat: enhance homepage with new funding feature and updated buttons
zcesur Mar 18, 2025
2498a47
feat: update homepage styling and add funding benefits section
zcesur Mar 18, 2025
c8b43c5
update homepage
zcesur Mar 18, 2025
15893d4
feat: update homepage content and styling
zcesur Mar 18, 2025
62d111b
feat: refine homepage styling and content
zcesur Mar 18, 2025
42469a8
feat: enhance homepage layout and add Y Combinator section
zcesur Mar 18, 2025
53eeb57
fix: adjust homepage layout and styling for improved presentation
zcesur Mar 18, 2025
8b1e0e5
feat: update homepage content and layout for clarity and engagement
zcesur Mar 18, 2025
de07d5c
feat: refactor homepage layout and introduce new pattern component
zcesur Mar 18, 2025
a2320c9
feat: add ingest URL configuration for Algora
zcesur Mar 18, 2025
8baf479
updates
zcesur Mar 18, 2025
da66193
disable ci check for mix format
zcesur Mar 18, 2025
ab4537b
feat: enhance homepage layout and content with new integrations section
zcesur Mar 18, 2025
a9ed3c5
feat: refine homepage layout and enhance visual elements
zcesur Mar 18, 2025
d40be63
feat: enhance homepage layout with new testimonial section and stylin…
zcesur Mar 18, 2025
04b9701
fix: update styling for user and homepage components
zcesur Mar 18, 2025
e4f6eae
refactor: simplify homepage layout and improve code readability
zcesur Mar 18, 2025
fc1bcea
style: update section padding for improved layout consistency on home…
zcesur Mar 18, 2025
b412f49
fix: update homepage title for clarity and branding
zcesur Mar 18, 2025
6a205ee
feat: enhance homepage with new statistics section and layout adjustm…
zcesur Mar 18, 2025
9f67fbe
feat: add new statistics and layout enhancements to homepage
zcesur Mar 18, 2025
ed3364a
style: adjust heading line height for improved readability on homepage
zcesur Mar 18, 2025
44ac582
vibe
zcesur Mar 18, 2025
2662f8c
feat: update homepage with new testimonials and content enhancements
zcesur Mar 18, 2025
560eb85
feat: add assets URL configuration to support asset management
zcesur Mar 18, 2025
e0e4cff
vibe
zcesur Mar 19, 2025
fa7d5e9
refactor: improve code readability and layout in various components
zcesur Mar 19, 2025
4ce2b4a
refactor: update header component styles for improved visual consistency
zcesur Mar 19, 2025
6b9eb69
feat: enhance homepage with new testimonial sections and video content
zcesur Mar 19, 2025
4db7e02
delete obsolete sections
zcesur Mar 19, 2025
bdd24c9
feat: enhance homepage with new video testimonials and layout improve…
zcesur Mar 19, 2025
4196ec7
feat: add tipping section to homepage for open source contributors
zcesur Mar 19, 2025
eafde2c
feat: enhance button styles and update tipping section layout
zcesur Mar 19, 2025
a35b3b5
refactor: clean up button styles and streamline code formatting
zcesur Mar 19, 2025
8d45ef1
update assets
zcesur Mar 19, 2025
1901f97
feat: enhance homepage video section with interactive overlay
zcesur Mar 19, 2025
b6e868d
feat: update homepage layout with contributor profiles and new design…
zcesur Mar 19, 2025
ad50524
feat: update homepage with contributor profiles and new design elements
zcesur Mar 19, 2025
92ee81b
comment out
zcesur Mar 19, 2025
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
4 changes: 2 additions & 2 deletions .github/workflows/elixir.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@ jobs:
- name: Compile without warnings
run: mix compile --warnings-as-errors

- name: Check formatting
run: mix format --check-formatted
# - name: Check formatting
# run: mix format --check-formatted

- name: Run tests
run: mix test
Expand Down
3 changes: 3 additions & 0 deletions config/config.exs
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,9 @@ config :elixir, :time_zone_database, Tzdata.TimeZoneDatabase

config :reverse_proxy_plug, :http_client, ReverseProxyPlug.HTTPClient.Adapters.HTTPoison

config :algora, :ingest_url, System.get_env("INGEST_URL")
config :algora, :assets_url, System.get_env("ASSETS_URL")

# Import environment specific config. This must remain at the bottom
# of this file so it overrides the configuration defined above.
import_config "#{config_env()}.exs"
4 changes: 2 additions & 2 deletions lib/algora/integrations/github/stargazer.ex
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ defmodule Algora.Stargazer do
state
end

defp fetch_count do
def fetch_count do
with {:ok, %Finch.Response{status: 200, body: body}} <-
:get
|> Finch.build(AlgoraWeb.Constants.get(:github_repo_url))
|> Finch.build(AlgoraWeb.Constants.get(:github_repo_api_url))
|> Finch.request(Algora.Finch),
{:ok, %{"stargazers_count" => count}} <- Jason.decode(body) do
count
Expand Down
36 changes: 27 additions & 9 deletions lib/algora_web/components/header.ex
Original file line number Diff line number Diff line change
Expand Up @@ -27,34 +27,52 @@ defmodule AlgoraWeb.Components.Header do
<div class="hidden lg:flex lg:gap-x-12">
<.link
href={AlgoraWeb.Constants.get(:docs_url)}
class="text-sm/6 font-semibold text-muted-foreground hover:text-foreground"
class="text-sm/6 font-medium text-foreground/80 hover:text-foreground"
>
Docs
</.link>
<.link
href={AlgoraWeb.Constants.get(:blog_url)}
class="text-sm/6 font-semibold text-muted-foreground hover:text-foreground"
class="text-sm/6 font-semibold text-foreground/80 hover:text-foreground"
>
Blog
</.link>
<.link
navigate={~p"/pricing"}
class="text-sm/6 font-semibold text-muted-foreground hover:text-foreground"
class="text-sm/6 font-semibold text-foreground/80 hover:text-foreground"
>
Pricing
</.link>
</div>

<div class="hidden lg:flex lg:flex-1 lg:justify-end gap-2">
<.link
:if={Algora.Stargazer.count()}
class="group w-fit outline-none flex items-center"
target="_blank"
rel="noopener"
href={AlgoraWeb.Constants.get(:github_url)}
class="text-sm/6 font-semibold text-muted-foreground hover:text-foreground"
>
GitHub
<div class="rounded-[3px] hidden shrink-0 select-none items-center justify-center whitespace-nowrap bg-transparent text-center text-sm font-semibold transition duration-150 hover:bg-gray-850 disabled:opacity-50 group-focus:outline-none group-disabled:pointer-events-none group-disabled:opacity-75 lg:flex">
<div class="flex w-full items-center justify-center gap-x-1">
<AlgoraWeb.Components.Logos.github class="mr-0.5 h-5 shrink-0 justify-start text-foreground/80 group-hover:text-foreground transition" />
<span class="hidden xl:block">Star</span>
<span class="font-semibold text-foreground/80 group-hover:text-foreground">
{Algora.Stargazer.count()}
</span>
</div>
</div>
</.link>
</div>

<div class="hidden lg:flex lg:flex-1 lg:justify-end">
<.button navigate={~p"/auth/login"} variant="subtle">
<.button
navigate={~p"/auth/login"}
variant="ghost"
class="font-semibold text-foreground/80 hover:text-foreground"
>
Sign in
</.button>
<.button navigate={~p"/auth/signup"} variant="subtle" class="font-semibold">
Sign up
</.button>
</div>
</nav>
<!-- Mobile menu -->
Expand Down
6 changes: 3 additions & 3 deletions lib/algora_web/components/layouts/user.html.heex
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@
rel="noopener"
href={AlgoraWeb.Constants.get(:youtube_url)}
>
<div class="rounded-[3px] hidden h-8 shrink-0 select-none items-center justify-center whitespace-nowrap bg-transparent px-2 text-center text-sm font-semibold transition duration-150 hover:bg-slate-850 disabled:opacity-50 group-focus:outline-none group-disabled:pointer-events-none group-disabled:opacity-75 lg:flex">
<div class="rounded-[3px] hidden h-8 shrink-0 select-none items-center justify-center whitespace-nowrap bg-transparent px-2 text-center text-sm font-semibold transition duration-150 hover:bg-gray-850 disabled:opacity-50 group-focus:outline-none group-disabled:pointer-events-none group-disabled:opacity-75 lg:flex">
<div class="flex w-full items-center justify-center gap-x-1">
<AlgoraWeb.Components.Logos.youtube class="mr-0.5 h-5 shrink-0 justify-start text-gray-300 transition" />
</div>
Expand All @@ -208,7 +208,7 @@
target="_blank"
href={AlgoraWeb.Constants.get(:discord_url)}
>
<div class="rounded-[3px] hidden h-8 shrink-0 select-none items-center justify-center whitespace-nowrap bg-transparent px-2 text-center text-sm font-semibold transition duration-150 hover:bg-slate-850 disabled:opacity-50 group-focus:outline-none group-disabled:pointer-events-none group-disabled:opacity-75 lg:flex">
<div class="rounded-[3px] hidden h-8 shrink-0 select-none items-center justify-center whitespace-nowrap bg-transparent px-2 text-center text-sm font-semibold transition duration-150 hover:bg-gray-850 disabled:opacity-50 group-focus:outline-none group-disabled:pointer-events-none group-disabled:opacity-75 lg:flex">
<div class="flex w-full items-center justify-center gap-x-1">
<AlgoraWeb.Components.Logos.discord class="h-7 w-7" />
</div>
Expand All @@ -221,7 +221,7 @@
rel="noopener"
href={AlgoraWeb.Constants.get(:github_url)}
>
<div class="rounded-[3px] hidden h-8 shrink-0 select-none items-center justify-center whitespace-nowrap bg-transparent p-2 text-center text-sm font-semibold transition duration-150 hover:bg-slate-850 disabled:opacity-50 group-focus:outline-none group-disabled:pointer-events-none group-disabled:opacity-75 lg:flex">
<div class="rounded-[3px] hidden h-8 shrink-0 select-none items-center justify-center whitespace-nowrap bg-transparent p-2 text-center text-sm font-semibold transition duration-150 hover:bg-gray-850 disabled:opacity-50 group-focus:outline-none group-disabled:pointer-events-none group-disabled:opacity-75 lg:flex">
<div class="flex w-full items-center justify-center gap-x-1">
<AlgoraWeb.Components.Logos.github class="mr-0.5 h-5 shrink-0 justify-start text-gray-300 transition" />
<span class="hidden xl:block">Star</span>
Expand Down
2 changes: 2 additions & 0 deletions lib/algora_web/components/ui/button.ex
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@ defmodule AlgoraWeb.Components.UI.Button do
variant: %{
"default" =>
"bg-primary/50 hover:bg-primary/30 text-foreground border-primary/80 hover:border-primary focus-visible:outline-primary-600 data-[state=open]:bg-primary-500/80 data-[state=open]:outline-primary-600 shadow border",
"blue" =>
"bg-blue-500/50 hover:bg-blue-500/30 text-foreground border-blue-500/80 hover:border-blue-500 focus-visible:outline-blue-600 data-[state=open]:bg-blue-500/80 data-[state=open]:outline-blue-600 shadow border",
"destructive" =>
"bg-destructive/50 hover:bg-destructive/30 text-destructive-foreground border-destructive/80 hover:border-destructive focus-visible:outline-destructive-600 data-[state=open]:bg-destructive-500/80 data-[state=open]:outline-destructive-600 shadow border",
"hover:destructive" =>
Expand Down
1 change: 1 addition & 0 deletions lib/algora_web/constants.ex
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ defmodule AlgoraWeb.Constants do
github_url: "https://github.com/algora-io",
# TODO: update this to the new repo
github_repo_url: "https://github.com/algora-io/tv",
github_repo_api_url: "https://api.github.com/repos/algora-io/tv",
docs_url: "https://docs.algora.io",
docs_supported_countries_url: "https://docs.algora.io/bounties/payments#supported-countries-regions",
demo_url: "https://www.youtube.com/watch?v=Ts5GhlEROrs",
Expand Down
Loading