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

Commit

Permalink
feat: frontend folder structure
Browse files Browse the repository at this point in the history
  • Loading branch information
EmmaVandewalle committed Mar 2, 2024
1 parent cb2b81f commit 18c2d6b
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 18c2d6b

Please sign in to comment.