-
Notifications
You must be signed in to change notification settings - Fork 209
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e6a3617
commit d760c5c
Showing
2 changed files
with
21 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,24 @@ | ||
<template> | ||
<div class="mb-3 flex rounded-2xl"> | ||
<div class="flex min-h-[250px] min-w-[300px] flex-col gap-4 rounded-2xl bg-bg-raised p-6"> | ||
<p class="m-0 text-xl font-bold text-contrast">90% of ad revenue goes to creators</p> | ||
<nuxt-link to="/plus" class="mt-auto flex items-center gap-1 text-purple hover:underline"> | ||
<div class="ad-parent mb-3 flex w-full justify-center rounded-2xl bg-bg-raised"> | ||
<div class="flex max-h-[250px] min-h-[250px] min-w-[300px] max-w-[300px] flex-col gap-4 p-6"> | ||
<p class="m-0 text-2xl font-bold text-contrast">90% of ad revenue goes to creators</p> | ||
<nuxt-link to="/plus" class="mt-auto items-center gap-1 text-purple hover:underline"> | ||
<span> | ||
Go ad-free with | ||
<span class="font-bold"><span class="text-contrast">Modrinth</span>+</span> | ||
Support creators and Modrinth ad-free with | ||
<span class="font-bold">Modrinth+</span> | ||
</span> | ||
<ChevronRightIcon class="h-5 w-5" /> | ||
<ChevronRightIcon class="relative top-[3px] h-5 w-5" /> | ||
</nuxt-link> | ||
</div> | ||
</div> | ||
</template> | ||
<script setup lang="ts"> | ||
import { ChevronRightIcon } from "@modrinth/assets"; | ||
</script> | ||
<style lang="scss" scoped> | ||
@media (max-width: 324px) { | ||
.ad-parent { | ||
display: none; | ||
} | ||
} | ||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters