-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.tsx
More file actions
56 lines (51 loc) · 1.87 KB
/
index.tsx
File metadata and controls
56 lines (51 loc) · 1.87 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
import React from 'react';
const ADSChat: React.FC = () => {
return (
<div>
<div className="banner" style={bannerStyle}>
<div className="name">ADS-Chat</div>
<div className="top-buttons">
<button onClick={() => window.location.href='https://example-login.com'} style={buttonStyle}>Login</button>
<button onClick={() => window.location.href='https://example-signup.com'} style={buttonStyle}>Sign Up</button>
</div>
</div>
<div className="container" style={containerStyle}>
<div className="logo">
<img src="logo.png" alt="ADS-Chat Logo" />
</div>
<h1>Welcome to ADS-Chat</h1>
<div className="buttons">
<button className="btn login-btn" onClick={() => window.location.href='login.html'}>Login</button>
<button className="btn register-btn" onClick={() => window.location.href='register.html'}>Register</button>
<button className="btn download-btn" onClick={() => window.location.href='downloads.html'}>Downloads</button>
</div>
</div>
</div>
);
};
const bannerStyle: React.CSSProperties = {
width: '100%',
backgroundColor: '#F9B006',
color: 'white',
padding: '10px',
display: 'flex',
justifyContent: 'space-between',
alignItems: 'center',
position: 'fixed',
top: 0,
left: 0,
zIndex: 1000,
fontFamily: '"Times New Roman", Times, serif'
};
const buttonStyle: React.CSSProperties = {
backgroundColor: 'white',
color: '#F9B006',
border: 'none',
padding: '10px 20px',
cursor: 'pointer'
};
const containerStyle: React.CSSProperties = {
marginTop: '60px',
fontFamily: '"Times New Roman", Times, serif'
};
export default ADSChat;