forked from www/www-new
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
619 B
24 lines
619 B
import React from "react";
|
|
|
|
import { Image } from "@/components/Image";
|
|
|
|
import { DefaultLayout } from "./DefaultLayout";
|
|
|
|
import styles from "./Bubble.module.css";
|
|
|
|
export function Bubble(props: { children: React.ReactNode }) {
|
|
return (
|
|
<div className={styles.container}>
|
|
<div className={styles.bubble} aria-hidden>
|
|
<div className={styles.bar} />
|
|
<Image
|
|
className={styles.decoration}
|
|
src="/images/bubble-decoration.svg"
|
|
/>
|
|
</div>
|
|
<div className={styles.content}>
|
|
<DefaultLayout>{props.children}</DefaultLayout>
|
|
</div>
|
|
</div>
|
|
);
|
|
}
|
|
|