summaryrefslogtreecommitdiff
path: root/mobile
diff options
context:
space:
mode:
authors1nical <[email protected]>2019-08-11 01:15:32 -0700
committers1nical <[email protected]>2019-08-11 01:15:32 -0700
commit3275bc90c995568b7be72c10a2795b808ac6c92b (patch)
treebaa779da650e2063b99f251cee8680ab2b441132 /mobile
parentfixed favicon issue (diff)
downloads1n.pw-admin-3275bc90c995568b7be72c10a2795b808ac6c92b.tar.xz
s1n.pw-admin-3275bc90c995568b7be72c10a2795b808ac6c92b.zip
replace "./" with absolute paths, added mobile redirects, added path reference
Diffstat (limited to 'mobile')
-rw-r--r--mobile/index.html8
-rw-r--r--mobile/js/app.js2
2 files changed, 5 insertions, 5 deletions
diff --git a/mobile/index.html b/mobile/index.html
index f75b0c0..47a1d7b 100644
--- a/mobile/index.html
+++ b/mobile/index.html
@@ -9,7 +9,7 @@
<link href='https://fonts.googleapis.com/css?family=Roboto:400,100,100italic,300,300italic,400italic' rel='stylesheet' type='text/css'>
<script src="https://cdnjs.cloudflare.com/ajax/libs/trianglify/0.3.1/trianglify.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js"></script>
- <link rel="stylesheet" href="css/main.css">
+ <link rel="stylesheet" href="/mobile/css/main.css">
<meta name="description" content="s1nical is a full stack developer.">
<meta property="og:description" content="s1nical is a full stack developer.">
<meta property="og:title" content="s1nical">
@@ -20,8 +20,8 @@
<script src="https://www.googletagmanager.com/gtag/js?id=UA-30692517-4"></script>
<script src="https://code.jquery.com/jquery-1.10.2.js"></script>
<link rel="image_src" href="https://secure.gravatar.com/avatar/f9c6903a50d1d861a47a614862b00b89.png?s=375">
- <link rel="apple-touch-icon" sizes="128x128" href="favicon.ico">
- <link rel="icon" type="image/ico" href="favicon.ico" sizes="128x128">
+ <link rel="apple-touch-icon" sizes="128x128" href="/favicon.ico">
+ <link rel="icon" type="image/ico" href="/favicon.ico" sizes="128x128">
<link rel="canonical" href="https://s1n.pw/">
<script type="application/ld+json">{
"name": "s1nical",
@@ -58,7 +58,7 @@
</script>
</head>
<body>
- <script src="js/app.js"></script>
+ <script src="/mobile/js/app.js"></script>
<!-- Core Site Function, Site Primer/ Base -->
<main>
diff --git a/mobile/js/app.js b/mobile/js/app.js
index df6b42b..ae22283 100644
--- a/mobile/js/app.js
+++ b/mobile/js/app.js
@@ -5,7 +5,7 @@ $(window).on("load", function () {
// CHECKS IF USER IS ON DESKTOP
if( screen.width > 480 ) {
- location.href = '../index.html';
+ location.href = '/index.html';
}
// BACKGROUND SPARKLES