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

Move links in footer to settings in admin aread #234

Open
p0lygun opened this issue Jul 27, 2024 · 0 comments
Open

Move links in footer to settings in admin aread #234

p0lygun opened this issue Jul 27, 2024 · 0 comments
Labels
0 priority: High 🥇 issues that must be addressed ASAP enhancement ✨✨ New feature or request good first issue 🎖 Good for newcomers help wanted 🙏 Extra attention is needed type:backend 🖥 issues that need addition/modification on backend
Milestone

Comments

@p0lygun
Copy link
Member

p0lygun commented Jul 27, 2024

<div class="flex flex-row flex-wrap gap-x-1 gap-y-1 items-center justify-center text-white text-sm">
{% with 14 as icon_width %}
<a class="flex flex-row gap-x-1 items-center" href="https://bfportal.gg/join" target="_blank">
Made with
<img src="{% static 'svgs/card/heart_liked.svg' %}" alt="" onmouseenter="handle_hover_for_footer_heart(this)" width="{{ icon_width }}">
at
<span class="text-bf2042-4 font-bold hover:text-bf2042-6 transition duration-200 ease-in-out">Battlefield Portal Community.</span>
</a>
<a class="hidden md:flex flex-row gap-x-1 items-center" href="https://www.patreon.com/battlefield_portal_community" target="_blank">
Support us on
<span class="text-bf2042-4 hover:text-bf2042-6 transition duration-200 ease-in-out">
<img src="{% static 'svgs/patreon.svg' %}" alt="" onmouseenter="handle_hover_for_footer_heart(this)" width="{{ icon_width }}">
</span>
</a>
<a class="hidden md:flex flex-row gap-x-1 items-center" href="https://twitter.com/BF2042_Portal/" target="_blank">
Follow us on
<span class="text-bf2042-4 hover:text-bf2042-6 transition duration-200 ease-in-out">
<img src="{% static 'svgs/twitter.svg' %}" alt="" onmouseenter="handle_hover_for_footer_heart(this)" width="{{ icon_width }}">
</span>
</a>
<a class="hidden md:flex flex-row gap-x-1 items-center" href="https://github.com/battlefield-portal-community" target="_blank">
Codebase at
<span class="text-bf2042-4 hover:text-bf2042-6 transition duration-200 ease-in-out">
<img src="{% static 'svgs/gh.svg' %}" alt="" onmouseenter="handle_hover_for_footer_heart(this)" width="{{ icon_width }}">
</span>
</a>
{% endwith %}
</div>

recently we updated our twitter name from BF2042_portal to bf_portal_hub, as the links are hardcoded in the footer updation needs a code change, to have better maintainability we should move the links to settings in wagtail admin area

@p0lygun p0lygun added enhancement ✨✨ New feature or request help wanted 🙏 Extra attention is needed good first issue 🎖 Good for newcomers 0 priority: High 🥇 issues that must be addressed ASAP type:backend 🖥 issues that need addition/modification on backend labels Jul 27, 2024
@p0lygun p0lygun added this to the v1.5 milestone Jul 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0 priority: High 🥇 issues that must be addressed ASAP enhancement ✨✨ New feature or request good first issue 🎖 Good for newcomers help wanted 🙏 Extra attention is needed type:backend 🖥 issues that need addition/modification on backend
Projects
Status: Todo
Development

No branches or pull requests

1 participant