From 1016d6992607251092a882b507bfd5bf7a3f9c75 Mon Sep 17 00:00:00 2001 From: Ludwig Kristoffersson Date: Tue, 25 Apr 2023 22:27:58 +0200 Subject: [PATCH 1/6] change name in the header to OpenUni.AI --- web-ui/src/components/page/page-frame/page-frame.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web-ui/src/components/page/page-frame/page-frame.tsx b/web-ui/src/components/page/page-frame/page-frame.tsx index f917c88..ee84e3b 100644 --- a/web-ui/src/components/page/page-frame/page-frame.tsx +++ b/web-ui/src/components/page/page-frame/page-frame.tsx @@ -71,7 +71,7 @@ function PageFrame(props: PageFrameProps) { }`} preview={false} /> -

kthGPT

+

OpenUni.AI

{showDescription && ( From cab9bf60a0d92fc6f67fcfe14a3705bf49c82cc6 Mon Sep 17 00:00:00 2001 From: Ludwig Kristoffersson Date: Tue, 25 Apr 2023 22:49:30 +0200 Subject: [PATCH 2/6] add old name next to main logo --- .../page/page-frame/page-frame.less | 54 +++++++++++++++++++ .../components/page/page-frame/page-frame.tsx | 3 ++ 2 files changed, 57 insertions(+) diff --git a/web-ui/src/components/page/page-frame/page-frame.less b/web-ui/src/components/page/page-frame/page-frame.less index 96c177a..631cc35 100644 --- a/web-ui/src/components/page/page-frame/page-frame.less +++ b/web-ui/src/components/page/page-frame/page-frame.less @@ -16,6 +16,9 @@ h1.huge { font-size: 70px; + @media (max-width: 768px) { + font-size: 50px; + } } .steps { @@ -74,3 +77,54 @@ h1.huge { display: block !important; } } + +.old_name { + h2 { + font-size: 50px; + text-shadow: 0px 0px 10px #eee; + } + + h2 { + position: relative; + display: inline-block; + } + + h2::before { + content: ''; + width: 90%; + position: absolute; + right: 5%; + top: 45%; + } + + h2::after { + content: ''; + width: 84%; + position: absolute; + right: 8%; + top: 45%; + } + + h2::before { + border-bottom: 5px solid rgba(255, 77, 79, 0.8); + border-radius: 2px; + transform: skewY(-11deg); + } + + h2::after { + border-bottom: 5px solid rgba(255, 77, 79, 0.8); + border-radius: 2px; + transform: skewY(10deg); + } + + @media (min-width: 768px) { + font-size: 50px; + height: 0; + + h2 { + position: relative; + right: -340px; + transform: rotate(20deg); + } + } +} diff --git a/web-ui/src/components/page/page-frame/page-frame.tsx b/web-ui/src/components/page/page-frame/page-frame.tsx index ee84e3b..ab383f7 100644 --- a/web-ui/src/components/page/page-frame/page-frame.tsx +++ b/web-ui/src/components/page/page-frame/page-frame.tsx @@ -74,6 +74,9 @@ function PageFrame(props: PageFrameProps) {

OpenUni.AI

+ +

kthGPT

+
{showDescription && ( <>

From 4de2a1bc1c5230a6ee1e9445a32af5ab0c0a8041 Mon Sep 17 00:00:00 2001 From: Ludwig Kristoffersson Date: Tue, 25 Apr 2023 22:51:10 +0200 Subject: [PATCH 3/6] shift stack of example assignments slightly to the left --- .../help-assignment-examples/help-assignment-examples.less | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/web-ui/src/components/help/help-assignment-examples/help-assignment-examples.less b/web-ui/src/components/help/help-assignment-examples/help-assignment-examples.less index effc862..1dfa79d 100644 --- a/web-ui/src/components/help/help-assignment-examples/help-assignment-examples.less +++ b/web-ui/src/components/help/help-assignment-examples/help-assignment-examples.less @@ -1,6 +1,7 @@ .container { position: absolute; top: -420px; + left: -50px; width: 90%; height: 200px; } @@ -21,7 +22,7 @@ pointer-events: none; height: 300px !important; position: relative; - left: -100px; + left: -40px; margin-bottom: -620px; top: 90px; z-index: 1; From 8b354d141f75c14278a23b56c84dac156d228d53 Mon Sep 17 00:00:00 2001 From: Ludwig Kristoffersson Date: Tue, 25 Apr 2023 22:59:55 +0200 Subject: [PATCH 4/6] change the slogan of the site --- web-ui/src/components/page/page-frame/page-frame.tsx | 3 ++- web-ui/src/pages/index.html | 6 +++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/web-ui/src/components/page/page-frame/page-frame.tsx b/web-ui/src/components/page/page-frame/page-frame.tsx index ab383f7..b6f5624 100644 --- a/web-ui/src/components/page/page-frame/page-frame.tsx +++ b/web-ui/src/components/page/page-frame/page-frame.tsx @@ -80,7 +80,8 @@ function PageFrame(props: PageFrameProps) { {showDescription && ( <>

- Help with lectures and assignments + Get help from an AI with university

lectures and + assignments

diff --git a/web-ui/src/pages/index.html b/web-ui/src/pages/index.html index 0962fd5..667296d 100644 --- a/web-ui/src/pages/index.html +++ b/web-ui/src/pages/index.html @@ -8,7 +8,7 @@ - + @@ -17,14 +17,14 @@ - + - + From 6369e8c9dc613c19749f7e0c021d8c3515921005 Mon Sep 17 00:00:00 2001 From: Ludwig Kristoffersson Date: Tue, 25 Apr 2023 23:06:22 +0200 Subject: [PATCH 5/6] change all references of kthGPT to OpenUni.AI --- .../lecture-queue-summary.tsx | 2 +- .../lecture-watch-result.tsx | 28 +++++++-------- .../components/page/page-frame/page-frame.tsx | 2 +- .../search-by-image/search-by-image.tsx | 2 +- web-ui/src/pages/404.tsx | 2 +- web-ui/src/pages/about.tsx | 36 ++++++++++--------- web-ui/src/pages/assignments/index.tsx | 4 +-- web-ui/src/pages/courses/index.tsx | 6 ++-- web-ui/src/pages/index.html | 8 ++--- web-ui/src/pages/index.tsx | 4 +-- web-ui/src/pages/info/denied.tsx | 4 +-- web-ui/src/pages/info/failures.tsx | 2 +- web-ui/src/pages/info/queue.tsx | 6 ++-- web-ui/src/pages/lectures/add.tsx | 2 +- web-ui/src/pages/lectures/questions.tsx | 2 +- web-ui/src/pages/lectures/watch.tsx | 4 +-- 16 files changed, 59 insertions(+), 55 deletions(-) diff --git a/web-ui/src/components/lecture/lecture-queue-summary/lecture-queue-summary.tsx b/web-ui/src/components/lecture/lecture-queue-summary/lecture-queue-summary.tsx index 71e0c9a..ea37d4b 100644 --- a/web-ui/src/components/lecture/lecture-queue-summary/lecture-queue-summary.tsx +++ b/web-ui/src/components/lecture/lecture-queue-summary/lecture-queue-summary.tsx @@ -67,7 +67,7 @@ export default function LectureQueueSummary() { - kthGPT has limited capacity. Currently there is + OpenUni.AI has limited capacity. Currently there is {unfinishedLectures.length - 1} other lectures being watched. view the progress diff --git a/web-ui/src/components/lecture/lecture-watch-result/lecture-watch-result.tsx b/web-ui/src/components/lecture/lecture-watch-result/lecture-watch-result.tsx index eb04c65..1c6fb6d 100644 --- a/web-ui/src/components/lecture/lecture-watch-result/lecture-watch-result.tsx +++ b/web-ui/src/components/lecture/lecture-watch-result/lecture-watch-result.tsx @@ -66,14 +66,14 @@ export default function LectureWatchResult(props: LectureWatchResultProps) { - Since kthGPT has limited capacity only relevant videos are - allowed. kthGPT is currently trying to figure out if the - video is relevant. Relevant videos are educational videos, - such as recorded lectures, tutorials about math, programming - etc. + Since OpenUni.AI has limited capacity only relevant videos + are allowed. OpenUni.AI is currently trying to figure out if + the video is relevant. Relevant videos are educational + videos, such as recorded lectures, tutorials about math, + programming etc. - kthGPT will also not watch videos longer than 4 hours. + OpenUni.AI will also not watch videos longer than 4 hours. This can take a few minutes. @@ -92,25 +92,25 @@ export default function LectureWatchResult(props: LectureWatchResultProps) { <> - Since kthGPT has limited capacity only relevant videos are - allowed. + Since OpenUni.AI has limited capacity only relevant videos + are allowed. - kthGPT is using AI to determine which videos are relevant. - And this video was denied. There is a few reasons why this - could have happened. However, most likely this is because - the video was off-topic. + OpenUni.AI is using AI to determine which videos are + relevant. And this video was denied. There is a few reasons + why this could have happened. However, most likely this is + because the video was off-topic. Youtube videos should be about a topic that is relevant for - a course at KTH, which is the purpose of kthGPT. + a course at KTH, which is the purpose of OpenUni.AI. If you feel this video should be admitted diff --git a/web-ui/src/components/page/page-frame/page-frame.tsx b/web-ui/src/components/page/page-frame/page-frame.tsx index b6f5624..ef6132b 100644 --- a/web-ui/src/components/page/page-frame/page-frame.tsx +++ b/web-ui/src/components/page/page-frame/page-frame.tsx @@ -104,7 +104,7 @@ function PageFrame(props: PageFrameProps) { diff --git a/web-ui/src/pages/index.html b/web-ui/src/pages/index.html index 7a02e18..d4067ad 100644 --- a/web-ui/src/pages/index.html +++ b/web-ui/src/pages/index.html @@ -16,17 +16,17 @@ - + - + - + - +