Skip to content

Commit

Permalink
re-enable ads
Browse files Browse the repository at this point in the history
  • Loading branch information
BlueSCar committed Feb 5, 2025
1 parent c2b31a6 commit 4cc6d8e
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 0 deletions.
23 changes: 23 additions & 0 deletions layouts/default.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,29 @@
const mainStore = useMainStore();
await mainStore.hyrdate();
useHead({
link: [
{
rel: "icon",
href: "https://cdn.collegefootballdata.com/favicon.ico",
}
],
script: [
{
src: "//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js",
async: true
},
{
innerHTML: `
(adsbygoogle = window.adsbygoogle || []).push({
google_ad_client: "ca-pub-3674605305984905",
enable_page_level_ads: true
});
`
}
]
})
</script>

<template>
Expand Down
10 changes: 10 additions & 0 deletions stores/navigation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,11 @@ export const useNavigationStore = defineStore("navigation", () => {
{
label: "Basketball",
items: [
{
label: "Site",
url: "https://collegebasketballdata.com",
target: "_blank",
},
{
label: "API",
url: "https://api.collegebasketballdata.com",
Expand All @@ -139,6 +144,11 @@ export const useNavigationStore = defineStore("navigation", () => {
label: "Python",
url: "https://github.com/CFBD/cbbd-python",
target: "_blank",
},
{
label: "TypeScript",
url: "https://github.com/CFBD/cbbd-typescript",
target: "_blank",
}
]
},
Expand Down

0 comments on commit 4cc6d8e

Please sign in to comment.