Skip to content

Commit

Permalink
Refactor non-active repository link template
Browse files Browse the repository at this point in the history
The non-active repository link template in the course page repository dropdown has been refactored. Changes include:

 • Added proper indentation and line breaks for better readability.
 • Reorganized the image tags for the repository language logos.
 • Added a missing newline at the end of the file.

These changes improve the structure and maintainability of the template.
  • Loading branch information
rohitpaulk committed May 13, 2024
1 parent a6ebeca commit 02fc359
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,12 @@
</div>

<div class="text-gray-400 text-xs ml-6">
<img src={{@repository.language.grayLogoUrl}} alt={{@repository.language.name}} class="opacity-75 w-6 h-6 block group-hover:hidden flex-shrink-0" />
<img
src={{@repository.language.grayLogoUrl}}
alt={{@repository.language.name}}
class="opacity-75 w-6 h-6 block group-hover:hidden flex-shrink-0"
/>

<img src={{@repository.language.tealLogoUrl}} alt={{@repository.language.name}} class="w-6 h-6 hidden group-hover:block flex-shrink-0" />
</div>
</div>

0 comments on commit 02fc359

Please sign in to comment.