puffy310 commited on
Commit
ec337f2
1 Parent(s): d3e9bf5

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +275 -19
index.html CHANGED
@@ -1,19 +1,275 @@
1
- <!doctype html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta name="viewport" content="width=device-width" />
6
- <title>My static Space</title>
7
- <link rel="stylesheet" href="style.css" />
8
- </head>
9
- <body>
10
- <div class="card">
11
- <h1>Welcome to your static Space!</h1>
12
- <p>You can modify this app directly by editing <i>index.html</i> in the Files and versions tab.</p>
13
- <p>
14
- Also don't forget to check the
15
- <a href="https://huggingface.co/docs/hub/spaces" target="_blank">Spaces documentation</a>.
16
- </p>
17
- </div>
18
- </body>
19
- </html>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>Polloland-PRC Import Export Bank</title>
7
+ <style>
8
+ body {
9
+ font-family: Arial, sans-serif;
10
+ margin: 0;
11
+ padding: 0;
12
+ background-color: #f4f4f4;
13
+ }
14
+ header {
15
+ background-color: #d92332;
16
+ color: white;
17
+ padding: 10px 0;
18
+ text-align: center;
19
+ display: flex;
20
+ justify-content: center;
21
+ align-items: center;
22
+ }
23
+ header img {
24
+ height: 50px;
25
+ margin-right: 10px;
26
+ }
27
+ nav {
28
+ background-color: #333;
29
+ overflow: hidden;
30
+ }
31
+ nav a {
32
+ float: left;
33
+ display: block;
34
+ color: white;
35
+ text-align: center;
36
+ padding: 14px 20px;
37
+ text-decoration: none;
38
+ }
39
+ nav a:hover {
40
+ background-color: #ddd;
41
+ color: black;
42
+ }
43
+ .container {
44
+ padding: 20px;
45
+ }
46
+ .section {
47
+ background-color: white;
48
+ margin: 20px 0;
49
+ padding: 20px;
50
+ border-radius: 5px;
51
+ }
52
+ footer {
53
+ background-color: #333;
54
+ color: white;
55
+ text-align: center;
56
+ padding: 10px 0;
57
+ position: fixed;
58
+ width: 100%;
59
+ bottom: 0;
60
+ }
61
+ .manager-message {
62
+ background-color: #f4f4f4;
63
+ padding: 20px;
64
+ border-radius: 5px;
65
+ margin-bottom: 20px;
66
+ }
67
+ .manager-message h3 {
68
+ color: #d92332;
69
+ }
70
+ .manager-message p {
71
+ font-size: 16px;
72
+ line-height: 1.6;
73
+ }
74
+ .notice {
75
+ background-color: #ffcccc;
76
+ padding: 20px;
77
+ border-radius: 5px;
78
+ margin-bottom: 20px;
79
+ border: 1px solid #ff6666;
80
+ }
81
+ .notice h3 {
82
+ color: #cc0000;
83
+ }
84
+ .notice p {
85
+ font-size: 16px;
86
+ line-height: 1.6;
87
+ }
88
+ .currency-converter {
89
+ background-color: #e6f7ff;
90
+ padding: 20px;
91
+ border-radius: 5px;
92
+ margin-bottom: 20px;
93
+ border: 1px solid #66ccff;
94
+ }
95
+ .currency-converter h3 {
96
+ color: #0066cc;
97
+ }
98
+ .currency-converter label {
99
+ display: block;
100
+ margin-bottom: 5px;
101
+ }
102
+ .currency-converter input, .currency-converter select {
103
+ width: 100%;
104
+ padding: 10px;
105
+ margin-bottom: 10px;
106
+ border: 1px solid #ccc;
107
+ border-radius: 4px;
108
+ }
109
+ .currency-converter button {
110
+ background-color: #0066cc;
111
+ color: white;
112
+ padding: 10px 20px;
113
+ border: none;
114
+ border-radius: 4px;
115
+ cursor: pointer;
116
+ }
117
+ .currency-converter button:hover {
118
+ background-color: #004080;
119
+ }
120
+ .stock-graph {
121
+ background-color: #fff;
122
+ padding: 20px;
123
+ border-radius: 5px;
124
+ margin-bottom: 20px;
125
+ border: 1px solid #ccc;
126
+ }
127
+ .stock-graph h3 {
128
+ color: #333;
129
+ }
130
+ </style>
131
+ </head>
132
+ <body>
133
+
134
+ <header>
135
+ <img src="https://upload.wikimedia.org/wikipedia/commons/f/fa/Flag_of_the_People%27s_Republic_of_China.svg" alt="Chinese Flag">
136
+ <h1>Polloland-PRC Import Export Bank</h1>
137
+ </header>
138
+
139
+ <nav>
140
+ <a href="#news">News</a>
141
+ <a href="#services">Services</a>
142
+ <a href="#contact">Contact</a>
143
+ <a href="#manager">Manager's Message</a>
144
+ </nav>
145
+
146
+ <div class="container">
147
+ <div class="notice">
148
+ <h3>Important Notice</h3>
149
+ <p>Polloland has defaulted on its debt. Please be advised that all transactions involving Lucky Chicken (LC) currency may be subject to additional scrutiny and potential delays. We are working closely with relevant authorities to mitigate the impact on our clients. <a href="https://www.youtube.com/watch?si=8t87ny1VeXAxRqYH&embeds_referring_euri=https%3A%2F%2Fwww.bing.com%2F&embeds_referring_origin=https%3A%2F%2Fwww.bing.com&source_ve_path=MTY0NTA2LDE2NDUwNg&v=dQw4w9WgXcQ&feature=youtu.be" target="_blank">For More Information</a></p>
150
+ </div>
151
+
152
+ <div id="news" class="section">
153
+ <h2>News</h2>
154
+ <p>Stay updated with the latest news and announcements from Polloland-PRC Import Export Bank.</p>
155
+ <ul>
156
+ <li><a href="#">New Trade Financing Options Announced</a></li>
157
+ <li><a href="#">Polloland-PRC Bank Supports New Export Initiatives</a></li>
158
+ <li><a href="#">Bank Launches Digital Trade Platform</a></li>
159
+ </ul>
160
+ </div>
161
+
162
+ <div id="services" class="section">
163
+ <h2>Services</h2>
164
+ <p>Explore the services offered by Polloland-PRC Import Export Bank to support your international trade needs.</p>
165
+ <ul>
166
+ <li><strong>Trade Financing:</strong> Flexible financing solutions to support your import and export activities, denominated in Lucky Chicken (LC).</li>
167
+ <li><strong>Letters of Credit:</strong> Secure and reliable payment mechanisms for international trade, denominated in Lucky Chicken (LC).</li>
168
+ <li><strong>Export Credit Insurance:</strong> Protect your business from non-payment risks, denominated in Lucky Chicken (LC).</li>
169
+ <li><strong>Currency Exchange:</strong> Competitive rates for foreign currency transactions, including Lucky Chicken (LC).</li>
170
+ </ul>
171
+ </div>
172
+
173
+ <div id="contact" class="section">
174
+ <h2>Contact Us</h2>
175
+ <p>For inquiries and more information, please contact us:</p>
176
+ <address>
177
+ Polloland-PRC Import Export Bank<br>
178
+ No. 123 Trade Street, Xicheng District<br>
179
+ Beijing, China<br>
180
+ Phone: +86 10 1234 5678<br>
181
+ Email: info@polloland-prc.com
182
+ </address>
183
+ </div>
184
+
185
+ <div id="manager" class="manager-message">
186
+ <h3>Message from the Manager</h3>
187
+ <p>Dear Valued Clients and Partners,</p>
188
+ <p>As the manager of Polloland-PRC Import Export Bank, I am committed to providing you with the best financial solutions to support your international trade activities. Our bank is dedicated to fostering economic growth and strengthening trade relations between Polloland and the People's Republic of China.</p>
189
+ <p>We continuously strive to innovate and improve our services to meet your evolving needs. Thank you for your trust and partnership.</p>
190
+ <p>Sincerely,<br>Julian Herrera<br>Manager, Polloland-PRC Import Export Bank</p>
191
+ </div>
192
+
193
+ <div class="currency-converter">
194
+ <h3>Currency Converter</h3>
195
+ <p>1 Yuan = 1688 Lucky Chicken (LC)</p>
196
+ <form>
197
+ <label for="amount">Amount:</label>
198
+ <input type="number" id="amount" name="amount" required>
199
+ <label for="fromCurrency">From:</label>
200
+ <select id="fromCurrency" name="fromCurrency">
201
+ <option value="LC">Lucky Chicken (LC)</option>
202
+ <option value="Yuan">Yuan</option>
203
+ </select>
204
+ <label for="toCurrency">To:</label>
205
+ <select id="toCurrency" name="toCurrency">
206
+ <option value="Yuan">Yuan</option>
207
+ <option value="LC">Lucky Chicken (LC)</option>
208
+ </select>
209
+ <button type="button" onclick="convertCurrency()">Convert</button>
210
+ <p id="result"></p>
211
+ </form>
212
+ </div>
213
+
214
+ <div class="stock-graph">
215
+ <h3>Polloland (001688 Shenzhen Stock) - 10/1/24</h3>
216
+ <canvas id="stockChart" width="400" height="200"></canvas>
217
+ </div>
218
+ </div>
219
+
220
+ <footer>
221
+ <p>&copy; 2023 Polloland-PRC Import Export Bank. All rights reserved.</p>
222
+ </footer>
223
+
224
+ <script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
225
+ <script>
226
+ function convertCurrency() {
227
+ const amount = parseFloat(document.getElementById('amount').value);
228
+ const fromCurrency = document.getElementById('fromCurrency').value;
229
+ const toCurrency = document.getElementById('toCurrency').value;
230
+ let result;
231
+
232
+ if (fromCurrency === 'LC' && toCurrency === 'Yuan') {
233
+ result = amount / 1688;
234
+ } else if (fromCurrency === 'Yuan' && toCurrency === 'LC') {
235
+ result = amount * 1688;
236
+ } else {
237
+ result = amount;
238
+ }
239
+
240
+ document.getElementById('result').innerText = `${amount} ${fromCurrency} = ${result.toFixed(2)} ${toCurrency}`;
241
+ }
242
+
243
+ const ctx = document.getElementById('stockChart').getContext('2d');
244
+ const stockChart = new Chart(ctx, {
245
+ type: 'line',
246
+ data: {
247
+ labels: ['9:30', '10:00', '10:30', '11:00', '11:30', '12:00', '12:30', '13:00', '13:30', '14:00', '14:30', '15:00'],
248
+ datasets: [{
249
+ label: 'Polloland (001688 Shenzhen Stock)',
250
+ data: [100, 95, 90, 85, 80, 75, 70, 65, 60, 55, 50, 52.79],
251
+ backgroundColor: 'rgba(255, 99, 132, 0.2)',
252
+ borderColor: 'rgba(255, 99, 132, 1)',
253
+ borderWidth: 1,
254
+ pointRadius: 5,
255
+ pointBackgroundColor: 'rgba(255, 99, 132, 1)',
256
+ pointBorderColor: '#fff',
257
+ pointHoverRadius: 7,
258
+ pointHoverBackgroundColor: 'rgba(255, 99, 132, 1)',
259
+ pointHoverBorderColor: '#fff',
260
+ pointHoverBorderWidth: 2,
261
+ pointHitRadius: 10
262
+ }]
263
+ },
264
+ options: {
265
+ scales: {
266
+ y: {
267
+ beginAtZero: false
268
+ }
269
+ }
270
+ }
271
+ });
272
+ </script>
273
+
274
+ </body>
275
+ </html>