@opexa/portal-components 0.0.658 → 0.0.660
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -2,5 +2,5 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
2
2
|
import Image, {} from 'next/image';
|
|
3
3
|
import { AgentSignInForm } from './AgentSignInForm.js';
|
|
4
4
|
export function AgentSignIn(props) {
|
|
5
|
-
return (_jsx("div", { className: "flex min-h-dvh max-w-full justify-center py-[
|
|
5
|
+
return (_jsx("div", { className: "flex min-h-dvh max-w-full justify-center py-[11.25rem] pb-6", children: _jsxs("div", { className: "flex max-w-full flex-col items-center", children: [_jsx(Image, { src: props.logo, alt: "", width: 300, height: 75, priority: true, className: "mx-auto h-auto w-[18.438rem]" }), _jsx("h1", { className: "mt-14 font-semibold text-3xl", children: "Agent Console" }), _jsx("p", { className: "mt-3", children: "Welcome back! Please enter your details." }), _jsx("div", { className: "mt-14 w-[22.5rem] max-w-full", children: _jsx(AgentSignInForm, {}) })] }) }));
|
|
6
6
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import {
|
|
2
|
+
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
3
3
|
import { isString, noop } from 'lodash-es';
|
|
4
4
|
import Link from 'next/link';
|
|
5
5
|
import { useEffect, useState } from 'react';
|
|
@@ -46,7 +46,7 @@ export function GamesList__client(props) {
|
|
|
46
46
|
const classNames = isString(props.className)
|
|
47
47
|
? { root: props.className }
|
|
48
48
|
: (props.className ?? {});
|
|
49
|
-
return (_jsxs("div", { className: classNames.root, id: "games-list", children: [_jsxs("div", { className: "flex flex-col lg:flex-row lg:items-center lg:justify-between", children: [
|
|
49
|
+
return (_jsxs("div", { className: classNames.root, id: "games-list", children: [_jsxs("div", { className: "flex flex-col lg:flex-row lg:items-center lg:justify-between", children: [_jsx("h2", { className: "order-2 mt-4xl font-semibold text-lg lg:order-none lg:mt-0", children: props.heading ?? 'Games' }), props.viewGameProvidersUrl && (_jsxs(Link, { href: props.viewGameProvidersUrl, className: "order-1 flex items-center gap-sm font-semibold text-button-tertiary-fg text-lg lg:order-none lg:text-sm", children: [_jsx(ChevronLeftIcon, { className: "size-5" }), "Back to all Providers"] }))] }), totalRows <= 0 && (_jsx(Empty, { icon: loading ? SpinnerIcon : GamingPad01Icon, title: loading ? 'Just a moment' : 'No games', message: loading
|
|
50
50
|
? 'Fetching latest games...'
|
|
51
51
|
: 'No game is currently available. Please check back later', className: "mt-lg" })), totalRows >= 1 && (_jsxs(_Fragment, { children: [_jsx("div", { className: "mt-lg grid grid-cols-3 gap-1.5 lg:grid-cols-6 lg:gap-2.5", children: (pagination === 'paginated' ? paginatedRows : availableRows).map((game) => (_jsx(GameContext, { value: game, children: _jsx(Game, { badge: props.badge, className: {
|
|
52
52
|
root: classNames.thumbnailRoot,
|