radames commited on
Commit
3727198
1 Parent(s): abe820a

add context to static page

Browse files
Files changed (4) hide show
  1. community-update.png +0 -0
  2. index.html +67 -21
  3. style.css +6 -10
  4. thumbnail.png +0 -0
community-update.png ADDED
index.html CHANGED
@@ -1,24 +1,70 @@
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>
13
- You can modify this app directly by editing <i>index.html</i> in the
14
- Files and versions tab.
15
- </p>
16
- <p>
17
- Also don't forget to check the
18
- <a href="https://huggingface.co/docs/hub/spaces" target="_blank"
19
- >Spaces documentation</a
20
- >.
21
- </p>
22
- </div>
23
- </body>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
24
  </html>
 
1
  <!DOCTYPE html>
2
  <html>
3
+ <head>
4
+ <meta charset="utf-8" />
5
+ <meta
6
+ name="viewport"
7
+ content="width=device-width, initial-scale=1.0, user-scalable=no"
8
+ />
9
+ <meta
10
+ name="description"
11
+ content="We’re on a journey to advance and democratize artificial intelligence through open source and open science."
12
+ />
13
+ <meta property="fb:app_id" content="1321688464574422" />
14
+ <meta name="twitter:card" content="summary_large_image" />
15
+ <meta name="twitter:site" content="@huggingface" />
16
+ <meta
17
+ property="og:title"
18
+ content="Hugging Discussions - Introducing Pull Requests and Discussions 🥳"
19
+ />
20
+ <meta property="og:type" content="website" />
21
+ <meta
22
+ property="og:url"
23
+ content="https://hf.space/static/huggingface/HuggingDiscussions"
24
+ />
25
+ <meta
26
+ property="og:image"
27
+ content="https://hf.space/static/huggingface/HuggingDiscussions/thumbnail.png"
28
+ />
29
+ <title>
30
+ Hugging Discussions - Introducing Pull Requests and Discussions 🥳
31
+ </title>
32
+ <link rel="stylesheet" href="style.css" />
33
+ <link rel="preconnect" href="https://fonts.gstatic.com" />
34
+ <link
35
+ href="https://fonts.googleapis.com/css2?family=Source+Sans+Pro:ital,wght@0,200;0,300;0,400;0,600;0,700;0,900;1,200;1,300;1,400;1,600;1,700;1,900&amp;display=swap"
36
+ rel="stylesheet"
37
+ />
38
+ <link
39
+ href="https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;600;700&amp;display=swap"
40
+ rel="stylesheet"
41
+ />
42
+ </head>
43
+ <body>
44
+ <div class="card">
45
+ <h1>Hugging Discussions</h1>
46
+ <h2>Introducing Pull Requests and Discussions 🥳</h2>
47
+ <p>This space is dedicated to gathering feedback on the new feature</p>
48
+ <p>
49
+ Go it the
50
+ <a
51
+ href="https://huggingface.co/spaces/huggingface/HuggingDiscussions/discussions"
52
+ >community tab</a
53
+ >
54
+ and open a discussion
55
+ </p>
56
+ <p>
57
+ Read more about the new feature in this
58
+ <a href="https://huggingface.co/blog/community-update">blog post</a>
59
+ </p>
60
+ <a
61
+ href="https://huggingface.co/spaces/huggingface/HuggingDiscussions/discussions"
62
+ >
63
+ <img
64
+ class="img-fluid"
65
+ src="community-update.png"
66
+ alt="Hugging Discussions"
67
+ /></a>
68
+ </div>
69
+ </body>
70
  </html>
style.css CHANGED
@@ -1,11 +1,6 @@
1
  body {
2
  padding: 2rem;
3
- font-family: -apple-system, BlinkMacSystemFont, "Arial", sans-serif;
4
- }
5
-
6
- h1 {
7
- font-size: 16px;
8
- margin-top: 0;
9
  }
10
 
11
  p {
@@ -16,13 +11,14 @@ p {
16
  }
17
 
18
  .card {
19
- max-width: 620px;
20
  margin: 0 auto;
21
- padding: 16px;
22
- border: 1px solid lightgray;
23
- border-radius: 16px;
24
  }
25
 
26
  .card p:last-child {
27
  margin-bottom: 0;
28
  }
 
 
 
 
 
1
  body {
2
  padding: 2rem;
3
+ font-family: Charter,ui-serif,Georgia,Cambria,Times New Roman,Times,serif
 
 
 
 
 
4
  }
5
 
6
  p {
 
11
  }
12
 
13
  .card {
14
+ max-width: 52rem;
15
  margin: 0 auto;
 
 
 
16
  }
17
 
18
  .card p:last-child {
19
  margin-bottom: 0;
20
  }
21
+ .img-fluid {
22
+ width: auto;
23
+ max-width: 100%;
24
+ }
thumbnail.png ADDED