Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: company main page #437

Draft
wants to merge 10 commits into
base: main
Choose a base branch
from
Draft

feat: company main page #437

wants to merge 10 commits into from

Conversation

ruioliveira02
Copy link
Member

No description provided.

@ruioliveira02 ruioliveira02 self-assigned this Nov 9, 2024
Comment on lines 14 to 21
<a href={"/attendees/#{@id}"}>
<div class="py-4 px-4">
<img class="w-16 h-16 m-auto" src={@image} />
<h1 class="font-terminal uppercase text-xl">
<%= @name %>
</h1>
</div>
</a>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
<a href={"/attendees/#{@id}"}>
<div class="py-4 px-4">
<img class="w-16 h-16 m-auto" src={@image} />
<h1 class="font-terminal uppercase text-xl">
<%= @name %>
</h1>
</div>
</a>
<.link href={"/attendees/#{@id}"}>
<div class="py-4 px-4">
<img class="w-16 h-16 m-auto" src={@image} />
<h1 class="font-terminal uppercase text-xl">
<%= @name %>
</h1>
</div>
</.link>

>
<.attendee
:for={{id, attendee} <- @streams.visitors}
id={attendee.id}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
id={attendee.id}
id={id}

Comment on lines 1 to 35
<div class="relative h-screen flex overflow-hidden">
<.sidebar
current_user={@current_user}
pages={SafiraWeb.Config.sponsor_pages()}
current_page={Map.get(assigns, :current_page, nil)}
background="bg-primaryDark"
border="border-darkShade"
logo_padding="px-16 pt-8 pb-4"
logo_images={%{light: "/images/sei.svg", dark: "/images/sei.svg"}}
logo_url={~p"/app/"}
user_dropdown_name_color="text-light"
user_dropdown_handle_color="text-lightMuted"
user_dropdown_icon_color="text-lightShade"
link_class="px-3 group flex items-center py-2 text-sm font-medium rounded-md transition-colors"
link_active_class="bg-light text-primaryDark"
link_inactive_class="hover:bg-primary-500/10 text-light"
/>
<div class="flex flex-col flex-1 overflow-hidden">
<div class="bg-primaryDark flex justify-end lg:hidden px-4 sm:px-6 py-2">
<button
class="sidebar-toggle flex items-center justify-center w-16 dark:text-light text-dark"
aria-expanded="false"
phx-click={show_mobile_sidebar()}
>
<.icon class="w-8 h-8" name="hero-bars-3" />
</button>
</div>
<main class="text-light bg-primaryDark flex-1 relative z-0 overflow-y-auto focus:outline-none">
<div class="px-4 sm:px-6 lg:px-8 py-8">
<.flash_group flash={@flash} />
<%= @inner_content %>
</div>
</main>
</div>
</div>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you change this to look the same as the backoffice UI ? Black & White?
Just keep the event logo.

@ruioliveira02 ruioliveira02 mentioned this pull request Dec 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants