Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
rodja committed Jan 28, 2023
1 parent 9fd7728 commit 76b1cbd
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion website/style.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ def example_link(title: str, description: str) -> None:
name = title.lower().replace(' ', '_')
directory = Path(__file__).parent.parent / 'examples' / name
content = [p for p in directory.glob('*') if p.name != '__pycache__' and not p.name.startswith('.')]
print(name, content, flush=True)
filename = 'main.py' if len(content) == 1 else ''
with ui.link(target=f'https://github.com/zauberzeug/nicegui/tree/main/examples/{name}/{filename}') \
.classes('bg-[#5898d420] p-4 self-stretch rounded flex flex-col gap-2') \
Expand Down

0 comments on commit 76b1cbd

Please sign in to comment.