ngoctuanai commited on
Commit
3cfa053
·
1 Parent(s): dd561a8

Update public/index.html

Browse files
Files changed (1) hide show
  1. public/index.html +35 -15
public/index.html CHANGED
@@ -18,7 +18,6 @@
18
  <script src="https://cdnjs.cloudflare.com/ajax/libs/wow/1.1.2/wow.min.js"></script>
19
  <script>
20
  new WOW().init();
21
-
22
  // Function to generate the Reverse Proxy URL
23
  function getExternalUrl(spaceId) {
24
  try {
@@ -28,11 +27,9 @@
28
  return "";
29
  }
30
  }
31
-
32
  // Get the Reverse Proxy URL and update the HTML element with id="reverseProxyUrl"
33
  const spaceId = "ngoctuanai/openaiproxy";
34
  const reverseProxyUrl = getExternalUrl(spaceId);
35
-
36
  // Wait for the page to load before updating the HTML
37
  window.addEventListener('DOMContentLoaded', function () {
38
  const typed = new Typed('.typed', {
@@ -50,33 +47,39 @@
50
  body {
51
  font-family: 'Lato', sans-serif;
52
  background-color: #f8f9fa;
 
 
 
 
 
53
  }
54
 
55
  .container {
56
  max-width: 600px;
57
  margin: 0 auto;
58
- padding: 40px;
59
- background-color: #fff;
60
- box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
61
- border-radius: 5px;
 
62
  }
63
 
64
  h1 {
65
- font-size: 32px;
66
  color: #007bff;
67
- text-align: center;
68
- margin-bottom: 10px;
69
  }
70
 
71
  p {
72
- font-size: 18px;
73
  color: #555;
74
- text-align: center;
75
- margin-bottom: 20px;
76
  }
77
 
78
  .url {
79
  font-weight: bold;
 
 
80
  }
81
 
82
  .url a {
@@ -88,6 +91,21 @@
88
  .url a:hover {
89
  color: #28a745;
90
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
91
  </style>
92
  </head>
93
 
@@ -97,9 +115,11 @@
97
  <span class="typed"></span>
98
  </h1>
99
  <p class="animate__animated animate__slideInLeft wow">This is your OpenAI Reverse Proxy URL:</p>
100
- <p class="url text-center" id="reverseProxyUrl"></p>
 
 
 
101
  </div>
102
-
103
  </body>
104
 
105
  </html>
 
18
  <script src="https://cdnjs.cloudflare.com/ajax/libs/wow/1.1.2/wow.min.js"></script>
19
  <script>
20
  new WOW().init();
 
21
  // Function to generate the Reverse Proxy URL
22
  function getExternalUrl(spaceId) {
23
  try {
 
27
  return "";
28
  }
29
  }
 
30
  // Get the Reverse Proxy URL and update the HTML element with id="reverseProxyUrl"
31
  const spaceId = "ngoctuanai/openaiproxy";
32
  const reverseProxyUrl = getExternalUrl(spaceId);
 
33
  // Wait for the page to load before updating the HTML
34
  window.addEventListener('DOMContentLoaded', function () {
35
  const typed = new Typed('.typed', {
 
47
  body {
48
  font-family: 'Lato', sans-serif;
49
  background-color: #f8f9fa;
50
+ display: flex;
51
+ align-items: center;
52
+ justify-content: center;
53
+ height: 100vh;
54
+ margin: 0;
55
  }
56
 
57
  .container {
58
  max-width: 600px;
59
  margin: 0 auto;
60
+ padding: 30px;
61
+ background-color: #ffffff;
62
+ box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
63
+ border-radius: 8px;
64
+ text-align: center;
65
  }
66
 
67
  h1 {
68
+ font-size: 2.5em;
69
  color: #007bff;
70
+ margin-bottom: 20px;
 
71
  }
72
 
73
  p {
74
+ font-size: 1.2em;
75
  color: #555;
76
+ margin-bottom: 30px;
 
77
  }
78
 
79
  .url {
80
  font-weight: bold;
81
+ font-size: 1.1em;
82
+ color: #007bff;
83
  }
84
 
85
  .url a {
 
91
  .url a:hover {
92
  color: #28a745;
93
  }
94
+
95
+ .my-link {
96
+ display: inline-block;
97
+ margin-top: 20px;
98
+ text-decoration: none;
99
+ padding: 12px 24px;
100
+ background-color: #3498db;
101
+ color: #fff;
102
+ border-radius: 5px;
103
+ transition: background-color 0.3s;
104
+ }
105
+
106
+ .my-link:hover {
107
+ background-color: #007bff;
108
+ }
109
  </style>
110
  </head>
111
 
 
115
  <span class="typed"></span>
116
  </h1>
117
  <p class="animate__animated animate__slideInLeft wow">This is your OpenAI Reverse Proxy URL:</p>
118
+ <p class="url" id="reverseProxyUrl"></p>
119
+
120
+ <!-- PayPal Subscription Link -->
121
+ <a class="my-link" href="https://www.paypal.com/webapps/billing/plans/subscribe?plan_id=P-80V40874P0424000SMV23CSA" target="_blank">Buy OPENAI API key</a>
122
  </div>
 
123
  </body>
124
 
125
  </html>