Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: koda logo #330

Merged
merged 4 commits into from
Sep 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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';
Loading