Skip to content
This repository has been archived by the owner on Aug 28, 2024. It is now read-only.

Commit

Permalink
Switch to new ad (#82)
Browse files Browse the repository at this point in the history
  • Loading branch information
Geometrically authored Aug 5, 2023
1 parent 05fda90 commit a372cbb
Show file tree
Hide file tree
Showing 4 changed files with 49 additions and 58 deletions.
28 changes: 28 additions & 0 deletions lib/assets/external/bh.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
37 changes: 0 additions & 37 deletions lib/assets/external/exaroton.svg

This file was deleted.

40 changes: 20 additions & 20 deletions lib/components/base/Promotion.vue
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
<template>
<div class="MYYLVTXBPUVWMLVBPVSDLHADDRYFBF">
<div class="MYYLVTXBPUVWMLVBPVSDLHADDRYFBF-0">
<div class="MYYLVTXBPUVWMLVBPVSDLHADDRYFBF-1">
<div class="MYYLVTXBPUVWMLVBPVSDLHADDRYFBF-2">
<div class="GBBNWLJVGRHFLYVGSZKSSKNTHFYXHMBD">
<div class="GBBNWLJVGRHFLYVGSZKSSKNTHFYXHMBD-0">
<div class="GBBNWLJVGRHFLYVGSZKSSKNTHFYXHMBD-1">
<div class="GBBNWLJVGRHFLYVGSZKSSKNTHFYXHMBD-2">
<a
href="https://exaroton.com/?utm_source=modrinth&utm_medium=text&utm_campaign=host&utm_content=top"
href="https://bisecthosting.com/modrinth"
rel="noopener nofollow sponsored"
:target="target"
>
<ExarotonIcon class="MYYLVTXBPUVWMLVBPVSDLHADDRYFBF-3" />
<BisectIcon class="GBBNWLJVGRHFLYVGSZKSSKNTHFYXHMBD-3" />
<span>
<span> Host your Minecraft server on </span>
<strong>exaroton</strong>
<span> - only pay while the server is running - billed per second. </span>
<strong>BisectHosting</strong>
<span> - get 25% your first month with code <strong>MODRINTH</strong>. </span>
</span>
</a>
</div>
</div>
<div class="MYYLVTXBPUVWMLVBPVSDLHADDRYFBF-4">
<div class="GBBNWLJVGRHFLYVGSZKSSKNTHFYXHMBD-4">
<a rel="noopener sponsored" :target="target" href="https://adrinth.com">
Ads via Adrinth
</a>
Expand All @@ -27,7 +27,7 @@
</template>
<script setup>
import { computed } from 'vue'
import ExarotonIcon from '@/assets/external/exaroton.svg'
import BisectIcon from '@/assets/external/bh.svg'
const props = defineProps({
external: {
type: Boolean,
Expand All @@ -38,23 +38,23 @@ const target = computed(() => (props.external ? '_blank' : '_self'))
</script>

<style lang="scss">
.MYYLVTXBPUVWMLVBPVSDLHADDRYFBF {
.GBBNWLJVGRHFLYVGSZKSSKNTHFYXHMBD {
position: relative;
margin-bottom: var(--gap-md);
background: var(--color-ad);
border: 3px solid var(--color-ad-raised);
border-radius: var(--radius-lg);
}
.MYYLVTXBPUVWMLVBPVSDLHADDRYFBF-0 {
.GBBNWLJVGRHFLYVGSZKSSKNTHFYXHMBD-0 {
font-size: 14px;
line-height: 1.3em;
}
.MYYLVTXBPUVWMLVBPVSDLHADDRYFBF-1 {
.GBBNWLJVGRHFLYVGSZKSSKNTHFYXHMBD-1 {
color: var(--color-base);
padding: 1em;
text-align: left;
}
.MYYLVTXBPUVWMLVBPVSDLHADDRYFBF-2 a {
.GBBNWLJVGRHFLYVGSZKSSKNTHFYXHMBD-2 a {
display: flex;
align-items: center;
gap: 0.5rem;
Expand All @@ -64,16 +64,16 @@ const target = computed(() => (props.external ? '_blank' : '_self'))
text-decoration: none;
}
}
.MYYLVTXBPUVWMLVBPVSDLHADDRYFBF-2 a b,
.MYYLVTXBPUVWMLVBPVSDLHADDRYFBF-2 a strong {
.GBBNWLJVGRHFLYVGSZKSSKNTHFYXHMBD-2 a b,
.GBBNWLJVGRHFLYVGSZKSSKNTHFYXHMBD-2 a strong {
color: #088cdb;
}
.MYYLVTXBPUVWMLVBPVSDLHADDRYFBF-3 {
.GBBNWLJVGRHFLYVGSZKSSKNTHFYXHMBD-3 {
padding-top: 1px;
height: 1.2rem;
width: auto;
}
.MYYLVTXBPUVWMLVBPVSDLHADDRYFBF-4 a {
.GBBNWLJVGRHFLYVGSZKSSKNTHFYXHMBD-4 a {
position: absolute;
bottom: -2px;
right: -2px;
Expand All @@ -97,10 +97,10 @@ const target = computed(() => (props.external ? '_blank' : '_self'))
}
}
@media screen and (max-width: 800px) {
.MYYLVTXBPUVWMLVBPVSDLHADDRYFBF-2 {
.GBBNWLJVGRHFLYVGSZKSSKNTHFYXHMBD-2 {
margin-bottom: 0.5rem;
}
.MYYLVTXBPUVWMLVBPVSDLHADDRYFBF-2 a {
.GBBNWLJVGRHFLYVGSZKSSKNTHFYXHMBD-2 a {
align-items: flex-start;
flex-direction: column;
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "omorphia",
"type": "module",
"version": "0.4.34",
"version": "0.4.35",
"files": [
"dist",
"lib"
Expand Down

0 comments on commit a372cbb

Please sign in to comment.