Hello @Daniel Chee
I believe the article below can help you better understand how to solve this problem, also checking the example commands you can use:
https://learn.microsoft.com/en-us/sharepoint/dev/features/site-footer
If the answer was helpful, please don't forget to vote positively or accept as an answer, thank you.