Skip to content

Commit 5afa2d6

Browse files
committed
f
1 parent d8b3b87 commit 5afa2d6

5 files changed

Lines changed: 8 additions & 7 deletions

File tree

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,12 @@ To show how this kit works, we include a sample web app to manage your todo list
3333
With this sample, you can easily understand how each component works with other ones, and what the overall experience will be like.
3434

3535
<img align="right" width="300" src="./imgs/signin.png">
36-
Here is a sign in/up page. Note that you can still get data from public API endpoints since it requires no authentication.
36+
Here is a sign in/up page. This will redirect you to Cognito Managed login page.
3737
<br clear="right"/>
3838

39-
<img align="left" width="300" src="./imgs/signedin.png">
40-
After a successful login, you can now freely add, delete, and view your own memos.
41-
To demonstrate an asynchronous job feature, we also placed a button to run a asynchronous job. Currently, it does not have any actual effect, but when you push a button it sends a request to enqueue the job and a job will be invoked.
39+
<img align="left" width="300" src="./imgs/top.png">
40+
After a successful login, you can now freely add, delete, and view your todo items.
41+
To demonstrate an asynchronous job feature, we also placed a button to run a asynchronous translation job. After the invocation, the task sends an event to the event bus and your frontend automatically refreshes to fetch the translated items.
4242

4343
<br clear="left"/>
4444

imgs/signin.png

25.5 KB
Loading

imgs/top.png

62.8 KB
Loading

webapp/src/app/layout.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,10 @@ import { Toaster } from 'sonner';
33

44
export default function RootLayout({ children }: { children: React.ReactNode }) {
55
return (
6-
<html lang="en">
6+
<html>
7+
<head>
8+
<title>AWS Serverless TODO</title>
9+
</head>
710
<body>
811
{children}
912
<Toaster position="top-right" />

webapp/src/app/page.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,6 @@ export default async function Home() {
2626

2727
<main className="flex-grow">
2828
<div className="max-w-4xl mx-auto px-4 py-8">
29-
<h1 className="text-3xl font-bold mb-8 text-center">My Todo List</h1>
30-
3129
<CreateTodoForm userId={userId} />
3230

3331
<div className="mb-8">

0 commit comments

Comments
 (0)