@reown/appkit-ui
Version:
The full stack toolkit to build onchain app UX.
43 lines • 1.8 kB
JavaScript
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
return c > 3 && r && Object.defineProperty(target, key, r), r;
};
import { LitElement, html } from 'lit';
import '../../components/wui-icon/index.js';
import '../../components/wui-text/index.js';
import '../../layout/wui-flex/index.js';
import { REOWN_URL } from '../../utils/ConstantsUtil.js';
import { elementStyles, resetStyles } from '../../utils/ThemeUtil.js';
import { customElement } from '../../utils/WebComponentsUtil.js';
import styles from './styles.js';
let WuiUxByReown = class WuiUxByReown extends LitElement {
render() {
return html `
<a
data-testid="ux-branding-reown"
href=${REOWN_URL}
rel="noreferrer"
target="_blank"
style="text-decoration: none;"
>
<wui-flex
justifyContent="center"
alignItems="center"
gap="1"
.padding=${['01', '0', '3', '0']}
>
<wui-text variant="sm-regular" color="inherit"> UX by </wui-text>
<wui-icon name="reown" size="inherit" class="reown-logo"></wui-icon>
</wui-flex>
</a>
`;
}
};
WuiUxByReown.styles = [resetStyles, elementStyles, styles];
WuiUxByReown = __decorate([
customElement('wui-ux-by-reown')
], WuiUxByReown);
export { WuiUxByReown };
//# sourceMappingURL=index.js.map