mirror of
https://github.com/NohamR/gitprofile.git
synced 2026-05-25 12:27:17 +00:00
Add dynamic meta tags
This commit is contained in:
@@ -52,4 +52,19 @@ export const ga = {
|
||||
console.error(error);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
export const isThemeDarkish = (theme) => {
|
||||
if (
|
||||
theme === 'dark' ||
|
||||
theme === 'halloween' ||
|
||||
theme === 'forest' ||
|
||||
theme === 'black' ||
|
||||
theme === 'luxury' ||
|
||||
theme === 'dracula'
|
||||
) {
|
||||
return true;
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user