Skip to content
This repository has been archived by the owner on Sep 27, 2024. It is now read-only.

feat: frontend folder structure #36

Merged
merged 1 commit into from
Mar 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions frontend/src/App.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import { useState } from 'react'
import {JSX, useState} from 'react'
import reactLogo from './assets/react.svg'
import viteLogo from '/vite.svg'
import './App.css'

function App() {
function App(): JSX.Element {
const [count, setCount] = useState(0)

return (
Expand Down
Empty file added frontend/src/assets/icons/.keep
Empty file.
Empty file.
Empty file.
7 changes: 7 additions & 0 deletions frontend/src/components/ProjectCard.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import {JSX} from "react";

export function ProjectCard(): JSX.Element {
return (
<>Project - Subject</>
)
}
Empty file added frontend/src/hooks/.keep
Empty file.
7 changes: 7 additions & 0 deletions frontend/src/pages/admin/HomeAdmin.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import {JSX} from "react";

export function HomeAdmin(): JSX.Element {
return (
<>Homescreen for an admin</>
)
}
7 changes: 7 additions & 0 deletions frontend/src/pages/login/LoginScreen.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import {JSX} from "react";

export function LoginScreen(): JSX.Element {
return (
<>Login screen</>
)
}
7 changes: 7 additions & 0 deletions frontend/src/pages/student/HomeStudent.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import {JSX} from "react";

export function HomeStudent(): JSX.Element {
return (
<>Homescreen for a student</>
)
}
7 changes: 7 additions & 0 deletions frontend/src/pages/teacher/HomeTeacher.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import {JSX} from "react";

export function HomeTeacher(): JSX.Element {
return (
<>Homescreen for a teacher</>
)
}
Empty file added frontend/src/utils/.keep
Empty file.