From d54fb5463cf470137a33b831bc0002d49e7040c5 Mon Sep 17 00:00:00 2001 From: 1chooo Date: Sat, 9 Sep 2023 22:09:03 +0800 Subject: [PATCH] update: NavBar --- Refinaid/App/app.py | 18 ++ templates/about_us.html | 389 +++++++++++++++++++++++++++++++++++++ templates/docs.html | 155 +++++++-------- templates/help.html | 164 +++++++--------- templates/license.html | 389 +++++++++++++++++++++++++++++++++++++ templates/navbar.html | 180 ++++++----------- templates/playgrounds.html | 161 ++++++--------- templates/settings.html | 169 +++++++--------- templates/teaching.html | 389 +++++++++++++++++++++++++++++++++++++ 9 files changed, 1521 insertions(+), 493 deletions(-) diff --git a/Refinaid/App/app.py b/Refinaid/App/app.py index 5185dec..2810c34 100644 --- a/Refinaid/App/app.py +++ b/Refinaid/App/app.py @@ -62,6 +62,24 @@ async def page_signup(request: Request, ): f"signup.html", {"request": request} ) +@app.get("/about_us", response_class=HTMLResponse) +async def page_teaching(request: Request, ): + return templates.TemplateResponse( + f"about_us.html", {"request": request} + ) + +@app.get("/license", response_class=HTMLResponse) +async def page_teaching(request: Request, ): + return templates.TemplateResponse( + f"license.html", {"request": request} + ) + +@app.get("/teaching", response_class=HTMLResponse) +async def page_teaching(request: Request, ): + return templates.TemplateResponse( + f"teaching.html", {"request": request} + ) + @app.get("/help", response_class=HTMLResponse) async def page_help(request: Request, ): return templates.TemplateResponse( diff --git a/templates/about_us.html b/templates/about_us.html index e69de29..1523777 100644 --- a/templates/about_us.html +++ b/templates/about_us.html @@ -0,0 +1,389 @@ + + + + + SIMPLE AI - Bridging the Gap with AI For Everyone + + + + + + + + + + + + + + + + + + + +
+
+
+
+
+ + + +
+ +
+ + + +
+ + + + +
+
+
+
+
+ +
+ + + + + + + + + + + + \ No newline at end of file diff --git a/templates/docs.html b/templates/docs.html index 4ca5668..02e9c3e 100644 --- a/templates/docs.html +++ b/templates/docs.html @@ -37,10 +37,12 @@ stroke-width="2" d="M4 7h22M4 15h22M4 23h22"> - + +
-
+ + +
- + @@ -174,11 +176,11 @@ alt="user profile">
@@ -191,8 +193,8 @@
× @@ -213,24 +215,10 @@ Overview + - + - + + - + + + +
+
-
+ + +
- + @@ -156,7 +158,7 @@
- + @@ -174,11 +176,11 @@ alt="user profile">
@@ -186,15 +188,16 @@ -
+
× + + + +
diff --git a/templates/license.html b/templates/license.html index e69de29..36b0ad8 100644 --- a/templates/license.html +++ b/templates/license.html @@ -0,0 +1,389 @@ + + + + + SIMPLE AI - Bridging the Gap with AI For Everyone + + + + + + + + + + + + + + + + + + + +
+
+
+
+
+ + + +
+ +
+ + + +
+ + + + +
+
+
+
+
+ +
+ + + + + + + + + + + + \ No newline at end of file diff --git a/templates/navbar.html b/templates/navbar.html index 522d240..8719538 100644 --- a/templates/navbar.html +++ b/templates/navbar.html @@ -27,7 +27,7 @@
- +
- 6 + 3 -
+
× + + + +
diff --git a/templates/teaching.html b/templates/teaching.html index e69de29..a1becca 100644 --- a/templates/teaching.html +++ b/templates/teaching.html @@ -0,0 +1,389 @@ + + + + + SIMPLE AI - Bridging the Gap with AI For Everyone + + + + + + + + + + + + + + + + + + + +
+
+
+
+
+ + + +
+ +
+ + + +
+ + + + +
+
+
+
+
+ +
+ + + + + + + + + + + + \ No newline at end of file