Skip to content

Commit

Permalink
Merge pull request #330 from kodadot/fix-koda-logo
Browse files Browse the repository at this point in the history
  • Loading branch information
vikiival authored Sep 10, 2024
2 parents 5cc5d59 + f16502c commit 1754cfa
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 6 deletions.
4 changes: 2 additions & 2 deletions ogi/components/OgImage/base.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<script setup lang="ts">
import type { CSSProperties } from 'vue'
import { KODA_LOGO_URL } from '@/utils/constants'
// inherited attrs can mess up the satori parser
defineOptions({
inheritAttrs: false,
Expand Down Expand Up @@ -32,7 +32,7 @@ const cover: ComputedRef<CSSProperties> = computed(() => {
class="flex flex-col justify-end h-full w-full bg-slate-900/75 text-white p-10 text-2xl font-bold absolute inset-0"
>
<img
src="https://raw.githubusercontent.com/kodadot/kodadot-presskit/main/pre-v4/png/KodalightV4.png"
:src="KODA_LOGO_URL"
alt="logo"
class="absolute left-10 bottom-10 w-60"
/>
Expand Down
3 changes: 2 additions & 1 deletion ogi/components/OgImage/blog.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<script setup lang="ts">
import type { CSSProperties } from 'vue'
import { KODA_LOGO_URL } from '@/utils/constants'
// inherited attrs can mess up the satori parser
defineOptions({
Expand Down Expand Up @@ -29,7 +30,7 @@ const cover: CSSProperties = {
</div>

<img
src="https://raw.githubusercontent.com/kodadot/kodadot-presskit/main/pre-v4/png/KodalightV4.png"
:src="KODA_LOGO_URL"
alt="logo"
class="w-60 absolute right-20 bottom-20"
/>
Expand Down
3 changes: 2 additions & 1 deletion ogi/components/OgImage/collection.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<script setup lang="ts">
import { chainNames, type Prefix } from '@kodadot1/static';
import type { CSSProperties } from 'vue'
import { KODA_LOGO_URL } from '@/utils/constants'
// inherited attrs can mess up the satori parser
defineOptions({
Expand Down Expand Up @@ -54,7 +55,7 @@ const networkName = chainNames[props.network as Prefix]
</div>

<img
src="https://raw.githubusercontent.com/kodadot/kodadot-presskit/main/pre-v4/png/KodalightV4.png"
:src="KODA_LOGO_URL"
alt="logo"
class="absolute top-10 right-10 w-40"
/>
Expand Down
3 changes: 2 additions & 1 deletion ogi/components/OgImage/drops.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<script setup lang="ts">
import type { CSSProperties } from 'vue'
import { KODA_LOGO_URL } from '@/utils/constants'
defineOptions({
inheritAttrs: false,
Expand Down Expand Up @@ -38,7 +39,7 @@ const cover: CSSProperties = {
</div>

<img
src="https://raw.githubusercontent.com/kodadot/kodadot-presskit/main/pre-v4/png/KodalightV4.png"
:src="KODA_LOGO_URL"
alt="logo"
class="absolute top-10 right-10 w-40"
/>
Expand Down
3 changes: 2 additions & 1 deletion ogi/components/OgImage/gallery.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<script setup lang="ts">
import type { CSSProperties } from 'vue'
import { KODA_LOGO_URL } from '@/utils/constants'
// inherited attrs can mess up the satori parser
defineOptions({
Expand Down Expand Up @@ -54,6 +55,6 @@ const parsePrice = computed(() =>
</div>
</div>

<img src="https://raw.githubusercontent.com/kodadot/kodadot-presskit/main/pre-v4/png/KodalightV4.png" alt="logo"
<img :src="KODA_LOGO_URL" alt="logo"
class="absolute top-20 right-20 w-40" />
</template>
2 changes: 2 additions & 0 deletions ogi/utils/constants.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@

export const KODA_LOGO_URL = 'https://raw.githubusercontent.com/kodadot/nft-gallery/main/public/koda_logo_fill.png';

0 comments on commit 1754cfa

Please sign in to comment.