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 effc8629..1dfa79da 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; 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 71e0c9a0..ea37d4b8 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 eb04c655..1c6fb6d4 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.less b/web-ui/src/components/page/page-frame/page-frame.less index 96c177a1..631cc355 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 f917c88d..ef6132bc 100644 --- a/web-ui/src/components/page/page-frame/page-frame.tsx +++ b/web-ui/src/components/page/page-frame/page-frame.tsx @@ -71,13 +71,17 @@ function PageFrame(props: PageFrameProps) { }`} preview={false} /> -

kthGPT

+

OpenUni.AI

+ +

kthGPT

+
{showDescription && ( <>

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

lectures and + assignments

@@ -100,7 +104,7 @@ function PageFrame(props: PageFrameProps) { diff --git a/web-ui/src/pages/about.tsx b/web-ui/src/pages/about.tsx index 95dba889..a0924773 100644 --- a/web-ui/src/pages/about.tsx +++ b/web-ui/src/pages/about.tsx @@ -8,22 +8,22 @@ const { Paragraph, Title, Link } = Typography; export default function AboutPage() { useEffect(() => { - document.title = 'kthGPT - About'; + document.title = 'OpenUni.AI | About'; registerPageLoad(); }, []); return ( <> - +
- About kthGPT + About OpenUni.AI - kthGPT is a free and open source tool that can watch a lecture - for you. As a student, kthGPT can help you learn how to solve - assignments and understand lecture slides and other course - material. + OpenUni.AI is a free and open source tool that can watch a + lecture for you. As a student, OpenUni.AI can help you learn how + to solve assignments and understand lecture slides and other + course material.
@@ -36,7 +36,7 @@ export default function AboutPage() { 1. Select lecture Select a lecture that's already been watched or add a new one! - kthGPT can watch lectures hosted on + OpenUni.AI can watch lectures hosted on KTH Play @@ -51,14 +51,16 @@ export default function AboutPage() { It can't watch any video on YouTube. Due to limited capacity - kthGPT will only watch "relevant videos". Relevant videos are - such that it thinks are Recorded Lectures. kthGPT - uses a sample of the video to do this assessment. + OpenUni.AI will only watch "relevant videos". Relevant videos + are such that it thinks are Recorded Lectures. + OpenUni.AI uses a sample of the video to do this assessment. - 2. Wait for kthGPT to "watch" the lecture + + 2. Wait for OpenUni.AI to "watch" the lecture + - If the video has not been watched by kthGPT before, it will + If the video has not been watched by OpenUni.AI before, it will start watching the video and try to produce a summary. It will only listen to the audio, so nothing been shown or written in the lecture will be included in the summary. @@ -70,14 +72,14 @@ export default function AboutPage() { If the audio quality in the video is bad, the quality of the - summary will be worse. kthGPT is generally best at understanding - English. However, if the audio quality is good, Swedish should - be just fine as well. + summary will be worse. OpenUni.AI is generally best at + understanding English. However, if the audio quality is good, + Swedish should be just fine as well. 3. Ask questions about the lecture - The lecture is ready. kthGPT can now use GPT-3 to answer + The lecture is ready. OpenUni.AI can now use GPT-3 to answer questions about the lecture. Some useful queries: diff --git a/web-ui/src/pages/assignments/index.tsx b/web-ui/src/pages/assignments/index.tsx index 54dc24e9..000ce179 100644 --- a/web-ui/src/pages/assignments/index.tsx +++ b/web-ui/src/pages/assignments/index.tsx @@ -128,7 +128,7 @@ export default function AssignmentsIndexPage() { useEffect(() => { if (image && image.title) { - document.title = `kthGPT - ${image.title}`; + document.title = `OpenUni.AI | ${image.title}`; } }, [image]); @@ -231,7 +231,7 @@ export default function AssignmentsIndexPage() { 🧑‍🏫 Where can I learn how to solve this assignment? - kthGPT is trying to find + OpenUni.AI is trying to find which lectures are relevant for this assignment, and where in them you can find the information you need to solve the assignment. diff --git a/web-ui/src/pages/courses/index.tsx b/web-ui/src/pages/courses/index.tsx index f692cbd7..aa1746a8 100644 --- a/web-ui/src/pages/courses/index.tsx +++ b/web-ui/src/pages/courses/index.tsx @@ -40,7 +40,7 @@ export default function IndexPage() { `/courses/${course.course_code}` ); - document.title = `kthGPT - ${course.course_code}`; + document.title = `OpenUni.AI | ${course.course_code}`; }; let shouldShowCourseList = false; @@ -53,7 +53,7 @@ export default function IndexPage() { useEffect(() => { registerPageLoad(); if (courseCode !== undefined) { - document.title = `kthGPT - ${courseCode}`; + document.title = `OpenUni.AI | ${courseCode}`; setSelectedCourse(courseCode); setBreadcrumbs([ { @@ -65,7 +65,7 @@ export default function IndexPage() { }, ]); } else { - document.title = 'kthGPT - Courses'; + document.title = 'OpenUni.AI | Courses'; setBreadcrumbs([ { title: 'Browse Courses', diff --git a/web-ui/src/pages/index.html b/web-ui/src/pages/index.html index 0962fd58..d4067adb 100644 --- a/web-ui/src/pages/index.html +++ b/web-ui/src/pages/index.html @@ -2,31 +2,31 @@ - kthGPT + OpenUni.AI - - + + - - - - + + + + - - - - + + + + diff --git a/web-ui/src/pages/index.tsx b/web-ui/src/pages/index.tsx index 94795956..b44120f3 100644 --- a/web-ui/src/pages/index.tsx +++ b/web-ui/src/pages/index.tsx @@ -52,7 +52,7 @@ export default function IndexPage() { }; useEffect(() => { - document.title = 'kthGPT'; + document.title = 'OpenUni.AI'; registerPageLoad(); }, []); @@ -97,7 +97,7 @@ export default function IndexPage() { } title="Find a lecture" - subtitle="Find a lecture from the lectures kthGPT has already watched" + subtitle="Find a lecture from the lectures OpenUni.AI has already watched" url="/courses" preview={ null} small={true} /> diff --git a/web-ui/src/pages/info/denied.tsx b/web-ui/src/pages/info/denied.tsx index 7f99d423..f6806add 100644 --- a/web-ui/src/pages/info/denied.tsx +++ b/web-ui/src/pages/info/denied.tsx @@ -8,7 +8,7 @@ const { Title } = Typography; export default function DeniedPage() { useEffect(() => { - document.title = 'kthGPT - Denied'; + document.title = 'OpenUni.AI | Denied'; registerPageLoad(); }, []); @@ -16,7 +16,7 @@ export default function DeniedPage() { <> <> - Lectures that where denied by kthGPT + Lectures that where denied by OpenUni.AI diff --git a/web-ui/src/pages/info/failures.tsx b/web-ui/src/pages/info/failures.tsx index 62db2ba8..7922c7b7 100644 --- a/web-ui/src/pages/info/failures.tsx +++ b/web-ui/src/pages/info/failures.tsx @@ -8,7 +8,7 @@ const { Title } = Typography; export default function FailuresPage() { useEffect(() => { - document.title = 'kthGPT - Failures'; + document.title = 'OpenUni.AI | Failures'; registerPageLoad(); }, []); diff --git a/web-ui/src/pages/info/queue.tsx b/web-ui/src/pages/info/queue.tsx index c5265464..c4dd540f 100644 --- a/web-ui/src/pages/info/queue.tsx +++ b/web-ui/src/pages/info/queue.tsx @@ -8,7 +8,7 @@ const { Title } = Typography; export default function QueuePage() { useEffect(() => { - document.title = 'kthGPT - Queue'; + document.title = 'OpenUni.AI | Queue'; registerPageLoad(); }, []); @@ -16,7 +16,9 @@ export default function QueuePage() { <> <> - Current queue of videos for kthGPT to watch + + Current queue of videos for OpenUni.AI to watch + diff --git a/web-ui/src/pages/lectures/add.tsx b/web-ui/src/pages/lectures/add.tsx index 93bee712..1b1ac01d 100644 --- a/web-ui/src/pages/lectures/add.tsx +++ b/web-ui/src/pages/lectures/add.tsx @@ -6,7 +6,7 @@ import LectureAddNewForm from '@/components/lecture/lecture-add-new-form/lecture export default function IndexPage() { useEffect(() => { - document.title = 'kthGPT - Add Lecture'; + document.title = 'OpenUni.AI | Add Lecture'; registerPageLoad(); }, []); diff --git a/web-ui/src/pages/lectures/questions.tsx b/web-ui/src/pages/lectures/questions.tsx index b0699714..2f43ffa3 100644 --- a/web-ui/src/pages/lectures/questions.tsx +++ b/web-ui/src/pages/lectures/questions.tsx @@ -79,7 +79,7 @@ export default function QuestionsPage() { useEffect(() => { if (lecture && lecture.title) { - document.title = `kthGPT - ${lecture.title}`; + document.title = `OpenUni.AI | ${lecture.title}`; } }, [lecture]); diff --git a/web-ui/src/pages/lectures/watch.tsx b/web-ui/src/pages/lectures/watch.tsx index 5e7089fb..7406a53d 100644 --- a/web-ui/src/pages/lectures/watch.tsx +++ b/web-ui/src/pages/lectures/watch.tsx @@ -140,7 +140,7 @@ export default function WatchPage() { useEffect(() => { if (lecture && lecture.title) { - document.title = `kthGPT - ${lecture.title}`; + document.title = `OpenUni.AI | ${lecture.title}`; } }, [lecture]); @@ -229,7 +229,7 @@ export default function WatchPage() {

- kthGPT is watching the lecture 🍿 + OpenUni.AI is watching the lecture 🍿

This can take a little while, but is only done once per