🎨 style(new!): add new ui vue.js

Signed-off-by: Abhiraj Roy <157954129+iconized@users.noreply.github.com>
This commit is contained in:
Abhiraj Roy
2024-06-05 04:26:16 +05:30
parent 4878325171
commit 5f4ddc3090
110 changed files with 9442 additions and 0 deletions

14
utils/github-api.js Normal file
View File

@@ -0,0 +1,14 @@
/**
* Get a gist from Github API by gist ID
* @param {*} gistId
* @returns
*/
const getGistById = async (gistId) => {
const response = await fetch('https://api.github.com/gists/' + gistId)
return response.json()
}
module.exports = {
getGistById
}