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

Commit

Permalink
Merge pull request #36 from SELab-2/structure-setup
Browse files Browse the repository at this point in the history
feat: frontend folder structure
  • Loading branch information
matt01y authored Mar 2, 2024
2 parents 5ce938a + 18c2d6b commit a3d9c96
Show file tree
Hide file tree
Showing 11 changed files with 37 additions and 2 deletions.
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.

0 comments on commit a3d9c96

Please sign in to comment.