Skip to content

Commit

Permalink
Refactor navbar (#30)
Browse files Browse the repository at this point in the history
* refactor axios and finish usericon with login

Signed-off-by: owenowenisme <[email protected]>

* refactor api dir location, svg location, zustand location and usertype

Signed-off-by: owenowenisme <[email protected]>

* finish global Nav waiting for icon

Signed-off-by: owenowenisme <[email protected]>

* update baseurl, cn classValue

Signed-off-by: owenowenisme <[email protected]>

* fix logout loop

Signed-off-by: owenowenisme <[email protected]>

* update icon

Signed-off-by: owenowenisme <[email protected]>

---------

Signed-off-by: owenowenisme <[email protected]>
  • Loading branch information
owenowenisme committed Mar 4, 2025
1 parent 4972bfd commit 0393112
Show file tree
Hide file tree
Showing 96 changed files with 1,551 additions and 404 deletions.
Binary file modified frontend/app/favicon.ico
Binary file not shown.
25 changes: 16 additions & 9 deletions frontend/app/page.tsx
Original file line number Diff line number Diff line change
@@ -1,18 +1,25 @@
import { FileUploadField } from '@/components/FileUploadField';
import { ExamCard } from '@/components/ExamCard';
'use client';
import { useState } from 'react';
import { TextwithIcon } from '@/ui/Button';
import { Icon } from '@/ui/icons';
import Image from 'next/image';

export default function Page() {
const [value, setValue] = useState('');
return (
<div className="space-y-8">
<h1 className="text-xl font-medium text-gray-300">Examples</h1>

<div className="space-y-10 rounded-2xl bg-cyan-700 text-white">
<FileUploadField />
<div className="flex flex-col gap-4">
<h1 className="text-2xl font-bold">Welcome to the Exam Portal</h1>
<p className="text-gray-600">
This is the main page of the exam portal. Here you can find all the
information you need about the exams.
</p>
</div>
<div className="space-y-10 bg-red-700 text-white">
<ExamCard />
<div className="flex flex-col gap-4">
<TextwithIcon>
<Icon name="arrow-left-right" className="text-red-500" />
</TextwithIcon>
</div>
<div className="space-y-10 text-white">xxsx</div>
</div>
);
}
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
5 changes: 5 additions & 0 deletions frontend/assets/icons/log-in.svg
5 changes: 5 additions & 0 deletions frontend/assets/icons/log-out.svg
14 changes: 14 additions & 0 deletions frontend/assets/icons/logo.svg
File renamed without changes
File renamed without changes
4 changes: 4 additions & 0 deletions frontend/assets/icons/settings.svg
3 changes: 3 additions & 0 deletions frontend/assets/icons/star.svg
File renamed without changes
5 changes: 5 additions & 0 deletions frontend/assets/icons/upload.svg
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
Binary file added frontend/assets/images/logo.png
Loading

0 comments on commit 0393112

Please sign in to comment.