hugging2021 commited on
Commit
d20e0bd
·
verified ·
1 Parent(s): b2a125d

warum hörst du auf ?

Browse files
Files changed (5) hide show
  1. about.html +75 -0
  2. components/footer.js +60 -0
  3. components/navbar.js +52 -0
  4. index.html +8 -5
  5. style.css +60 -2
about.html ADDED
@@ -0,0 +1,75 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html lang="en" class="dark">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>About - RoboJacky's Ultimate Draft</title>
7
+ <link rel="stylesheet" href="style.css">
8
+ <script src="https://cdn.tailwindcss.com"></script>
9
+ <script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
10
+ <script src="https://unpkg.com/feather-icons"></script>
11
+ <script>
12
+ tailwind.config = {
13
+ darkMode: 'class',
14
+ theme: {
15
+ extend: {
16
+ colors: {
17
+ primary: {
18
+ 500: '#6366f1',
19
+ },
20
+ secondary: {
21
+ 500: '#8b5cf6',
22
+ }
23
+ }
24
+ }
25
+ }
26
+ }
27
+ </script>
28
+ </head>
29
+ <body class="bg-gray-100 dark:bg-gray-900 min-h-screen flex flex-col">
30
+ <custom-navbar></custom-navbar>
31
+
32
+ <div class="container mx-auto px-4 py-8 flex-grow">
33
+ <div class="max-w-3xl mx-auto bg-white dark:bg-gray-800 rounded-lg shadow-lg p-8">
34
+ <h1 class="text-3xl font-bold text-gray-800 dark:text-white mb-6">About RoboJacky's Ultimate Draft</h1>
35
+
36
+ <div class="prose dark:prose-invert">
37
+ <p class="mb-4">RoboJacky's Ultimate Draft is a powerful drafting tool designed for writers, developers, and creators who need a clean, distraction-free environment to capture their ideas.</p>
38
+
39
+ <h2 class="text-2xl font-semibold mt-6 mb-4">Features</h2>
40
+ <ul class="list-disc pl-6 mb-6">
41
+ <li class="mb-2">Real-time Markdown support</li>
42
+ <li class="mb-2">Dark/Light mode toggle</li>
43
+ <li class="mb-2">Cloud synchronization</li>
44
+ <li class="mb-2">Version history</li>
45
+ <li class="mb-2">Collaborative editing</li>
46
+ </ul>
47
+
48
+ <h2 class="text-2xl font-semibold mt-6 mb-4">Our Team</h2>
49
+ <div class="grid grid-cols-1 md:grid-cols-2 gap-6 mb-6">
50
+ <div class="flex items-center space-x-4">
51
+ <img src="http://static.photos/people/200x200/1" alt="Team Member" class="w-16 h-16 rounded-full">
52
+ <div>
53
+ <h3 class="font-semibold">Alex Johnson</h3>
54
+ <p class="text-gray-600 dark:text-gray-400">Founder & Lead Developer</p>
55
+ </div>
56
+ </div>
57
+ <div class="flex items-center space-x-4">
58
+ <img src="http://static.photos/people/200x200/2" alt="Team Member" class="w-16 h-16 rounded-full">
59
+ <div>
60
+ <h3 class="font-semibold">Sam Wilson</h3>
61
+ <p class="text-gray-600 dark:text-gray-400">UX Designer</p>
62
+ </div>
63
+ </div>
64
+ </div>
65
+ </div>
66
+ </div>
67
+ </div>
68
+
69
+ <custom-footer></custom-footer>
70
+ <script src="components/navbar.js"></script>
71
+ <script src="components/footer.js"></script>
72
+ <script src="script.js"></script>
73
+ <script>feather.replace();</script>
74
+ </body>
75
+ </html>
components/footer.js ADDED
@@ -0,0 +1,60 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ class CustomFooter extends HTMLElement {
2
+ connectedCallback() {
3
+ this.attachShadow({ mode: 'open' });
4
+ this.shadowRoot.innerHTML = `
5
+ <style>
6
+ footer {
7
+ background: #f9fafb;
8
+ padding: 2rem;
9
+ text-align: center;
10
+ margin-top: 2rem;
11
+ border-top: 1px solid #e5e7eb;
12
+ }
13
+ .dark footer {
14
+ background: #111827;
15
+ border-top: 1px solid #374151;
16
+ }
17
+ .footer-content {
18
+ max-width: 1200px;
19
+ margin: 0 auto;
20
+ }
21
+ .footer-links {
22
+ display: flex;
23
+ justify-content: center;
24
+ gap: 1.5rem;
25
+ margin-bottom: 1rem;
26
+ }
27
+ .footer-links a {
28
+ color: #4b5563;
29
+ text-decoration: none;
30
+ }
31
+ .dark .footer-links a {
32
+ color: #9ca3af;
33
+ }
34
+ .footer-links a:hover {
35
+ color: #6366f1;
36
+ }
37
+ .copyright {
38
+ color: #6b7280;
39
+ font-size: 0.875rem;
40
+ }
41
+ .dark .copyright {
42
+ color: #9ca3af;
43
+ }
44
+ </style>
45
+ <footer>
46
+ <div class="footer-content">
47
+ <div class="footer-links">
48
+ <a href="/privacy.html">Privacy</a>
49
+ <a href="/terms.html">Terms</a>
50
+ <a href="/contact.html">Contact</a>
51
+ </div>
52
+ <div class="copyright">
53
+ © ${new Date().getFullYear()} RoboJacky's Ultimate Draft. All rights reserved.
54
+ </div>
55
+ </div>
56
+ </footer>
57
+ `;
58
+ }
59
+ }
60
+ customElements.define('custom-footer', CustomFooter);
components/navbar.js ADDED
@@ -0,0 +1,52 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ class CustomNavbar extends HTMLElement {
2
+ connectedCallback() {
3
+ this.attachShadow({ mode: 'open' });
4
+ this.shadowRoot.innerHTML = `
5
+ <style>
6
+ nav {
7
+ background: #ffffff;
8
+ padding: 1rem 2rem;
9
+ box-shadow: 0 1px 3px rgba(0,0,0,0.1);
10
+ display: flex;
11
+ justify-content: space-between;
12
+ align-items: center;
13
+ }
14
+ .dark nav {
15
+ background: #1f2937;
16
+ box-shadow: 0 1px 3px rgba(0,0,0,0.3);
17
+ }
18
+ .logo {
19
+ font-size: 1.5rem;
20
+ font-weight: bold;
21
+ color: #6366f1;
22
+ text-decoration: none;
23
+ }
24
+ .nav-links {
25
+ display: flex;
26
+ gap: 1.5rem;
27
+ }
28
+ .nav-links a {
29
+ color: #4b5563;
30
+ text-decoration: none;
31
+ font-weight: 500;
32
+ transition: color 0.2s;
33
+ }
34
+ .dark .nav-links a {
35
+ color: #d1d5db;
36
+ }
37
+ .nav-links a:hover {
38
+ color: #6366f1;
39
+ }
40
+ </style>
41
+ <nav>
42
+ <a href="/" class="logo">RoboJacky</a>
43
+ <div class="nav-links">
44
+ <a href="/">Home</a>
45
+ <a href="/about.html">About</a>
46
+ <a href="/drafts.html">Drafts</a>
47
+ </div>
48
+ </nav>
49
+ `;
50
+ }
51
+ }
52
+ customElements.define('custom-navbar', CustomNavbar);
index.html CHANGED
@@ -26,9 +26,10 @@
26
  }
27
  </script>
28
  </head>
29
- <body class="bg-gray-100 dark:bg-gray-900 min-h-screen">
30
- <div class="container mx-auto px-4 py-8">
31
- <header class="flex justify-between items-center mb-8">
 
32
  <h1 class="text-3xl font-bold text-gray-800 dark:text-white">RoboJacky's Ultimate Draft</h1>
33
  <button id="theme-toggle" class="p-2 rounded-full bg-gray-200 dark:bg-gray-700">
34
  <i data-feather="moon" class="text-gray-800 dark:text-white"></i>
@@ -111,9 +112,11 @@
111
  </div>
112
  </main>
113
  </div>
114
-
 
 
115
  <script src="script.js"></script>
116
- <script>feather.replace();</script>
117
  <script src="https://huggingface.co/deepsite/deepsite-badge.js"></script>
118
  </body>
119
  </html>
 
26
  }
27
  </script>
28
  </head>
29
+ <body class="bg-gray-100 dark:bg-gray-900 min-h-screen flex flex-col">
30
+ <custom-navbar></custom-navbar>
31
+ <div class="container mx-auto px-4 py-8 flex-grow">
32
+ <header class="flex justify-between items-center mb-8">
33
  <h1 class="text-3xl font-bold text-gray-800 dark:text-white">RoboJacky's Ultimate Draft</h1>
34
  <button id="theme-toggle" class="p-2 rounded-full bg-gray-200 dark:bg-gray-700">
35
  <i data-feather="moon" class="text-gray-800 dark:text-white"></i>
 
112
  </div>
113
  </main>
114
  </div>
115
+ <custom-footer></custom-footer>
116
+ <script src="components/navbar.js"></script>
117
+ <script src="components/footer.js"></script>
118
  <script src="script.js"></script>
119
+ <script>feather.replace();</script>
120
  <script src="https://huggingface.co/deepsite/deepsite-badge.js"></script>
121
  </body>
122
  </html>
style.css CHANGED
@@ -39,7 +39,65 @@ body {
39
  .dark ::-webkit-scrollbar-thumb {
40
  background: #6b7280;
41
  }
42
-
43
  .dark ::-webkit-scrollbar-thumb:hover {
44
  background: #9ca3af;
45
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
39
  .dark ::-webkit-scrollbar-thumb {
40
  background: #6b7280;
41
  }
 
42
  .dark ::-webkit-scrollbar-thumb:hover {
43
  background: #9ca3af;
44
+ }
45
+
46
+ /* Prose styles for markdown content */
47
+ .prose {
48
+ max-width: 65ch;
49
+ font-size: 1rem;
50
+ line-height: 1.75;
51
+ }
52
+
53
+ .prose h1,
54
+ .prose h2,
55
+ .prose h3,
56
+ .prose h4 {
57
+ color: inherit;
58
+ font-weight: 600;
59
+ margin-top: 1.5em;
60
+ margin-bottom: 0.5em;
61
+ }
62
+
63
+ .prose h1 {
64
+ font-size: 2em;
65
+ }
66
+
67
+ .prose h2 {
68
+ font-size: 1.5em;
69
+ }
70
+
71
+ .prose h3 {
72
+ font-size: 1.25em;
73
+ }
74
+
75
+ .prose p {
76
+ margin-top: 1em;
77
+ margin-bottom: 1em;
78
+ }
79
+
80
+ .prose ul,
81
+ .prose ol {
82
+ margin-top: 1em;
83
+ margin-bottom: 1em;
84
+ padding-left: 1.5em;
85
+ }
86
+
87
+ .prose li {
88
+ margin-top: 0.5em;
89
+ margin-bottom: 0.5em;
90
+ }
91
+
92
+ .prose a {
93
+ color: #6366f1;
94
+ text-decoration: none;
95
+ }
96
+
97
+ .prose a:hover {
98
+ text-decoration: underline;
99
+ }
100
+
101
+ .prose-dark a {
102
+ color: #8b5cf6;
103
+ }