tfrere HF Staff commited on
Commit
063009d
·
verified ·
1 Parent(s): 62112a0

rajoute moi un fichier markdown avec des directives que je vais te donner

Browse files
Files changed (2) hide show
  1. README.md +7 -4
  2. instructions.md +137 -0
README.md CHANGED
@@ -1,10 +1,13 @@
1
  ---
2
- title: Markdown Magic Maker
3
- emoji: 👁
4
  colorFrom: green
5
- colorTo: blue
 
6
  sdk: static
7
  pinned: false
 
 
8
  ---
9
 
10
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
 
1
  ---
2
+ title: Markdown Magic Maker
 
3
  colorFrom: green
4
+ colorTo: green
5
+ emoji: 🐳
6
  sdk: static
7
  pinned: false
8
+ tags:
9
+ - deepsite-v3
10
  ---
11
 
12
+ # Welcome to your new DeepSite project!
13
+ This project was created with [DeepSite](https://deepsite.hf.co).
instructions.md ADDED
@@ -0,0 +1,137 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>Markdown Instructions</title>
7
+ <script src="https://cdn.tailwindcss.com"></script>
8
+ <script src="https://unpkg.com/feather-icons"></script>
9
+ <script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
10
+ <style>
11
+ .markdown-content {
12
+ font-family: 'Inter', sans-serif;
13
+ line-height: 1.6;
14
+ }
15
+ .markdown-content h1 {
16
+ @apply text-3xl font-bold mb-4 mt-8 text-indigo-700 border-b-2 border-indigo-200 pb-2;
17
+ }
18
+ .markdown-content h2 {
19
+ @apply text-2xl font-semibold mb-3 mt-6 text-indigo-600;
20
+ }
21
+ .markdown-content p {
22
+ @apply mb-4 text-gray-700;
23
+ }
24
+ .markdown-content code {
25
+ @apply bg-gray-100 px-2 py-1 rounded text-sm font-mono text-gray-800;
26
+ }
27
+ .markdown-content pre {
28
+ @apply bg-gray-800 text-gray-100 p-4 rounded-lg overflow-x-auto mb-4;
29
+ }
30
+ .markdown-content ul {
31
+ @apply list-disc pl-5 mb-4;
32
+ }
33
+ .markdown-content ol {
34
+ @apply list-decimal pl-5 mb-4;
35
+ }
36
+ .markdown-content blockquote {
37
+ @apply border-l-4 border-indigo-300 pl-4 italic text-gray-600 my-4;
38
+ }
39
+ </style>
40
+ </head>
41
+ <body class="bg-gray-50">
42
+ <div class="container mx-auto px-4 py-12 max-w-4xl">
43
+ <div class="bg-white rounded-xl shadow-lg overflow-hidden">
44
+ <div class="p-6 md:p-8">
45
+ <div class="flex items-center justify-between mb-8">
46
+ <h1 class="text-3xl font-bold text-gray-800 flex items-center">
47
+ <i data-feather="file-text" class="mr-3 text-indigo-500"></i>
48
+ Project Instructions
49
+ </h1>
50
+ <div class="flex space-x-2">
51
+ <button class="p-2 rounded-full bg-gray-100 hover:bg-gray-200 transition">
52
+ <i data-feather="edit-2" class="text-gray-600"></i>
53
+ </button>
54
+ <button class="p-2 rounded-full bg-gray-100 hover:bg-gray-200 transition">
55
+ <i data-feather="download" class="text-gray-600"></i>
56
+ </button>
57
+ </div>
58
+ </div>
59
+
60
+ <div class="markdown-content">
61
+ <!-- Start of markdown content -->
62
+ <h1>Project Development Guidelines</h1>
63
+
64
+ <p>Welcome to the project! Here are the essential guidelines for development:</p>
65
+
66
+ <h2>1. Code Structure</h2>
67
+ <ul>
68
+ <li>Follow the MVC pattern for better organization</li>
69
+ <li>Keep components modular and reusable</li>
70
+ <li>Use meaningful file and folder names</li>
71
+ </ul>
72
+
73
+ <h2>2. Styling Standards</h2>
74
+ <p>We're using TailwindCSS for styling. Please adhere to:</p>
75
+ <pre><code>// Good example
76
+ &lt;div class="flex justify-between items-center p-4 bg-white rounded-lg shadow"&gt;
77
+ Content here
78
+ &lt;/div&gt;</code></pre>
79
+
80
+ <h2>3. JavaScript Best Practices</h2>
81
+ <blockquote>
82
+ "Write code as if the person who ends up maintaining your code is a violent psychopath who knows where you live."
83
+ </blockquote>
84
+ <ol>
85
+ <li>Use ES6+ features</li>
86
+ <li>Implement proper error handling</li>
87
+ <li>Document complex functions</li>
88
+ </ol>
89
+
90
+ <h2>4. Testing Requirements</h2>
91
+ <p>All features must include:</p>
92
+ <ul>
93
+ <li>Unit tests for business logic</li>
94
+ <li>Integration tests for API calls</li>
95
+ <li>End-to-end tests for critical user flows</li>
96
+ </ul>
97
+
98
+ <h2>5. Deployment Process</h2>
99
+ <pre><code># Deployment commands
100
+ npm run build
101
+ npm run test
102
+ npm run deploy</code></pre>
103
+
104
+ <h2>6. Collaboration Rules</h2>
105
+ <p>Remember to:</p>
106
+ <ul>
107
+ <li>Create feature branches</li>
108
+ <li>Submit PRs for review</li>
109
+ <li>Resolve merge conflicts properly</li>
110
+ </ul>
111
+ <!-- End of markdown content -->
112
+ </div>
113
+
114
+ <div class="mt-8 pt-6 border-t border-gray-200">
115
+ <div class="flex items-center">
116
+ <div class="flex-shrink-0">
117
+ <i data-feather="alert-circle" class="text-yellow-500"></i>
118
+ </div>
119
+ <div class="ml-3">
120
+ <p class="text-sm text-gray-600">
121
+ Please review these guidelines before starting any work on the project.
122
+ </p>
123
+ </div>
124
+ </div>
125
+ </div>
126
+ </div>
127
+ </div>
128
+ </div>
129
+
130
+ <script>
131
+ feather.replace();
132
+ document.addEventListener('DOMContentLoaded', function() {
133
+ // Any initialization code can go here
134
+ });
135
+ </script>
136
+ </body>
137
+ </html>