Skip to content

Task/patches#4

Open
jos-hoving wants to merge 8 commits intomasterfrom
task/patches
Open

Task/patches#4
jos-hoving wants to merge 8 commits intomasterfrom
task/patches

Conversation

@jos-hoving
Copy link

No description provided.


private function generateSwitchButton(string $url, string $storeName): string
{
return '<a href="' . $url . '" class="block px-4 py-2 rounded-md lg:px-5 lg:py-2 hover:bg-tertiary hover:underline underline-offset-2">
Copy link
Member

Choose a reason for hiding this comment

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

Is this for a language switch?

If so, you could maybe use the lang attribute, eg:

<ul>
  <li><a href="..." lang="de">Deutsch</a></li>
  <li><a href="..." lang="it">Italiano</a></li>
  <li><a href="..." lang="fr">Français</a></li>

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.

3 participants