razaAhmed commited on
Commit
a8a2c01
·
1 Parent(s): 580d62d

Update safarnama.py

Browse files
Files changed (1) hide show
  1. safarnama.py +4 -33
safarnama.py CHANGED
@@ -265,6 +265,7 @@ def ChatInterface():
265
  solara.Error(repr(result.error))
266
 
267
 
 
268
  @solara.component
269
  def Page():
270
  with solara.Column(
@@ -286,42 +287,12 @@ def Page():
286
  justify="end",
287
  ):
288
  with solara.Row(gap="5px", style={"align-items": "center"}):
289
- solara.Text("Source Code:", style="font-weight: bold;")
290
- # target="_blank" links are still easiest to do via ipyvuetify
291
- with solara.v.Btn(
292
- icon=True,
293
- tag="a",
294
- attributes={
295
- "href": "https://github.com/widgetti/wanderlust",
296
- "title": "Wanderlust Source Code",
297
- "target": "_blank",
298
- },
299
- ):
300
- solara.v.Icon(children=["mdi-github-circle"])
301
- with solara.Row(gap="5px", style={"align-items": "center"}):
302
- solara.Text("Powered by Solara:", style="font-weight: bold;")
303
- with solara.v.Btn(
304
- icon=True,
305
- tag="a",
306
- attributes={
307
- "href": "https://solara.dev/",
308
- "title": "Solara",
309
- "target": "_blank",
310
- },
311
- ):
312
- solara.HTML(
313
- tag="img",
314
- attributes={
315
- "src": "https://solara.dev/static/public/logo.svg",
316
- "width": "24px",
317
- },
318
- )
319
  with solara.v.Btn(
320
  icon=True,
321
  tag="a",
322
  attributes={
323
- "href": "https://github.com/widgetti/solara",
324
- "title": "Solara Source Code",
325
  "target": "_blank",
326
  },
327
  ):
@@ -334,4 +305,4 @@ def Page():
334
  with solara.Column(classes=["map-container"]):
335
  Map()
336
 
337
- solara.Style(app_style)
 
265
  solara.Error(repr(result.error))
266
 
267
 
268
+
269
  @solara.component
270
  def Page():
271
  with solara.Column(
 
287
  justify="end",
288
  ):
289
  with solara.Row(gap="5px", style={"align-items": "center"}):
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
290
  with solara.v.Btn(
291
  icon=True,
292
  tag="a",
293
  attributes={
294
+ "href": "https://github.com/Ahmedraza56/safarnama",
295
+ "title": "SafarNama Source Code",
296
  "target": "_blank",
297
  },
298
  ):
 
305
  with solara.Column(classes=["map-container"]):
306
  Map()
307
 
308
+ solara.Style(app_style)