Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
aquiffoo committed Jan 4, 2025
2 parents b0082ce + f1ec6e0 commit f078758
Show file tree
Hide file tree
Showing 5 changed files with 165 additions and 110 deletions.
109 changes: 66 additions & 43 deletions 404.html
Original file line number Diff line number Diff line change
@@ -1,48 +1,71 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<link rel="stylesheet" href="./static/styles.css">
<script src="https://cdn.jsdelivr.net/npm/marked/lib/marked.min.js"></script>
<script src="./js/script.js"></script>
<link rel="icon" type="image/x-icon" href="./static/logo.png">
<title>LearnModu</title>
</head>
<body>
<script>
if ( window !== window.parent )
{
window.location.replace("anti-iframe.html");// The page is in an iframe
}
</script>
<nav class="nav">
<ul class="nav-list">
<li>
<img src="./static/animated-light.gif" alt="LearnModu" class="logo-light">
<img src="./static/animated-dark.gif" alt="LearnModu" class="logo-dark">
</li>
<li><a href="index.html#" class="nav-link">Home</a></li>
<li><a href="index.html#recent" class="nav-link">Recent Posts</a></li>
<li><a href="blog.html" class="nav-link">Blog</a></li>
<li><a href="index.html#about" class="nav-link">About</a></li>
<li><a href="https://www.cyteon.tech/modu/ide" class="nav-link">Web IDE</a></li>
<li><a href="search.html" class="nav-link">Search</a></li>
<li><button class="theme-toggle">
<svg class="sun" viewBox="0 0 24 24"><path d="M12 18a6 6 0 1 1 0-12 6 6 0 0 1 0 12zM11 1h2v3h-2V1zm0 19h2v3h-2v-3zM3.515 4.929l1.414-1.414L7.05 5.636 5.636 7.05 3.515 4.93zM16.95 18.364l1.414-1.414 2.121 2.121-1.414 1.414-2.121-2.121zm2.121-14.85l1.414 1.415-2.121 2.121-1.414-1.414 2.121-2.121zM5.636 16.95l1.414 1.414-2.121 2.121-1.414-1.414 2.121-2.121zM23 11v2h-3v-2h3zM4 11v2H1v-2h3z"/></svg>
<svg class="moon" viewBox="0 0 24 24"><path d="M12 3c.132 0 .263 0 .393 0a7.5 7.5 0 0 0 7.92 12.446a9 9 0 1 1 -8.313 -12.454z"/></svg>
</button></li>
</ul>
</nav>
<head>
<meta charset="utf-8" />
<link rel="stylesheet" href="./static/styles.css" />
<script src="https://cdn.jsdelivr.net/npm/marked/lib/marked.min.js"></script>
<script src="./js/script.js"></script>
<link rel="icon" type="image/x-icon" href="./static/logo.png" />
<title>LearnModu</title>
</head>
<body>
<script>
if (window !== window.parent) {
window.location.replace("anti-iframe.html"); // The page is in an iframe
}
</script>
<nav class="nav">
<ul class="nav-list">
<li>
<a href="index.html"
><img
src="./static/animated-light.gif"
alt="LearnModu"
class="logo-light"
/></a>

<main class="content">
<section id="404" class="section">
<h2>Error 404; page not found</h2>
<br>
<a href="index.html">
<button>Go Home</button>
</a>
</section>
<a href="index.html"
><img
src="./static/animated-dark.gif"
alt="LearnModu"
class="logo-dark"
/></a>
</li>
<li><a href="index.html#" class="nav-link">Home</a></li>
<li><a href="index.html#recent" class="nav-link">Recent Posts</a></li>
<li><a href="blog.html" class="nav-link">Blog</a></li>
<li><a href="index.html#about" class="nav-link">About</a></li>
<li>
<a href="https://www.cyteon.tech/modu/ide" class="nav-link"
>Web IDE</a
>
</li>
<li><a href="search.html" class="nav-link">Search</a></li>
<li>
<button class="theme-toggle">
<svg class="sun" viewBox="0 0 24 24">
<path
d="M12 18a6 6 0 1 1 0-12 6 6 0 0 1 0 12zM11 1h2v3h-2V1zm0 19h2v3h-2v-3zM3.515 4.929l1.414-1.414L7.05 5.636 5.636 7.05 3.515 4.93zM16.95 18.364l1.414-1.414 2.121 2.121-1.414 1.414-2.121-2.121zm2.121-14.85l1.414 1.415-2.121 2.121-1.414-1.414 2.121-2.121zM5.636 16.95l1.414 1.414-2.121 2.121-1.414-1.414 2.121-2.121zM23 11v2h-3v-2h3zM4 11v2H1v-2h3z"
/>
</svg>
<svg class="moon" viewBox="0 0 24 24">
<path
d="M12 3c.132 0 .263 0 .393 0a7.5 7.5 0 0 0 7.92 12.446a9 9 0 1 1 -8.313 -12.454z"
/>
</svg>
</button>
</li>
</ul>
</nav>

</main>
</body>
<main class="content">
<section id="404" class="section">
<h2>Error 404; page not found</h2>
<br />
<a href="index.html">
<button>Go Home</button>
</a>
</section>
</main>
</body>
</html>
81 changes: 52 additions & 29 deletions anti-iframe.html
Original file line number Diff line number Diff line change
@@ -1,33 +1,56 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<link rel="stylesheet" href="./static/styles.css">
<script src="https://cdn.jsdelivr.net/npm/marked/lib/marked.min.js"></script>
<script src="./js/script.js"></script>
<link rel="icon" type="image/x-icon" href="./static/logo.png">
<title>LearnModu</title>
</head>
<body>
<nav class="nav">
<ul class="nav-list">
<li>
<img src="./static/animated-light.gif" alt="LearnModu" class="logo-light">
<img src="./static/animated-dark.gif" alt="LearnModu" class="logo-dark">
</li>
<li><button class="theme-toggle">
<svg class="sun" viewBox="0 0 24 24"><path d="M12 18a6 6 0 1 1 0-12 6 6 0 0 1 0 12zM11 1h2v3h-2V1zm0 19h2v3h-2v-3zM3.515 4.929l1.414-1.414L7.05 5.636 5.636 7.05 3.515 4.93zM16.95 18.364l1.414-1.414 2.121 2.121-1.414 1.414-2.121-2.121zm2.121-14.85l1.414 1.415-2.121 2.121-1.414-1.414 2.121-2.121zM5.636 16.95l1.414 1.414-2.121 2.121-1.414-1.414 2.121-2.121zM23 11v2h-3v-2h3zM4 11v2H1v-2h3z"/></svg>
<svg class="moon" viewBox="0 0 24 24"><path d="M12 3c.132 0 .263 0 .393 0a7.5 7.5 0 0 0 7.92 12.446a9 9 0 1 1 -8.313 -12.454z"/></svg>
</button></li>
</ul>
</nav>
<head>
<meta charset="utf-8" />
<link rel="stylesheet" href="./static/styles.css" />
<script src="https://cdn.jsdelivr.net/npm/marked/lib/marked.min.js"></script>
<script src="./js/script.js"></script>
<link rel="icon" type="image/x-icon" href="./static/logo.png" />
<title>LearnModu</title>
</head>
<body>
<nav class="nav">
<ul class="nav-list">
<li>
<a href="index.html"
><img
src="./static/animated-light.gif"
alt="LearnModu"
class="logo-light"
/></a>

<main class="content">
<section id="iframe" class="section">
<h2>iFrames aren't allowed on LearnModu.</h2>
<br>
<a href="index.html" target="_blank"><button>Click here to continue browsing LearnModu</button></a>
</section>
</main>
</body>
<a href="index.html"
><img
src="./static/animated-dark.gif"
alt="LearnModu"
class="logo-dark"
/></a>
</li>
<li>
<button class="theme-toggle">
<svg class="sun" viewBox="0 0 24 24">
<path
d="M12 18a6 6 0 1 1 0-12 6 6 0 0 1 0 12zM11 1h2v3h-2V1zm0 19h2v3h-2v-3zM3.515 4.929l1.414-1.414L7.05 5.636 5.636 7.05 3.515 4.93zM16.95 18.364l1.414-1.414 2.121 2.121-1.414 1.414-2.121-2.121zm2.121-14.85l1.414 1.415-2.121 2.121-1.414-1.414 2.121-2.121zM5.636 16.95l1.414 1.414-2.121 2.121-1.414-1.414 2.121-2.121zM23 11v2h-3v-2h3zM4 11v2H1v-2h3z"
/>
</svg>
<svg class="moon" viewBox="0 0 24 24">
<path
d="M12 3c.132 0 .263 0 .393 0a7.5 7.5 0 0 0 7.92 12.446a9 9 0 1 1 -8.313 -12.454z"
/>
</svg>
</button>
</li>
</ul>
</nav>

<main class="content">
<section id="iframe" class="section">
<h2>iFrames aren't allowed on LearnModu.</h2>
<br />
<a href="index.html" target="_blank"
><button>Click here to continue browsing LearnModu</button></a
>
</section>
</main>
</body>
</html>
25 changes: 13 additions & 12 deletions blog.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,18 +17,19 @@
<nav class="nav">
<ul class="nav-list">
<li>
<img
src="./static/animated-light.gif"
alt="LearnModu"
class="logo-light"
/>
</li>
<li>
<img
src="./static/animated-dark.gif"
alt="LearnModu"
class="logo-dark"
/>
<a href="index.html"
><img
src="./static/animated-light.gif"
alt="LearnModu"
class="logo-light"
/></a>

<a href="index.html"
><img
src="./static/animated-dark.gif"
alt="LearnModu"
class="logo-dark"
/></a>
</li>
<li><a href="index.html" class="nav-link">Home</a></li>
<li><a href="index.html#recent" class="nav-link">Recent Posts</a></li>
Expand Down
35 changes: 20 additions & 15 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
<meta charset="utf-8" />
<link rel="stylesheet" href="./static/styles.css" />
<script src="https://cdn.jsdelivr.net/npm/marked/lib/marked.min.js"></script>
<script src="https://code.jquery.com/jquery-3.7.1.js"></script>
<script src="https://code.jquery.com/ui/1.14.1/jquery-ui.js"></script>
<script src="https://code.jquery.com/jquery-3.7.1.js"></script>
<script src="https://code.jquery.com/ui/1.14.1/jquery-ui.js"></script>
<script src="./js/script.js"></script>

<link rel="icon" type="image/x-icon" href="./static/logo.png" />
Expand All @@ -20,23 +20,28 @@
<nav class="nav">
<ul class="nav-list">
<li>
<img
src="./static/animated-light.gif"
alt="LearnModu"
class="logo-light"
/>
<img
src="./static/animated-dark.gif"
alt="LearnModu"
class="logo-dark"
/>
<a href="index.html"
><img
src="./static/animated-light.gif"
alt="LearnModu"
class="logo-light"
/></a>

<a href="index.html"
><img
src="./static/animated-dark.gif"
alt="LearnModu"
class="logo-dark"
/></a>
</li>
<li><a href="#" class="nav-link">Home</a></li>
<li><a href="#recent" class="nav-link">Recent Posts</a></li>
<li><a href="blog.html" class="nav-link">Blog</a></li>
<li><a href="#about" class="nav-link">About</a></li>
<li>
<a href="https://www.cyteon.tech/modu/ide" class="nav-link">Web IDE</a>
<a href="https://www.cyteon.tech/modu/ide" class="nav-link"
>Web IDE</a
>
</li>
<li><a href="search.html" class="nav-link">Search</a></li>
<li>
Expand Down Expand Up @@ -70,7 +75,7 @@ <h2>About Us</h2>
</p>
</section>
</main>
<script src="https://code.jquery.com/jquery-3.7.1.js"></script>
<script src="https://code.jquery.com/ui/1.14.1/jquery-ui.js"></script>
<script src="https://code.jquery.com/jquery-3.7.1.js"></script>
<script src="https://code.jquery.com/ui/1.14.1/jquery-ui.js"></script>
</body>
</html>
25 changes: 14 additions & 11 deletions post.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,27 +28,30 @@
<nav class="nav">
<ul class="nav-list">
<li>
<img
src="./static/animated-light.gif"
alt="LearnModu"
class="logo-light"
/>
<img
src="./static/animated-dark.gif"
alt="LearnModu"
class="logo-dark"
/>
<a href="index.html"
><img
src="./static/animated-light.gif"
alt="LearnModu"
class="logo-light"
/></a>

<a href="index.html"
><img
src="./static/animated-dark.gif"
alt="LearnModu"
class="logo-dark"
/></a>
</li>
<li><a href="index.html" class="nav-link">Home</a></li>
<li><a href="#recent" class="nav-link">Recent Posts</a></li>
<li><a href="blog.html" class="nav-link">Blog</a></li>
<li><a href="#about" class="nav-link">About</a></li>
<li><a href="search.html" class="nav-link">Search</a></li>
<li>
<a href="https://www.cyteon.tech/modu/ide" class="nav-link"
>Web IDE</a
>
</li>
<li><a href="search.html" class="nav-link">Search</a></li>
<li>
<button class="theme-toggle">
<svg class="sun" viewBox="0 0 24 24">
Expand Down

0 comments on commit f078758

Please sign in to comment.