|
| 1 | +import React from 'react'; |
| 2 | + |
| 3 | +interface Props { |
| 4 | + // No additional props needed |
| 5 | +} |
| 6 | + |
| 7 | +const WelcomeSection: React.FC<Props> = () => { |
| 8 | + return ( |
| 9 | + <div style={{ |
| 10 | + display: 'flex', |
| 11 | + flexDirection: 'column', |
| 12 | + alignItems: 'center', |
| 13 | + justifyContent: 'center', |
| 14 | + textAlign: 'center', |
| 15 | + padding: 40, |
| 16 | + borderRadius: '10px', |
| 17 | + background: '#000000', // Solid black background |
| 18 | + boxShadow: '0 0 20px rgba(255, 255, 255, 0.2)', // White glow effect |
| 19 | + color: '#ffffff', // Light text color |
| 20 | + fontFamily: 'Roboto, Arial, sans-serif', // Modern font |
| 21 | + }}> |
| 22 | + <h2> |
| 23 | + <img src="https://cdn.topiclist.xyz/images/png/TopicList5.png" alt="Futuristic Logo" style={{ width: 150, height: 150, borderRadius: '50%', objectFit: 'cover', border: '2px solid #00bfff' }} /> |
| 24 | + </h2> |
| 25 | + |
| 26 | + <p style={{ fontSize: '1.5em', margin: '20px 0', color: '#b8b8b8' }}>Welcome to Topic Docs!</p> |
| 27 | + <p style={{ marginBottom: '30px', fontSize: '1.2em', color: '#e0e0e0' }}>On this website, we will show you how to use our API on your services. We're here to help you use our site.</p> |
| 28 | + |
| 29 | + <div style={{ |
| 30 | + display: 'flex', |
| 31 | + justifyContent: 'center', |
| 32 | + gap: 20, |
| 33 | + }}> |
| 34 | + <a href="/docs/Developer/API/Intro" style={{ textDecoration: 'none' }}> |
| 35 | + <button style={{ |
| 36 | + backgroundColor: '#00bfff', // Light blue |
| 37 | + color: '#000000', // Black text |
| 38 | + padding: '15px 30px', |
| 39 | + fontSize: '1.2em', |
| 40 | + border: 'none', |
| 41 | + borderRadius: '8px', |
| 42 | + cursor: 'pointer', |
| 43 | + boxShadow: '0 4px 12px rgba(0, 191, 255, 0.3)', |
| 44 | + transition: 'background-color 0.3s', |
| 45 | + fontFamily: 'Roboto, Arial, sans-serif', // Modern font |
| 46 | + }}>Explore Developer Stuff</button> |
| 47 | + </a> |
| 48 | + <a href="/docs/User/introduction/intro" style={{ textDecoration: 'none' }}> |
| 49 | + <button style={{ |
| 50 | + backgroundColor: '#ff4500', // Orange |
| 51 | + color: '#000000', // Black text |
| 52 | + padding: '15px 30px', |
| 53 | + fontSize: '1.2em', |
| 54 | + border: 'none', |
| 55 | + borderRadius: '8px', |
| 56 | + cursor: 'pointer', |
| 57 | + boxShadow: '0 4px 12px rgba(255, 69, 0, 0.3)', |
| 58 | + transition: 'background-color 0.3s', |
| 59 | + fontFamily: 'Roboto, Arial, sans-serif', // Modern font |
| 60 | + }}>Discover Site Introduction</button> |
| 61 | + </a> |
| 62 | + </div> |
| 63 | + </div> |
| 64 | + ); |
| 65 | +}; |
| 66 | + |
| 67 | +const App: React.FC = () => { |
| 68 | + return ( |
| 69 | + <div style={{ |
| 70 | + display: 'flex', |
| 71 | + flexDirection: 'column', |
| 72 | + alignItems: 'center', |
| 73 | + justifyContent: 'center', |
| 74 | + minHeight: '100vh', |
| 75 | + background: '#000000', // Solid black background |
| 76 | + }}> |
| 77 | + <WelcomeSection /> |
| 78 | + </div> |
| 79 | + ); |
| 80 | +}; |
| 81 | + |
| 82 | +export default App; |
0 commit comments