-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
274 lines (258 loc) · 16.7 KB
/
Copy pathindex.html
File metadata and controls
274 lines (258 loc) · 16.7 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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<link rel="apple-touch-icon" sizes="180x180" href="asset/favicon_io/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="asset/favicon_io/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="asset/favicon_io/favicon-16x16.png">
<link rel="manifest" href="asset/favicon_io/site.webmanifest">
<meta name="description" content="CodeLens simplifies comparing code. Add code, see differences visually, and analyze changes effortlessly. Try our free visual code comparison tool!">
<meta name="robots" content="index, follow">
<meta property="og:title" content="CodeLens: Compare Code Side-by-Side - Visually & Effortlessly">
<meta property="og:description" content="CodeLens simplifies comparing code. Upload your files, see differences visually, and analyze changes effortlessly. Try our free visual code comparison tool!">
<meta property="og:url" content="https://codelens.lumaticai.com">
<meta property="og:image" content="https://codelens.lumaticai.com/asset/logo.png">
<meta name="googlebot" content="index,follow">
<meta property="og:type" content="website">
<meta name="keywords" content="code comparison tool, visual code diff, side-by-side code comparison, developer code tools, programmer comparison tool, visual diff software, git merge conflict resolution, code review tool, compare source code, fast code comparison, accurate code diff, side-by-side code viewer, developer productivity tool, programmer efficiency tools, visual diff for github, git merge conflict solver, code review with visual diff, compare source code changes">
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
href="https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,400&family=Poppins:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,400&display=swap"
rel="stylesheet" />
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-T3c6CoIi6uLrA9TneNEoa7RxnatzjcDSCmG1MXxSR1GAsXEV/Dwwykc2MPK8M2HN" crossorigin="anonymous" />
<link rel="stylesheet" href="style.css" />
<link rel="stylesheet" href="responsive.css">
<!-- diff2html jsdiff -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/jsdiff/5.1.0/diff.min.js" integrity="sha512-vco9RAxEuv4PQ+iTQyuKElwoUOcsVdp+WgU6Lgo82ASpDfF7vI66LlWz+CZc2lMdn52tjjLOuHvy8BQJFp8a1A==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/styles/default.min.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/highlight.min.js"></script>
<link
rel="stylesheet"
type="text/css"
href="https://cdn.jsdelivr.net/npm/diff2html/bundles/css/diff2html.min.css"
/>
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/diff2html/bundles/js/diff2html-ui.min.js"></script>
<title>CodeLens - Visual Code Comparison Tool</title>
</head>
<body>
<div class="modal fade" id="exampleModal" tabindex="-1" aria-labelledby="exampleModalLabel" aria-hidden="true">
<div class="modal-dialog modal-lg modal-dialog-centered">
<div class="modal-content">
<div class="modal-header">
<h1 class="modal-title fs-5 text-center" id="exampleModalLabel" style="text-align: center;">Rate Limit Excedeed - Try again later (429)</h1>
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close" id="exitModal"></button>
</div>
<div class="modal-body d-flex justify-content-center">
<img src="https://data.textstudio.com/output/sample/animated/8/9/8/2/429-20-12898.gif" alt="Loading Gif" width="500" id="loadergif">
</div>
<div class="modal-footer">
<button type="button" class="btn btn-primary" data-bs-dismiss="modal" id="closeModal">Close</button>
<!-- <button type="button" class="btn btn-primary" id="copyLinkBtn">📋 Copy Link</button> -->
</div>
</div>
</div>
</div>
<header class="navbar navbar-expand-lg bs-dark home-one-header" id="main-navbar">
<div class="container-fluid">
<a href="/" class="navbar-brand">
<span class="logo"><span class="logo-one">Code<span class="logoSpan lgexp">Lens</span></span>
<span class="logoSpan-Bottom">by <img src="https://lumaticai.com/wp-content/uploads/2023/04/20230815_223850-e1692123614628.png" alt="LumaticAI Logo"/></span>
</span>
</a>
<!-- <button class="navbar-toggler" type="button" data-bs-toggle="collapse"
data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false"
aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button> -->
<nav class="n" id="navbarSupportedContent">
<div class="main-nav">
<ul class="navbar-nav me-auto mb-2 mb-lg-0">
<!-- <li class="main-nav-items nav-item">
<a href="#" class="nav-link">Home</a>
</li> -->
<!-- <li class="main-nav-items nav-item">
<a href="#about" class="nav-link">About</a>
</li>
<li class="main-nav-items nav-item">
<a href="#contact" class="nav-link">Contact</a>
</li> -->
</ul>
</div>
<div class="auth-nav">
<ul class="navbar-nav me-auto mb-2 mb-lg-0">
<li class="auth-nav-items nav-item">
<a href="#" class="nav-link svg-header-parent">
<img src="asset/dashboard.svg" class="svg-header" alt="Dashboard Icon">
<!-- <span class="hover-text">Dashboard</span> -->
</a>
</li>
</ul>
</div>
</nav>
</div>
</header>
<main class="wrapper">
<section class="home-one container">
<div class="container home-one-top">
<div class="container home-one-left">
<h1>Code<span class="logoSpan">Lens</span></h1>
<p>Spot differences, compare code, and unlock code insights with <b>Code<span class="logoSpan">Lens</span></b>.</p>
</div>
<div class="container home-one-right">
<picture>
<source srcset="./asset/Coding Editing Interface (HD).webp" type="image/webp">
<source srcset="./asset/Coding Editing Interface (HD).png" type="image/png">
<img src="./asset/Coding Editing Interface (HD).webp" alt="Code Editing Interface">
</picture>
</div>
</div>
<div class="container home-one-bottom">
<div class="arrow"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-arrow-bar-down" viewBox="0 0 16 16">
<path fill-rule="evenodd" d="M1 3.5a.5.5 0 0 1 .5-.5h13a.5.5 0 0 1 0 1h-13a.5.5 0 0 1-.5-.5M8 6a.5.5 0 0 1 .5.5v5.793l2.146-2.147a.5.5 0 0 1 .708.708l-3 3a.5.5 0 0 1-.708 0l-3-3a.5.5 0 0 1 .708-.708L7.5 12.293V6.5A.5.5 0 0 1 8 6"/>
</svg></div>
</div>
<div class="custom-shape-divider-bottom-1703665301">
<svg data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120" preserveAspectRatio="none">
<path d="M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z" opacity=".25" class="shape-fill"></path>
<path d="M0,0V15.81C13,36.92,27.64,56.86,47.69,72.05,99.41,111.27,165,111,224.58,91.58c31.15-10.15,60.09-26.07,89.67-39.8,40.92-19,84.73-46,130.83-49.67,36.26-2.85,70.9,9.42,98.6,31.56,31.77,25.39,62.32,62,103.63,73,40.44,10.79,81.35-6.69,119.13-24.28s75.16-39,116.92-43.05c59.73-5.85,113.28,22.88,168.9,38.84,30.2,8.66,59,6.17,87.09-7.5,22.43-10.89,48-26.93,60.65-49.24V0Z" opacity=".5" class="shape-fill"></path>
<path d="M0,0V5.63C149.93,59,314.09,71.32,475.83,42.57c43-7.64,84.23-20.12,127.61-26.46,59-8.63,112.48,12.24,165.56,35.4C827.93,77.22,886,95.24,951.2,90c86.53-7,172.46-45.71,248.8-84.81V0Z" class="shape-fill"></path>
</svg>
</div>
</section>
<section class="home-two container">
<div class="home-two-wrapper">
<div class="home-two-main">
<h2>Compare Code Files and Identify Differences</h2>
<p>Paste your code snippets below and click Start to compare code.</p>
</div>
<div class="home-two-code container">
<div class="home-two-code-left container">
<h3>Original Code</h3>
<div class="home-two-code-left-input">
<div class="form-group">
<pre>
<code>
<textarea class="form-control codeInput" id="userOriginalCode" rows="10" spellcheck="false"></textarea>
</code>
</pre>
</div>
</div>
<div class="stats">
<span class="lines">Lines : <span class="lineCount org-lines" id="lc1">0</span></span>
<span class="characters">Characters : <span class="charCount org-chars" id="cc1">0</span></span>
<!-- <span class="requests-left">Requests Left: <span class="requests-remaining">10</span></span> -->
</div>
</div>
<div class="home-two-code-right container">
<h3>Your Code</h3>
<div class="home-two-code-left-input">
<div class="form-group">
<pre>
<code>
<textarea class="form-control codeInput" id="userNewCode" rows="10" spellcheck="false"></textarea>
</code>
</pre>
</div>
</div>
<div class="stats">
<span class="lines">Lines : <span class="lineCount new-lines" id="lc2">0</span></span>
<span class="characters">Characters : <span class="charCount new-chars" id="cc2">0</span></span>
<!-- <span class="requests-left">Requests Left: <span class="requests-remaining">10</span></span> -->
</div>
</div>
</div>
<button type="button" class="btn btn-lg btn-primary custom-btn" id="startCodeCompare-btn">Start</button>
</div>
</section>
<section class="home-three container" style="display: none;">
<div class="home-three-wrapper">
<h2>Code Insights</h2>
<div class="home-three-first">
<div class="sr">Similarity Ratio : <span class="box-result" id="sr-boxres">80%</span></div>
<div class="sr">Same Code : <span class="box-result" id="sc-boxres">No</span></div>
</div>
<div class="home-three-second">
<code id="diff-org"></code>
<!-- <div class="home-two-code container">
<div class="home-two-code-left container">
<h3>Original Code Differences</h3>
<div class="home-two-code-left-input">
<div class="form-group">
<pre>
<code>
<textarea class="form-control" id="responseOriginalCode" rows="10"></textarea required>
</code>
</pre>
</div>
</div>
<div class="stats">
<span class="lines">Lines : <span class="lineCount org-lines" id="lc1">0</span></span>
<span class="characters">Characters : <span class="charCount org-chars" id="cc1">0</span></span>
<span class="requests-left">Requests Left: <span class="requests-remaining">10</span></span>
</div>
</div>
<div class="home-two-code-right container">
<h3>Your Code Differences</h3>
<div class="home-two-code-left-input">
<div class="form-group">
<pre>
<code>
<textarea class="form-control" id="responseNewCode" rows="10"></textarea required>
</code>
</pre>
</div>
</div>
<div class="stats">
<span class="lines">Lines : <span class="lineCount new-lines" id="lc2">0</span></span>
<span class="characters">Characters : <span class="charCount new-chars" id="cc2">0</span></span>
<span class="requests-left">Requests Left: <span class="requests-remaining">10</span></span>
</div>
</div>
</div> -->
<!-- <button type="button" class="btn btn-lg btn-primary custom-btn">Start</button> -->
</div>
<!-- <div class="buttons"> -->
<!-- <button type="button" class="btn btn-lg btn-primary custom-btn">Save</button> -->
<button type="button" class="btn btn-lg btn-primary custom-btn" data-bs-toggle="modal" data-bs-target="#exampleModal" id="shareBtn" style="display: none;">Share</button>
<!-- </div> -->
</div>
</section>
</main>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.bundle.min.js"
integrity="sha384-C6RzsynM9kWDrMNeT87bh95OGNyZPhcTNXj1NW7RuBCsyN/o0jlpcV8Qyq46cDfL"
crossorigin="anonymous"></script>
<script src="script.js"></script>
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "SoftwareApplication",
"name": "CodeLens - Visual Code Comparison Tool",
"image": "https://codelens.lumaticai.com/asset/logo.png",
"description": "CodeLens simplifies comparing code. Upload your files, see differences visually, and analyze changes effortlessly.",
"aggregateRating": {
"@type": "AggregateRating",
"ratingValue": "4.8",
"bestRating": "5",
"ratingCount": "123"
},
"offers": {
"@type": "Offer",
"price": "0"
},
"operatingSystem": [
"Windows",
"Linux",
"macOS"
],
"applicationCategory": "DeveloperTool",
"fileFormat": "text/plain",
"featureList": "Visual code comparison, Side-by-side view, Code highlighting, Merge conflict resolution"
}
</script>
<!-- <script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/languages/python.min.js"></script> -->
</body>
</html>