From 85d59fcebbdb2195746772835d2676d8bb9f8431 Mon Sep 17 00:00:00 2001 From: Dale Black Date: Thu, 29 Feb 2024 10:19:43 -0800 Subject: [PATCH] update to newest oxygen release --- examples/TodoApp/src/TodoApp.jl | 3 +-- examples/TodoApp/src/routes/index.jl | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/examples/TodoApp/src/TodoApp.jl b/examples/TodoApp/src/TodoApp.jl index 952cb06..4aebd0a 100644 --- a/examples/TodoApp/src/TodoApp.jl +++ b/examples/TodoApp/src/TodoApp.jl @@ -1,8 +1,7 @@ module TodoApp -import Base: get -import Oxygen; Oxygen.@oxidise import Oxygen: @get, @post, @delete +Oxygen.@oxidise import HTTP using HTMLStrings diff --git a/examples/TodoApp/src/routes/index.jl b/examples/TodoApp/src/routes/index.jl index 56fc3e8..5432f68 100644 --- a/examples/TodoApp/src/routes/index.jl +++ b/examples/TodoApp/src/routes/index.jl @@ -18,7 +18,7 @@ function index() body(:id => body, :class => "bg-black", navbar("/todo", "To-Do List"), divv(:id => "main", :class => "mx-auto text-center py-10 w-1/2 text-white", - h1(:class => "text-4xl font-bold mb-4", "Hello Welcome to the To-Do App!"), + h1(:class => "text-4xl font-bold mb-4", "Hi. Welcome to the To-Do App!"), p(:class => "text-lg", "Click the button above to start managing your tasks.") ) )