|
|
@ -2,7 +2,6 @@ import { Divider } from 'antd';
|
|
|
|
import React from 'react';
|
|
|
|
import React from 'react';
|
|
|
|
import { useParams } from 'react-router';
|
|
|
|
import { useParams } from 'react-router';
|
|
|
|
import { InviteInfo } from './InviteInfo';
|
|
|
|
import { InviteInfo } from './InviteInfo';
|
|
|
|
import bgImage from '@assets/images/bg.jpg';
|
|
|
|
|
|
|
|
import { JoinBtn } from './JoinBtn';
|
|
|
|
import { JoinBtn } from './JoinBtn';
|
|
|
|
import { PortalHost } from '@/components/Portal';
|
|
|
|
import { PortalHost } from '@/components/Portal';
|
|
|
|
import { useRecordMeasure } from '@/utils/measure-helper';
|
|
|
|
import { useRecordMeasure } from '@/utils/measure-helper';
|
|
|
@ -16,10 +15,7 @@ export const InviteRoute: React.FC = React.memo(() => {
|
|
|
|
|
|
|
|
|
|
|
|
return (
|
|
|
|
return (
|
|
|
|
<PortalHost>
|
|
|
|
<PortalHost>
|
|
|
|
<div
|
|
|
|
<div className="h-full w-full bg-gray-600 flex justify-center items-center tc-background">
|
|
|
|
className="h-full w-full bg-gray-600 flex justify-center items-center bg-center bg-cover bg-no-repeat"
|
|
|
|
|
|
|
|
style={{ backgroundImage: `url(${bgImage})` }}
|
|
|
|
|
|
|
|
>
|
|
|
|
|
|
|
|
<div className="w-96 p-4 rounded-lg shadow-lg bg-black bg-opacity-60 text-center">
|
|
|
|
<div className="w-96 p-4 rounded-lg shadow-lg bg-black bg-opacity-60 text-center">
|
|
|
|
<InviteInfo inviteCode={inviteCode} />
|
|
|
|
<InviteInfo inviteCode={inviteCode} />
|
|
|
|
|
|
|
|
|
|
|
|