mirror of
https://github.com/NohamR/gitprofile.git
synced 2026-11-25 15:29:54 +00:00
Added an option to display a custom footer
Added an option in config file. Added a component which renders the custom footer or a default footer if no custom footer is defined. Updated readme file with related instructions.
This commit is contained in:
1 parent
a7fa79b3ee
commit
fff850f94f
6 files changed
+106
-33
No files matched your search
@@ -135,6 +135,7 @@ export const sanitizeConfig = (config) => {
|
||||
];
|
||||
|
||||
return {
|
||||
footer: config?.footer,
|
||||
github: {
|
||||
username: config?.github?.username || '',
|
||||
sortBy: config?.github?.sortBy || 'stars',
|
||||
@@ -207,7 +208,7 @@ export const tooManyRequestError = (reset) => {
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
>
|
||||
rate limit.
|
||||
rate limit
|
||||
</a>
|
||||
! Try again later{` ${reset}`}.
|
||||
</p>
|
||||
|
||||
Reference in new issue
Block a user