Skip to content

Commit

Permalink
https://github.com/bonfire-networks/bonfire-app/issues/1043
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanminutillo committed Oct 9, 2024
1 parent 7a095bd commit cc15f4e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
2 changes: 2 additions & 0 deletions lib/web/views/home_live.ex
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ defmodule Bonfire.Web.HomeLive do
use Bonfire.UI.Common.Web, :surface_live_view
use_if_enabled(Bonfire.UI.Common.Web.Native, :view)

# use_if_enabled(Bonfire.UI.Common.Web.Native, [:view, layouts: [swiftui: {Bonfire.UI.Common.LayoutView.SwiftUI, :app_tab}]])

alias Bonfire.Me.Accounts
# @changelog File.read!("#{Config.get(:project_path, "../..")}/docs/CHANGELOG.md")

Expand Down
9 changes: 6 additions & 3 deletions lib/web/views/home_live.swiftui.neex
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,14 @@
Hello Bonfire native beta 2!
</Text>

<Button style={"buttonStyle(.bordered)"}>
Sign in
</Button>
<.link navigate="/app">
Sign in
</.link>
</.link>

<%= if @feed_component_id do %>
<%!-- <%= if @feed_component_id do %>
<.stateful_component
module={maybe_component(Bonfire.UI.Social.FeedLive, @__context__)}
id={@feed_component_id}
Expand All @@ -29,6 +32,6 @@
loading={@loading}
time_limit={30}
/>
<% end %>
<% end %> --%>

</VStack>

0 comments on commit cc15f4e

Please sign in to comment.