set end mosabegheh
This commit is contained in:
@@ -1,10 +1,74 @@
|
|||||||
import { StrictMode } from 'react'
|
import React from 'react';
|
||||||
import { createRoot } from 'react-dom/client'
|
import ReactDOM from 'react-dom/client';
|
||||||
import './index.css'
|
import './index.css';
|
||||||
import App from './App.tsx'
|
|
||||||
|
|
||||||
createRoot(document.getElementById('root')!).render(
|
const App: React.FC = () => {
|
||||||
<StrictMode>
|
return (
|
||||||
|
<div style={{
|
||||||
|
display: 'flex',
|
||||||
|
justifyContent: 'center',
|
||||||
|
alignItems: 'center',
|
||||||
|
minHeight: '100vh',
|
||||||
|
backgroundColor: '#f8fafc',
|
||||||
|
fontFamily: 'Vazirmatn, sans-serif',
|
||||||
|
padding: '20px'
|
||||||
|
}}>
|
||||||
|
<div style={{
|
||||||
|
textAlign: 'center',
|
||||||
|
background: 'linear-gradient(135deg, #1e3a5f 0%, #2d5a27 100%)',
|
||||||
|
padding: '50px 40px',
|
||||||
|
borderRadius: '24px',
|
||||||
|
boxShadow: '0 20px 60px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(255, 255, 255, 0.1)',
|
||||||
|
maxWidth: '500px',
|
||||||
|
width: '100%'
|
||||||
|
}}>
|
||||||
|
<div style={{
|
||||||
|
fontSize: '80px',
|
||||||
|
marginBottom: '20px',
|
||||||
|
lineHeight: 1,
|
||||||
|
filter: 'drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2))'
|
||||||
|
}}>
|
||||||
|
⏰
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<h1 style={{
|
||||||
|
color: '#fbbf24',
|
||||||
|
fontSize: '32px',
|
||||||
|
fontWeight: 800,
|
||||||
|
margin: '0 0 15px 0',
|
||||||
|
letterSpacing: '-0.5px',
|
||||||
|
textShadow: '0 2px 4px rgba(0, 0, 0, 0.3)'
|
||||||
|
}}>
|
||||||
|
زمان مسابقه به پایان رسیده است
|
||||||
|
</h1>
|
||||||
|
|
||||||
|
<div style={{
|
||||||
|
width: '60px',
|
||||||
|
height: '4px',
|
||||||
|
background: 'linear-gradient(90deg, #fbbf24, #f59e0b)',
|
||||||
|
margin: '20px auto',
|
||||||
|
borderRadius: '2px',
|
||||||
|
opacity: 0.8
|
||||||
|
}}></div>
|
||||||
|
|
||||||
|
<p style={{
|
||||||
|
color: '#e2e8f0',
|
||||||
|
fontSize: '16px',
|
||||||
|
fontWeight: 400,
|
||||||
|
margin: '0',
|
||||||
|
lineHeight: 1.8,
|
||||||
|
opacity: 0.9
|
||||||
|
}}>
|
||||||
|
از همراهی و مشارکت شما در مسابقه بزرگ غدیر<br />
|
||||||
|
صمیمانه سپاسگزاریم
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
);
|
||||||
|
};
|
||||||
|
|
||||||
|
ReactDOM.createRoot(document.getElementById('root')!).render(
|
||||||
|
<React.StrictMode>
|
||||||
<App />
|
<App />
|
||||||
</StrictMode>,
|
</React.StrictMode>
|
||||||
)
|
);
|
||||||
@@ -23,7 +23,7 @@ public class AdminController : ControllerBase
|
|||||||
[HttpGet("report")]
|
[HttpGet("report")]
|
||||||
public async Task<IActionResult> GetReport([FromQuery] string password)
|
public async Task<IActionResult> GetReport([FromQuery] string password)
|
||||||
{
|
{
|
||||||
if (password != _appConfig.AdminPassword)
|
// if (password != _appConfig.AdminPassword)
|
||||||
{
|
{
|
||||||
return StatusCode(403, new { message = "رمز عبور اشتباه است." });
|
return StatusCode(403, new { message = "رمز عبور اشتباه است." });
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user