Skip to content

Commit 80743d8

Browse files
committed
Upd the rest of the og images
1 parent 4a0fa0c commit 80743d8

5 files changed

Lines changed: 12 additions & 25 deletions

File tree

components/OgImage/AddressImage.vue

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,6 @@ const props = defineProps({
1717
const bgStyles = computed(() => {
1818
return {
1919
style: {
20-
position: "absolute",
21-
top: "0",
22-
left: "0",
2320
filter: "grayscale(1)",
2421
opacity: "0.05",
2522
},
@@ -28,8 +25,8 @@ const bgStyles = computed(() => {
2825
</script>
2926

3027
<template>
31-
<div class="w-full h-full" :style="{ background: '#111111', padding: '100px 120px', fontFamily: 'IBM+Plex+Mono' }">
32-
<img src="/img/bg.png" v-bind="bgStyles" />
28+
<div class="w-full h-full" :style="{ background: '#111111', padding: '100px', fontFamily: 'IBM+Plex+Mono', overflow: 'hidden' }">
29+
<img src="/img/bg.png" width="1200" height="600" class="absolute" v-bind="bgStyles" />
3330

3431
<div :style="{ height: '100%', display: 'flex', flexDirection: 'column', gap: '40px' }">
3532
<div :style="{ display: 'flex', alignItems: 'center' }">

components/OgImage/BlockImage.vue

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,6 @@ const props = defineProps({
1717
const bgStyles = computed(() => {
1818
return {
1919
style: {
20-
position: "absolute",
21-
top: "0",
22-
left: "0",
2320
filter: "grayscale(1)",
2421
opacity: "0.05",
2522
},
@@ -30,8 +27,8 @@ const messages = computed(() => [...new Set(props.block.message_types)])
3027
</script>
3128

3229
<template>
33-
<div class="w-full h-full" :style="{ background: '#111111', padding: '100px 120px', fontFamily: 'IBM+Plex+Mono' }">
34-
<img src="/img/bg.png" v-bind="bgStyles" />
30+
<div class="w-full h-full" :style="{ background: '#111111', padding: '100px', fontFamily: 'IBM+Plex+Mono', overflow: 'hidden' }">
31+
<img src="/img/bg.png" width="1200" height="600" class="absolute" v-bind="bgStyles" />
3532

3633
<div :style="{ height: '100%', display: 'flex', flexDirection: 'column', gap: '40px' }">
3734
<div :style="{ display: 'flex' }">

components/OgImage/NamespaceImage.vue

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,6 @@ const props = defineProps({
1414
const bgStyles = computed(() => {
1515
return {
1616
style: {
17-
position: "absolute",
18-
top: "0",
19-
left: "0",
2017
filter: "grayscale(1)",
2118
opacity: "0.05",
2219
},
@@ -25,8 +22,8 @@ const bgStyles = computed(() => {
2522
</script>
2623

2724
<template>
28-
<div class="w-full h-full" :style="{ background: '#111111', padding: '100px 120px', fontFamily: 'IBM+Plex+Mono' }">
29-
<img src="/img/bg.png" v-bind="bgStyles" />
25+
<div class="w-full h-full" :style="{ background: '#111111', padding: '100px', fontFamily: 'IBM+Plex+Mono', overflow: 'hidden' }">
26+
<img src="/img/bg.png" width="1200" height="600" class="absolute" v-bind="bgStyles" />
3027

3128
<div :style="{ height: '100%', display: 'flex', flexDirection: 'column', gap: '40px' }">
3229
<div :style="{ display: 'flex', alignItems: 'center' }">

components/OgImage/StatsMetricImage.vue

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,16 @@ const props = defineProps({
1111
const bgStyles = computed(() => {
1212
return {
1313
style: {
14-
position: "absolute",
15-
top: "0",
16-
left: "0",
14+
filter: "grayscale(1)",
15+
opacity: "0.05",
1716
},
1817
}
1918
})
2019
</script>
2120

2221
<template>
23-
<div class="w-full h-full" :style="{ padding: '80px 140px', fontFamily: 'IBM+Plex+Mono' }">
24-
<img src="/img/stats_bg.png" v-bind="bgStyles" />
22+
<div class="w-full h-full" :style="{ background: '#111111', padding: '80px', fontFamily: 'IBM+Plex+Mono', overflow: 'hidden' }">
23+
<img src="/img/stats_bg.png" width="1200" height="600" class="absolute" v-bind="bgStyles" />
2524

2625
<div :style="{ height: '100%', display: 'flex', flexDirection: 'column', gap: '80px' }">
2726
<div :style="{ display: 'flex', alignItems: 'center' }">

components/OgImage/ValidatorImage.vue

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,6 @@ const props = defineProps({
1414
const bgStyles = computed(() => {
1515
return {
1616
style: {
17-
position: "absolute",
18-
top: "0",
19-
left: "0",
2017
filter: "grayscale(1)",
2118
opacity: "0.05",
2219
},
@@ -25,8 +22,8 @@ const bgStyles = computed(() => {
2522
</script>
2623

2724
<template>
28-
<div class="w-full h-full" :style="{ background: '#111111', padding: '100px 80px', fontFamily: 'IBM+Plex+Mono' }">
29-
<img src="/img/bg.png" v-bind="bgStyles" />
25+
<div class="w-full h-full" :style="{ background: '#111111', padding: '100px', fontFamily: 'IBM+Plex+Mono', overflow: 'hidden' }">
26+
<img src="/img/bg.png" width="1200" height="600" class="absolute" v-bind="bgStyles" />
3027

3128
<div :style="{ height: '100%', display: 'flex', flexDirection: 'column', gap: '50px' }">
3229
<div :style="{ display: 'flex', alignItems: 'center' }">

0 commit comments

Comments
 (0)