mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-11-14 13:16:11 +01:00
migrate 1
This commit is contained in:
1 parent
c637343593
commit
9839d4eef5
14 files changed
+263
-183
No files matched your search
@@ -0,0 +1,12 @@
|
||||
.plug {
|
||||
display: flex;
|
||||
|
||||
.content {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
||||
justify-content: center;
|
||||
|
||||
padding: var(--space-3) var(--space-5);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,37 @@
|
||||
import { Var } from "../../core/radix/var";
|
||||
import { Heading } from "../Heading";
|
||||
import { Link } from "../Link";
|
||||
import { Text } from "../Text";
|
||||
import styles from "./index.module.css";
|
||||
|
||||
export function AesonPlug() {
|
||||
return (
|
||||
<Link
|
||||
color="gray"
|
||||
highContrast
|
||||
href="https://discord.gg/WHdER7ZPAD"
|
||||
underline="hover"
|
||||
>
|
||||
<div
|
||||
className={styles.plug}
|
||||
style={{
|
||||
backgroundColor: Var("green-3"),
|
||||
borderRadius: Var("radius-3"),
|
||||
overflow: "hidden",
|
||||
}}
|
||||
>
|
||||
<img
|
||||
src="/assets/images/third-party/wotb-news.png"
|
||||
style={{ width: "6rem", height: "6rem", objectFit: "cover" }}
|
||||
/>
|
||||
|
||||
<div className={styles.content}>
|
||||
<Heading size="5">Preview brought to you by WoT Blitz News</Heading>
|
||||
<Text color="gray">
|
||||
Join the Discord for the absolute latest news
|
||||
</Text>
|
||||
</div>
|
||||
</div>
|
||||
</Link>
|
||||
);
|
||||
}
|
||||
Reference in new issue
Block a user