summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorAbdellah El Morabit <nsrddyn@gmail.com>2024-11-29 13:24:16 +0100
committerAbdellah El Morabit <nsrddyn@gmail.com>2024-11-29 13:24:16 +0100
commitfdd3b103bb209045123693cd60149b951c7b2be8 (patch)
tree1019543e2db0ec535f9a76c9f8527fa0ef299caa /templates
parent446f3d4742f88b09c85e83e96f6505cd3f6302c5 (diff)
rewritten the source of the application
Diffstat (limited to 'templates')
-rw-r--r--templates/live_preview.py14
-rw-r--r--templates/page/notes.html24
-rw-r--r--templates/page/overview.html29
-rw-r--r--templates/page/recourses.html29
-rw-r--r--templates/page/speech.html29
-rw-r--r--templates/static/main.mjs13
-rw-r--r--templates/static/styles.css101
7 files changed, 0 insertions, 239 deletions
diff --git a/templates/live_preview.py b/templates/live_preview.py
deleted file mode 100644
index e753fc6..0000000
--- a/templates/live_preview.py
+++ /dev/null
@@ -1,14 +0,0 @@
-from livereload import Server
-
-server = Server()
-# Watch HTML file
-server.watch('index.html')
-# Watch CSS files
-server.watch('static/styles.css')
-# Watch JavaScript files
-server.watch('static/main.mjs')
-# Watch other files if needed
-server.watch('page/*') # Watch everything in the page folder
-
-# Serve the current directory
-server.serve(root='.')
diff --git a/templates/page/notes.html b/templates/page/notes.html
deleted file mode 100644
index 3f24816..0000000
--- a/templates/page/notes.html
+++ /dev/null
@@ -1,24 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="UTF-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <title>Display a Message</title>
- <link rel="stylesheet" href="../static/styles.css">
- <script src="../static/main.mjs" defer></script>
-</head>
-
-<body>
- <nav class="navigation">
- <a href="../index.html" class="home">HOME</a>
- <h2>Display a Message</h2>
- <a href="https://www.github.com/nasrlol" target="_blank">GITHUB</a>
- </nav>
-
- <section class="content">
- <h1>Display a Message</h1>
- </section>
-
- <footer>
- <p>Created by <a href="https://www.github.com/nasrlol" target="_blank">nsrddyn</a>. All \ No newline at end of file
diff --git a/templates/page/overview.html b/templates/page/overview.html
deleted file mode 100644
index 123bf39..0000000
--- a/templates/page/overview.html
+++ /dev/null
@@ -1,29 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="UTF-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <title>General Tools</title>
- <link rel="stylesheet" href="../static/styles.css">
- <script src="../static/main.mjs" defer></script>
-</head>
-
-<body>
- <nav class="navigation">
- <a href="../index.html" class="home">HOME</a>
- <h2>General Tools</h2>
- <a href="https://www.github.com/nasrlol" target="_blank">GITHUB</a>
- </nav>
-
- <section class="content">
- <h1>General Tools</h1>
- </section>
-
- <footer>
- <p>Created by <a href="https://www.github.com/nasrlol" target="_blank">nsrddyn</a>. All rights reserved &copy;
- 2024.</p>
- </footer>
-</body>
-
-</html> \ No newline at end of file
diff --git a/templates/page/recourses.html b/templates/page/recourses.html
deleted file mode 100644
index 992e44e..0000000
--- a/templates/page/recourses.html
+++ /dev/null
@@ -1,29 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="UTF-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <title>Resources</title>
- <link rel="stylesheet" href="../static/styles.css">
- <script src="../static/main.mjs" defer></script>
-</head>
-
-<body>
- <nav class="navigation">
- <a href="../index.html" class="home">HOME</a>
- <h2>Resources</h2>
- <a href="https://www.github.com/nasrlol" target="_blank">GITHUB</a>
- </nav>
-
- <section class="content">
- <h1>Resources</h1>
- </section>
-
- <footer>
- <p>Created by <a href="https://www.github.com/nasrlol" target="_blank">nsrddyn</a>. All rights reserved &copy;
- 2024.</p>
- </footer>
-</body>
-
-</html> \ No newline at end of file
diff --git a/templates/page/speech.html b/templates/page/speech.html
deleted file mode 100644
index 1b345ba..0000000
--- a/templates/page/speech.html
+++ /dev/null
@@ -1,29 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="UTF-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <title>Speech Transcriber</title>
- <link rel="stylesheet" href="../static/styles.css">
- <script src="../static/main.mjs" defer></script>
-</head>
-
-<body>
- <nav class="navigation">
- <a href="../index.html" class="home">HOME</a>
- <h2>Speech Transcriber</h2>
- <a href="https://www.github.com/nasrlol" target="_blank">GITHUB</a>
- </nav>
-
- <section class="content">
- <h1>Speech Transcriber</h1>
- </section>
-
- <footer>
- <p>Created by <a href="https://www.github.com/nasrlol" target="_blank">nsrddyn</a>. All rights reserved &copy;
- 2024.</p>
- </footer>
-</body>
-
-</html> \ No newline at end of file
diff --git a/templates/static/main.mjs b/templates/static/main.mjs
deleted file mode 100644
index 7e48f65..0000000
--- a/templates/static/main.mjs
+++ /dev/null
@@ -1,13 +0,0 @@
-document.addEventListener("DOMContentLoaded", () => {
- const buttons = document.querySelectorAll(".controls a");
-
- buttons.forEach((button) => {
- button.addEventListener("mouseover", () => {
- button.style.boxShadow = "0px 6px 12px rgba(255, 255, 255, 0.5)";
- });
-
- button.addEventListener("mouseout", () => {
- button.style.boxShadow = "0px 4px 8px rgba(0, 0, 0, 0.4)";
- });
- });
-});
diff --git a/templates/static/styles.css b/templates/static/styles.css
deleted file mode 100644
index d43f592..0000000
--- a/templates/static/styles.css
+++ /dev/null
@@ -1,101 +0,0 @@
-@import url("https://fonts.googleapis.com/css2?family=Host+Grotesk:ital,wght@0,300..800;1,300..800&display=swap");
-
-body {
- background-color: rgb(40, 44, 52);
- color: white;
- font-family: "Host Grotesk", sans-serif;
- font-weight: 500;
- margin: 0;
- padding: 0;
-}
-
-p {
- text-align: center;
-
-}
-
-h1 {
- text-align: center;
-}
-
-a {
- text-decoration: none;
- color: wheat;
- transition: color 0.3s ease;
-}
-
-a:hover {
- color: rgb(255, 215, 128);
-}
-
-.navigation {
- display: flex;
- justify-content: space-between;
- align-items: center;
- padding: 20px 10%;
- background-color: rgba(0, 0, 0, 0.8);
- border-bottom: 2px solid white;
- box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.3);
- position: sticky;
- top: 0;
- z-index: 10;
-}
-
-.navigation a {
- font-size: 1.2em;
- font-weight: 600;
- transition: transform 0.3s ease;
-}
-
-.navigation a:hover {
- transform: scale(1.1);
-}
-
-.controls {
- display: flex;
- flex-direction: row;
- justify-content: center;
- gap: 20px;
- padding: 20px 10%;
-}
-
-.controls a {
- display: flex;
- justify-content: center;
- align-items: center;
- background-color: rgba(255, 255, 255, 0.1);
- border-radius: 10px;
- padding: 15px;
- min-width: 150px;
- width: 200px;
- text-align: center;
- font-size: 1.2em;
- font-weight: 600;
- color: white;
- box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.4);
- transition: background-color 0.3s ease, transform 0.3s ease;
-}
-
-.controls a:hover {
- background-color: rgba(255, 255, 255, 0.2);
- transform: translateY(-5px);
-}
-
-footer {
- background-color: rgba(0, 0, 0, 0.8);
- text-align: center;
- padding: 10px;
- font-size: 0.9em;
- border-top: 1px solid rgba(255, 255, 255, 0.2);
- margin-top: 20px;
-}
-
-footer a {
- color: wheat;
- font-weight: 600;
- text-decoration: underline;
-}
-
-footer a:hover {
- color: rgb(255, 215, 128);
-}