hkayabilisim commited on
Commit
92b193c
·
1 Parent(s): 808b0f9

Removed titles on top of logo

Browse files
tomorrowcities/components/article.py CHANGED
@@ -24,4 +24,5 @@ def Overview():
24
  with solara.ColumnsResponsive(12, small=6, large=2):
25
  for name in articles:
26
  ArticleCard(name)
 
27
  return main
 
24
  with solara.ColumnsResponsive(12, small=6, large=2):
25
  for name in articles:
26
  ArticleCard(name)
27
+ solara.Title(" ")
28
  return main
tomorrowcities/pages/__init__.py CHANGED
@@ -126,7 +126,7 @@ def Page(name: Optional[str] = None, page: int = 0, page_size=100):
126
  """
127
  solara.Style(value=css)
128
  with solara.VBox() as main:
129
- solara.Title("TCDSE » Welcome")
130
  article = articles["welcome"]
131
  solara.Markdown(article.markdown)
132
 
 
126
  """
127
  solara.Style(value=css)
128
  with solara.VBox() as main:
129
+ solara.Title(" ")
130
  article = articles["welcome"]
131
  solara.Markdown(article.markdown)
132
 
tomorrowcities/pages/account.py CHANGED
@@ -8,7 +8,7 @@ from . import LoginForm
8
 
9
  @solara.component
10
  def Page():
11
- solara.Title("TCDSE » Account")
12
  if user.value is None:
13
  LoginForm()
14
 
 
8
 
9
  @solara.component
10
  def Page():
11
+ solara.Title(" ")
12
  if user.value is None:
13
  LoginForm()
14
 
tomorrowcities/pages/docs.py CHANGED
@@ -24,7 +24,7 @@ repository in AWS.
24
  def Page(name: Optional[str] = None, page: int = 0, page_size=100):
25
  if name is None:
26
  with solara.Column() as main:
27
- solara.Title("TCDSE» Documentation")
28
  Overview()
29
  solara.Text('Images by rawpixel.com')
30
  return main
@@ -32,7 +32,7 @@ def Page(name: Optional[str] = None, page: int = 0, page_size=100):
32
  return solara.Error(f"No such article: {name!r}")
33
  article = data.articles[name]
34
  with solara.ColumnsResponsive(12) as main:
35
- solara.Title("TCDSE » Documentation » " + article.title)
36
  with solara.Link("/docs"):
37
  solara.Text("« Back to documentation")
38
  with solara.Card():
 
24
  def Page(name: Optional[str] = None, page: int = 0, page_size=100):
25
  if name is None:
26
  with solara.Column() as main:
27
+ solara.Title(" ")
28
  Overview()
29
  solara.Text('Images by rawpixel.com')
30
  return main
 
32
  return solara.Error(f"No such article: {name!r}")
33
  article = data.articles[name]
34
  with solara.ColumnsResponsive(12) as main:
35
+ solara.Title(" ")
36
  with solara.Link("/docs"):
37
  solara.Text("« Back to documentation")
38
  with solara.Card():
tomorrowcities/pages/engine.py CHANGED
@@ -1506,7 +1506,7 @@ def Page(name: Optional[str] = None, page: int = 0, page_size=100):
1506
  }
1507
  """
1508
  solara.Style(value=css)
1509
- solara.Title("TCDSE » Engine")
1510
 
1511
  WebApp()
1512
 
 
1506
  }
1507
  """
1508
  solara.Style(value=css)
1509
+ solara.Title(" ")
1510
 
1511
  WebApp()
1512
 
tomorrowcities/pages/policies.py CHANGED
@@ -2,4 +2,5 @@ import solara
2
 
3
  @solara.component
4
  def Page():
5
- solara.Markdown('Policies')
 
 
2
 
3
  @solara.component
4
  def Page():
5
+ solara.Markdown('Policies')
6
+ solara.Title(" ")
tomorrowcities/pages/settings.py CHANGED
@@ -189,4 +189,6 @@ def Page(name: Optional[str] = None, page: int = 0, page_size=100):
189
  solara.Markdown(md_text='''
190
  If the water level is beyond this threshold then the road
191
  is assumed to be flooded.''')
192
- solara.SliderFloat(label='Minimum Water Level Threshold for Roads (meters)', value=threshold_road_water_height, min=0,max=1)
 
 
 
189
  solara.Markdown(md_text='''
190
  If the water level is beyond this threshold then the road
191
  is assumed to be flooded.''')
192
+ solara.SliderFloat(label='Minimum Water Level Threshold for Roads (meters)', value=threshold_road_water_height, min=0,max=1)
193
+
194
+ solara.Title(" ")
tomorrowcities/pages/utilities.py CHANGED
@@ -169,7 +169,7 @@ def Page(name: Optional[str] = None, page: int = 0, page_size=100):
169
 
170
  """
171
  solara.Style(value=css)
172
- solara.Title("TCDSE » Engine")
173
 
174
  Utilities()
175
 
 
169
 
170
  """
171
  solara.Style(value=css)
172
+ solara.Title(" ")
173
 
174
  Utilities()
175