Skip to content

Commit 94fe7a9

Browse files
Small improvements to link placements, and added a playable Youtube video to the home page.
1 parent 24e9e7d commit 94fe7a9

File tree

6 files changed

+21
-9
lines changed

6 files changed

+21
-9
lines changed

components/navbar.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ def create_content(data):
4141
dmc.Divider(label="Awesome Dash", mt="2rem", mb="1rem", labelPosition="left", pl="1rem"),
4242
dmc.Anchor([DashIconify(icon="carbon:ibm-z-os-package-manager", height=20), "PyPi Components"], href="https://community.plotly.com/t/community-components-index/60098",
4343
className="navbar-link", ),
44-
dmc.Anchor([DashIconify(icon="streamline:global-learning", height=20), "Learning Resources"], href="/learning-resources",
45-
className="navbar-link", ),
44+
# dmc.Anchor([DashIconify(icon="streamline:global-learning", height=20), "Learning Resources"], href="https://github.com/learning-resources",
45+
# className="navbar-link", ),
4646
dmc.Divider(label="Projects", mt="2rem", mb="1rem", labelPosition="left", pl="1rem"),
4747
dmc.Anchor(
4848
[DashIconify(icon='emojione:department-store', height=20), 'Store'],

docs/dash_dock/introduction.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ icon: tabler:layout-sidebar-right-collapse
88

99
.. toc::
1010

11+
[Visit the Github Repo](https://github.com/pip-install-python/dash-dock)
12+
13+
1114
### Features
1215

1316
- Create dock-able, resizable, and floatable windows in your Dash apps
@@ -23,8 +26,6 @@ icon: tabler:layout-sidebar-right-collapse
2326
pip install dash-dock
2427
```
2528

26-
[Github Repo](https://github.com/pip-install-python/dash-dock)
27-
2829
### Simple Example
2930

3031
.. exec::docs.dash_dock.simple_usage

docs/dash_leaflet/introduction.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ icon: gis:poi-map-o
99

1010
.. toc::
1111

12+
[Visit the Github Repo Fork](https://github.com/pip-install-python/dash-leaflet)
13+
14+
1215
### Installation
1316

1417
This isn't a full feature pip component only a .tar.gz file that can be installed in your project. First you'll need to download the file via:
@@ -23,9 +26,6 @@ pip install dash-leaflet-1.0.18.tar.gz
2326
## Introduction
2427
This is a fork of the dash-leaflet package that I've added some custom components to. This project contains all the components from the original dash-leaflet package, but with some additional components like the `RotatedMarker` and `AntPath` components and improvements to the edit controls.
2528

26-
#### Forked Github Repo Location
27-
[https://github.com/pip-install-python/dash-leaflet](https://github.com/pip-install-python/dash-leaflet)
28-
2929
### RotatedMarker Component
3030
The first example was designed to showcase how with a RotatedMarker you can use math and callbacks to rotate a marker as it follows a polyline. Like in this uber-like map following the marker example.
3131
.. exec::docs.dash_leaflet.track_player

docs/dash_planet/introduction.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ icon: solar:planet-4-bold
88

99
.. toc::
1010

11+
[Visit GitHub Repo](https://github.com/pip-install-python/dash_planet)
12+
1113
### Features
1214

1315
| **Free Tier** | **Premium Features** |

pages/home.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ These are the components that I have built and am currently maintaining:
2222
* [![Downloads](https://static.pepy.tech/badge/dash-emoji-mart)](https://pepy.tech/project/dash-emoji-mart) ` Dash Emoji Mart` - A Slack-like Emoji Picker for Dash
2323
* [![Downloads](https://static.pepy.tech/badge/dash-dynamic-grid-layout)](https://pepy.tech/project/dash-dynamic-grid-layout) `Dash Dynamic Grid Layout` - A Dynamic Grid Layout Component for Dash
2424
* [![Downloads](https://static.pepy.tech/badge/dash-discord)](https://pepy.tech/project/dash-discord) `Dash Discord` - Discord integration for the Dash framework
25-
* * [![Downloads](https://static.pepy.tech/badge/dash-dock)](https://pepy.tech/project/dash-dock) `Dash Dock` - A dynamic dock windows and tabs layout for Dash
25+
* [![Downloads](https://static.pepy.tech/badge/dash-dock)](https://pepy.tech/project/dash-dock) `Dash Dock` - A dynamic dock windows and tabs layout for Dash
2626
* [![Downloads](https://static.pepy.tech/badge/dash-pannellum)](https://pepy.tech/project/dash-pannellum) `Dash Pannellum` - 360 Panorama Viewer for Images and Video for Dash
2727
* [![Downloads](https://static.pepy.tech/badge/dash-planet)](https://pepy.tech/project/dash-planet) `Dash Planet` - an interactive orbital menu component for Dash applications.
2828
* [![Downloads](https://static.pepy.tech/badge/dash-nivo)](https://pepy.tech/project/dash-nivo) `Dash Nivo` - A Nivo Component for Dash
@@ -33,5 +33,5 @@ These are the components that I have built and am currently maintaining:
3333
### Learn about the Developer behind these components:
3434

3535

36-
[![Dash Dock Preivew](/assets/images/about_me.png)](https://youtu.be/9Bcw_RmTQ2o?si=hsExmOB3436wZG6y)
36+
[//]: # ([![Dash Dock Preivew](/assets/images/about_me.png)](https://youtu.be/9Bcw_RmTQ2o?si=hsExmOB3436wZG6y))
3737

pages/home.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
from dash import html
77

88
from lib.constants import PAGE_TITLE_PREFIX
9+
import dash_player as dp
910

1011
register_page(
1112
__name__,
@@ -31,6 +32,14 @@
3132
mt=30,
3233
children=dcc.Markdown(content)
3334
),
35+
dp.DashPlayer(
36+
id="player",
37+
url="https://youtu.be/9Bcw_RmTQ2o?si=hsExmOB3436wZG6y",
38+
controls=True,
39+
width="80%",
40+
height="350px",
41+
),
42+
3443
]
3544
)
3645

0 commit comments

Comments
 (0)