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

Tweaks #3

Merged
merged 9 commits into from
Jul 13, 2024
Merged

Tweaks #3

merged 9 commits into from
Jul 13, 2024

Conversation

tonysm
Copy link
Contributor

@tonysm tonysm commented Jul 12, 2024

Changelog

  • ADDED: Adds Laravel Sail for local setup
  • CHANGED: Changes the routing a bit for a more resource look
  • ADDED: Enables Cross-Document View Transitions
  • CHANGED: Add some missing lazy loading on img tags

Copy link
Member

@mattstauffer mattstauffer left a comment

Choose a reason for hiding this comment

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

Great work, thank you! I made a few requests; if you can handle them, please do, if not, I'll get to them shortly. Thanks tony!

<h2 class="mb-5 text-xl font-bold">
<img src="{{ $org->favicon }}" alt="{{ $org->name }}" class="mr-2 inline-block w-9 rounded-lg" />
{{ $org->name }}
<div class="group relative cursor-pointer rounded-lg bg-black/4 p-4 backdrop-blur-lg transition duration-300 hover:bg-black/13 md:p-6 md:pt-5">
Copy link
Member

Choose a reason for hiding this comment

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

Thanks for cleaning this up. There was a lot of cruft left over both from Livewire and also from when the UI was more complicated.

However, in cleaning this up, you can no longer click on the image of the card to get to the page. Can you help with that?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I think it was because the image comes later in the DOM... I found two fixes for this:

  1. Move the heading to the bottom and flip it with flexbox (I chose this one)
  2. Add an extra link that is invisible at the bottom and makes the span inside that one expand

I've chosen the first fix, but let me know if you want me to implement the other one.

routes/web.php Show resolved Hide resolved
resources/views/organizations/show.blade.php Outdated Show resolved Hide resolved
@tonysm tonysm requested a review from mattstauffer July 12, 2024 21:56
@mattstauffer
Copy link
Member

Thanks Tony!

@mattstauffer mattstauffer merged commit 591fe52 into tighten:main Jul 13, 2024
1 check passed
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.

None yet

2 participants