Files
zeekay 3d5244bb4c feat: Lux Financial landing page
Regulated banking platform marketing site covering:
- Fiat, crypto, stablecoins, digital securities
- CEX, DEX, AMM
- 200+ countries
- Payments, treasury, and banking infrastructure

Built on Next.js static export, deployed via hanzoai/spa on lux-k8s.

Migrated from luxfi/bank v1-archive branch.
2026-04-20 17:02:40 -07:00

129 lines
5.3 KiB
JavaScript

"use strict";
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
var desc = Object.getOwnPropertyDescriptor(m, k);
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
desc = { enumerable: true, get: function() { return m[k]; } };
}
Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
}));
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
Object.defineProperty(o, "default", { enumerable: true, value: v });
}) : function(o, v) {
o["default"] = v;
});
var __importStar = (this && this.__importStar) || function (mod) {
if (mod && mod.__esModule) return mod;
var result = {};
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
__setModuleDefault(result, mod);
return result;
};
Object.defineProperty(exports, "__esModule", { value: true });
const styled_components_1 = __importStar(require("styled-components"));
const getPaddingLeft = ({ theme, $roundness, $leadingIcon }) => {
if ($leadingIcon)
return `${theme.padding.xxxl.value}`;
if ($roundness === 'pill')
return `${theme.padding.sm.value}`;
return `${theme.padding.xs.value}`;
};
const getPaddingRight = ({ theme, $roundness, $inputMode, $trailingIcon, }) => {
if ($trailingIcon)
return `${$inputMode === 'search' ? '84px' : theme.padding.xxxl.value}`;
if ($inputMode === 'search')
return `${theme.padding.xxxl.value}`;
if ($roundness === 'pill')
return `${theme.padding.sm.value}`;
return `${theme.padding.xs.value}`;
};
const roundness = ({ theme, $roundness }) => {
if ($roundness === 'pill')
return theme.borderRadius['radius-full'].value;
if ($roundness === 'rounded')
return theme.borderRadius['radius-md'].value;
return theme.borderRadius['radius-zero'].value;
};
const Input = styled_components_1.default.input `
box-sizing: border-box;
height: ${({ theme }) => theme.height.xl.value};
width: 100%;
font-family: ${({ theme }) => `var(--${theme.typography.body.md_regular.value.fontFamily})`};
font-size: ${({ theme }) => theme.typography.body.md_regular.value.fontSize};
color: ${({ theme }) => theme.textColor.interactive.enabled.value};
border-style: solid;
border-width: ${({ theme }) => theme.borderWidth['width-sm'].value};
border-color: ${({ theme, $errorText }) => $errorText ? theme.borderColor.feedback.negative.value : theme.borderColor.interactive.default.value};
border-radius: ${roundness};
padding-left: ${getPaddingLeft};
padding-right: ${getPaddingRight};
transition:
outline-color 0.3s ease-in-out,
border-color 0.1s ease-in-out;
&::placeholder {
color: ${({ theme }) => theme.textColor.interactive.placeholder.value};
}
&:disabled {
cursor: not-allowed;
color: ${({ theme }) => theme.textColor.interactive.disabled.value};
&::placeholder {
color: ${({ theme }) => theme.textColor.interactive.disabled.value};
}
}
&:read-only {
cursor: default;
outline: none;
}
&&:focus {
outline-style: solid;
outline-width: ${({ theme }) => theme.borderWidth['width-sm'].value};
outline-color: ${({ theme, $errorText }) => theme.borderColor.interactive[$errorText ? 'focus-negative' : 'focus-default'].value};
border-color: ${({ theme, $errorText }) => theme.borderColor.interactive[$errorText ? 'focus-negative' : 'focus-default'].value};
}
&[type='search']::-webkit-search-cancel-button {
-webkit-appearance: none;
position: absolute;
height: 20px;
width: 20px;
right: ${({ theme, $trailingIcon }) => ($trailingIcon ? theme.padding.xxxl.value : theme.padding.xs.value)};
cursor: pointer;
/* url background icon converted to base64 (https://www.base64encode.org/) */
background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iODAwcHgiIGhlaWdodD0iODAwcHgiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICAgIDxjaXJjbGUgb3BhY2l0eT0iMC41IiBjeD0iMTIiIGN5PSIxMiIgcj0iMTAiIHN0cm9rZT0iIzBiMTkzNiIgc3Ryb2tlLXdpZHRoPSIxLjUiIC8+CiAgICA8cGF0aCBkPSJNMTQuNSA5LjUwMDAyTDkuNSAxNC41TTkuNDk5OTggOS41TDE0LjUgMTQuNSIgc3Ryb2tlPSIjMGIxOTM2IiBzdHJva2Utd2lkdGg9IjEuNSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiAvPgo8L3N2Zz4=');
background-size: contain;
}
`;
const Container = styled_components_1.default.div `
display: flex;
flex-direction: column;
gap: ${({ theme }) => theme.gap.xxxs.value};
width: 100%;
`;
const IconWrapper = styled_components_1.default.div `
position: absolute;
display: flex;
align-items: center;
bottom: ${({ theme }) => theme.padding.xxs.value};
cursor: default;
${({ theme, $leading, $inputMode }) => $leading
? (0, styled_components_1.css) `
left: ${theme.padding.xs.value};
`
: (0, styled_components_1.css) `
right: ${theme.padding.xs.value};
cursor: ${$inputMode === 'password' ? 'pointer' : 'default'};
`};
`;
const InputWrapper = styled_components_1.default.div `
position: relative;
`;
exports.default = { Input, Container, IconWrapper, InputWrapper };
//# sourceMappingURL=styles.js.map