403Webshell
Server IP : 69.72.244.102  /  Your IP : 216.73.216.164
Web Server : LiteSpeed
System : Linux s3434.fra1.stableserver.net 4.18.0-513.24.1.lve.2.el8.x86_64 #1 SMP Fri May 24 12:42:50 UTC 2024 x86_64
User : konzalta ( 1271)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/konzalta/public_html/wp-content/plugins/leadin/scripts/shared/UIComponents/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/konzalta/public_html/wp-content/plugins/leadin/scripts/shared/UIComponents/UIAlert.tsx
import React from 'react';
import { styled } from '@linaria/react';
import { MARIGOLD_LIGHT, MARIGOLD_MEDIUM, OBSIDIAN } from './colors';

const AlertContainer = styled.div`
  background-color: ${MARIGOLD_LIGHT};
  border-color: ${MARIGOLD_MEDIUM};
  color: ${OBSIDIAN};
  font-size: 14px;
  align-items: center;
  justify-content: space-between;
  display: flex;
  border-style: solid;
  border-top-style: solid;
  border-right-style: solid;
  border-bottom-style: solid;
  border-left-style: solid;
  border-width: 1px;
  min-height: 60px;
  padding: 8px 20px;
  position: relative;
  text-align: left;
`;

const Title = styled.p`
  font-family: 'Lexend Deca';
  font-style: normal;
  font-weight: 700;
  font-size: 16px;
  line-height: 19px;
  color: ${OBSIDIAN};
  margin: 0;
  padding: 0;
`;

const Message = styled.p`
  font-family: 'Lexend Deca';
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  margin: 0;
  padding: 0;
`;

const MessageContainer = styled.div`
  display: flex;
  flex-direction: column;
`;

interface IUIAlertProps {
  titleText: string;
  titleMessage: string;
}

export default function UIAlert({
  titleText,
  titleMessage,
  children,
}: React.PropsWithChildren<IUIAlertProps>) {
  return (
    <AlertContainer>
      <MessageContainer>
        <Title>{titleText}</Title>
        <Message>{titleMessage}</Message>
      </MessageContainer>
      {children}
    </AlertContainer>
  );
}

Youez - 2016 - github.com/yon3zu
LinuXploit