p3nGu1nZz commited on
Commit
fe94b4a
·
1 Parent(s): f2892bc

✨ Add initial website structure with main.js and style.css; update README

Browse files
Files changed (5) hide show
  1. README.md +33 -3
  2. favicon.ico +0 -0
  3. index.html +12 -18
  4. style.css → src/css/style.css +0 -0
  5. src/main.js +1 -0
README.md CHANGED
@@ -1,6 +1,6 @@
1
  ---
2
- title: Smolworld
3
- emoji: 🌍
4
  colorFrom: yellow
5
  colorTo: pink
6
  sdk: static
@@ -9,4 +9,34 @@ license: apache-2.0
9
  short_description: Small-World Network of Evolving Spikey Neural Networks
10
  ---
11
 
12
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ title: smolworld
3
+ emoji: 🌐
4
  colorFrom: yellow
5
  colorTo: pink
6
  sdk: static
 
9
  short_description: Small-World Network of Evolving Spikey Neural Networks
10
  ---
11
 
12
+ # smolworld: Small-World Network of Evolving Spikey Neural Networks
13
+
14
+ This Space demonstrates a basic static website hosted on Hugging Face Spaces. It showcases a "small world" network concept using evolving spiking neural networks.
15
+
16
+ ## Getting Started
17
+
18
+ This is a static Space, so there's no backend server or complex setup. You can directly modify the HTML, CSS, and JavaScript files to customize the content.
19
+
20
+ ### Modifying the Content
21
+
22
+ 1. Edit `index.html` to change the main content of the page.
23
+ 2. Modify `style.css` to adjust the styling.
24
+ 3. Update `src/main.js` to add any interactive JavaScript functionality.
25
+
26
+ ### Example
27
+
28
+ Here's a simple example of how you can modify the `index.html` file to change the title:
29
+
30
+ ```html
31
+ <title>My Awesome Smolworld Space</title>
32
+ ```
33
+
34
+ And here's how you can add a new paragraph in `index.html`:
35
+
36
+ ```html
37
+ <p>This is a new paragraph added to my Smolworld Space!</p>
38
+ ```
39
+
40
+ ## Learn More
41
+
42
+ Check out the configuration reference at <https://huggingface.co/docs/hub/spaces-config-reference> for more information on how to configure your Space.
favicon.ico ADDED
index.html CHANGED
@@ -1,19 +1,13 @@
1
- <!doctype html>
2
  <html>
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta name="viewport" content="width=device-width" />
6
- <title>My static Space</title>
7
- <link rel="stylesheet" href="style.css" />
8
- </head>
9
- <body>
10
- <div class="card">
11
- <h1>Welcome to your static Space!</h1>
12
- <p>You can modify this app directly by editing <i>index.html</i> in the Files and versions tab.</p>
13
- <p>
14
- Also don't forget to check the
15
- <a href="https://huggingface.co/docs/hub/spaces" target="_blank">Spaces documentation</a>.
16
- </p>
17
- </div>
18
- </body>
19
- </html>
 
1
+ <!DOCTYPE html>
2
  <html>
3
+
4
+ <head>
5
+ <title>smolworld</title>
6
+ <link rel="stylesheet" href="src/css/style.css">
7
+ </head>
8
+
9
+ <body>
10
+ <script type="module" src="src/main.js"></script>
11
+ </body>
12
+
13
+ </html>
 
 
 
 
 
 
style.css → src/css/style.css RENAMED
File without changes
src/main.js ADDED
@@ -0,0 +1 @@
 
 
1
+ console.log("Hello from main.js!");