From d0886dab7f63872b9a529c2473232d4605d1d1ea Mon Sep 17 00:00:00 2001 From: Viet Hung Nguyen Date: Tue, 18 Mar 2025 07:07:12 +0900 Subject: [PATCH] Fix link to source --- 00_game_of_life/main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/00_game_of_life/main.py b/00_game_of_life/main.py index d5d73cf..aed0b33 100644 --- a/00_game_of_life/main.py +++ b/00_game_of_life/main.py @@ -54,7 +54,7 @@ def Home(): pause_btn = Button('Pause', id='pause', cls='col-xs-2', hx_put='/pause', hx_target='#gol', hx_swap='none') reset_btn = Button('Reset', id='reset', cls='col-xs-2', hx_put='/reset', hx_target='#gol', hx_swap='none') main = Main(gol, Div(run_btn, pause_btn, reset_btn, cls='row center-xs'), hx_ext="ws", ws_connect="/gol") - footer = Footer(P('Made by Nathan Cooper. Check out the code', AX('here', href='https://github.com/AnswerDotAI/fasthtml-example/tree/main/game_of_life', target='_blank'))) + footer = Footer(P('Made by Nathan Cooper. Check out the code ', AX('here.', href='https://github.com/AnswerDotAI/fasthtml-example/tree/main/00_game_of_life', target='_blank'))) return Title('Game of Life'), main, footer @rt('/') @@ -99,4 +99,4 @@ async def put(): @rt('/pause') async def put(): game_state['running'] = False - await update_players() \ No newline at end of file + await update_players()