Skip to content

Commit

Permalink
Fixed issue with Home page links
Browse files Browse the repository at this point in the history
  • Loading branch information
blazgocompany authored Aug 23, 2024
1 parent bd6f5da commit 340e489
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 23 deletions.
40 changes: 20 additions & 20 deletions app.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,26 @@ app.get("/", (req, res) => {
return;
}
var out = `
<!DOCTYPE html>
<html lang="en">
<head>
<script type="text/javascript">
(function(c,l,a,r,i,t,y){
c[a]=c[a]||function(){(c[a].q=c[a].q||[]).push(arguments)};
t=l.createElement(r);t.async=1;t.src="https://www.clarity.ms/tag/"+i;
y=l.getElementsByTagName(r)[0];y.parentNode.insertBefore(t,y);
})(window, document, "clarity", "script", "nrvoacr6ky");
</script>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Home | Animator-Studio</title>
<link rel="stylesheet" type="text/css" href="/resources/home/styles.css">
<link rel="icon" type="image/x-icon" href="/images/favicon.png">
</head>
<body>
${data}
</body>
</html>
`
res.send(out);
Expand Down Expand Up @@ -179,26 +197,8 @@ app.get("/onboard", (req, res) => {
return;
}
var out = `
<!DOCTYPE html>
<html lang="en">
<head>
<script type="text/javascript">
(function(c,l,a,r,i,t,y){
c[a]=c[a]||function(){(c[a].q=c[a].q||[]).push(arguments)};
t=l.createElement(r);t.async=1;t.src="https://www.clarity.ms/tag/"+i;
y=l.getElementsByTagName(r)[0];y.parentNode.insertBefore(t,y);
})(window, document, "clarity", "script", "nrvoacr6ky");
</script>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Create awesome animations in a snap | Animator-Studio</title>
<link rel="stylesheet" type="text/css" href="/resources/home/styles.css">
<link rel="icon" type="image/x-icon" href="../images/favicon.png">
</head>
<body>
${data}
</body>
</html>
`
res.send(data);
});
Expand Down
4 changes: 2 additions & 2 deletions pages/home/component.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
</button>
<div class="menu" id="menu">
<ul>
<li><a href="https://github.com/Animator-Studio/AS-Beta/issues/new">Report a Problem</a></li>
<li><a href="https://github.com/Animator-Studio/AS-Beta/issues/new/choose">Report a Problem</a></li>
<li><a onclick="logOut()">Log Out</a></li>
</ul>
</div>
Expand All @@ -23,7 +23,7 @@
<div class="tabs__indicator" aria-hidden="true">
<div class="tabs__track">
<label for="files">My Files</label>
<label for="more">More (Coming Soon)</label>
<label for="more" onclick="window.location.href = `https://github.com/Animator-Studio/AS-Beta`">GitHub</label>
</div>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion pages/onboard/component.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
</script>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Animator Studio PRO</title>
<title>Create awesome animations in a snap</title>
<style>
/* General Body Styles */
body {
Expand Down

0 comments on commit 340e489

Please sign in to comment.