set end mosabegheh

This commit is contained in:
2026-06-05 21:09:56 +03:30
parent 8079166f22
commit 72b15b8c16
2 changed files with 73 additions and 9 deletions

View File

@@ -1,10 +1,74 @@
import { StrictMode } from 'react'
import { createRoot } from 'react-dom/client'
import './index.css'
import App from './App.tsx'
import React from 'react';
import ReactDOM from 'react-dom/client';
import './index.css';
createRoot(document.getElementById('root')!).render(
<StrictMode>
const App: React.FC = () => {
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 />
</StrictMode>,
)
</React.StrictMode>
);

View File

@@ -23,7 +23,7 @@ public class AdminController : ControllerBase
[HttpGet("report")]
public async Task<IActionResult> GetReport([FromQuery] string password)
{
if (password != _appConfig.AdminPassword)
// if (password != _appConfig.AdminPassword)
{
return StatusCode(403, new { message = "رمز عبور اشتباه است." });
}