Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
345 changes: 345 additions & 0 deletions challenges_old.html

Large diffs are not rendered by default.

139 changes: 139 additions & 0 deletions home.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,139 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>CodeClip - Master Coding Challenges</title>

<!-- Google Fonts -->
<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=Bitcount:[email protected]&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Bitcount:[email protected]&family=Oooh+Baby&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap" rel="stylesheet">

<!-- Styles -->
<link rel="stylesheet" href="styles.css">
</head>
<body>
<!-- Header Component -->
<header class="header" role="banner">
<div class="container header__container">
<div class="header__logo">
<span class="logo-text">CodeClip</span>
</div>
<nav class="header__nav" id="navMenu">
<ul class="nav__list">
<li><a href="/" data-route="/" class="nav__link active">Home</a></li>
<li><a href="/challenges" data-route="/challenges" class="nav__link">Challenges</a></li>
<li><a href="/editor" data-route="/editor" class="nav__link">Editor</a></li>
<li><a href="/profile" data-route="/profile" class="nav__link">Profile</a></li>
</ul>
</nav>
<button class="header__toggle" id="navToggle" aria-label="Open navigation menu">
<span class="hamburger"></span>
<span class="hamburger"></span>
<span class="hamburger"></span>
</button>
</div>
</header>

<!-- Main Content -->
<main role="main">
<div class="container">
<div class="hero__content">
<div class="hero__text">
<p class="hero__subtitle">πŸš€ An Interactive Coding Platform</p>
<h1 class="hero__title">
<span id="element"></span>
</h1>
<p class="hero__description">
Discover CodeClip, an exhilarating, lightweight web app that
empowers developers to master coding challenges right in their
browser! Whether you're tackling algorithms, debugging scripts,
or showcasing your solutions to the open-source community,
CodeClip offers a seamless, interactive experience with a sleek
interface, real-time feedback, and effortless sharing via unique
URLs or GitHub Gists.
</p>
<div class="hero__cta">
<a href="/editor" data-route="/editor" class="btn btn-primary">🎯 Start Coding</a>
<a href="/challenges" data-route="/challenges" class="btn btn-secondary">πŸ“š View Challenges</a>
</div>
</div>
<div class="hero__visual">
<div class="code-window">
<div class="code-window__header">
<span class="circle red"></span>
<span class="circle yellow"></span>
<span class="circle green"></span>
</div>
<div class="code-content">
<div class="code-line"><span class="comment">// Welcome to CodeClip</span></div>
<div class="code-line"><span class="keyword">function</span> <span class="string">solveProblem</span>() {</div>
<div class="code-line"> <span class="keyword">return</span> <span class="string">'Success!'</span>;</div>
<div class="code-line">}</div>
</div>
</div>
</div>
</div>
</div>

<div class="content">
<div class="card">
<a href="/challenges" data-route="/challenges">
<div class="icon"><i class="material-icons md-36" alt="Challenge vault icon">security</i></div>
<p class="title">Challenge Vault</p>
<p class="text">All your challenges in one place β€” track, review, repeat.</p>
</a>
</div>
</div>
</main>

<!-- Footer -->


<footer class="footer" role="contentinfo">
<div class="container">
<div class="footer__content">
<div class="footer__section">
<h4>CodeClip</h4>
<p>Master coding challenges in your browser</p>
</div>
<div class="footer__section">
<h4>Quick Links</h4>
<ul>
<li><a href="/" data-route="/">Home</a></li>
<li><a href="/challenges" data-route="/challenges">Challenges</a></li>
<li><a href="/editor" data-route="/editor">Editor</a></li>
</ul>
</div>
<div class="footer__section">
<h4>Community</h4>
<ul>
<li><a href="https://github.com/opensource-society/CodeClip">GitHub</a></li>
<li><a href="#">Discord</a></li>
<li><a href="#">Twitter</a></li>
</ul>
</div>
</div>
<div class="footer__bottom">
<p>&copy; 2024 CodeClip. All rights reserved.</p>
</div>
</div>
</footer>

<!-- Scripts -->
<script src="https://unpkg.com/[email protected]/dist/typed.umd.js"></script>
<script>
var typed = new Typed("#element", {
strings: ["Code", "Challenge", "Conquer"],
typeSpeed: 50,
loop: true,
});
</script>
<script type="module" src="./scripts/data.js"></script>
<script type="module" src="./scripts/app.js"></script>
<script type="module" src="./scripts/theme.js"></script>
</body>
</html>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

logic: This file is nearly identical to index.html, creating unnecessary duplication. Consider removing this file or clarifying its distinct purpose.

Loading
Loading