-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
be3f34d
commit d76e91e
Showing
6 changed files
with
108 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
import { Controller } from "@hotwired/stimulus" | ||
|
||
// Connects to data-controller="marquee" | ||
export default class extends Controller { | ||
connect() { | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
<%= render(PageTitleComponent.new(title: "Creator Profiles")) %> | ||
|
||
<section> | ||
<div class="max-w-screen-xl px-4 py-8 mx-auto sm:px-6 sm:py-12 lg:px-8"> | ||
<header> | ||
<h2 class="text-xl font-bold text-gray-900 sm:text-3xl"> | ||
Creators | ||
</h2> | ||
</header> | ||
|
||
<ul class="grid gap-4 mt-4 sm:grid-cols-2 lg:grid-cols-4"> | ||
<% cache @creator_profiles, expires_in: 60.seconds do %> | ||
<% @creator_profiles.each do |profile| %> | ||
<li> | ||
<%= render(CreatorProfiles::AvatarComponent.new(creator_profile: profile)) %> | ||
<div class="text-xl"> | ||
<%= profile.name %><br/> | ||
<%= profile.skills %> | ||
</div> | ||
</li> | ||
<% end %> | ||
<% end %> | ||
</ul> | ||
</div> | ||
<div class="text-center w-full"> | ||
<%== pagy_nav(@pagy) %> | ||
</div> | ||
</section> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters