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

Commit

Permalink
chore: Add GPL license header
Browse files Browse the repository at this point in the history
  • Loading branch information
caffeine-addictt committed Mar 24, 2024
1 parent 0131f9e commit 116fcb6
Show file tree
Hide file tree
Showing 11 changed files with 184 additions and 1 deletion.
19 changes: 19 additions & 0 deletions client/index.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,22 @@
<!--
Shared API Types
Copyright (C) 2024 Ng Jun Xiang <[email protected]>.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
-->

<!doctype html>
<html lang="en">
<head>
Expand Down
17 changes: 17 additions & 0 deletions client/src/components/footer.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
// Footer component for the Frontend App
//
// Copyright (C) 2024 Ng Jun Xiang <[email protected]>.
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>.

import * as React from 'react';
import { Location } from 'react-router-dom';

Expand Down
17 changes: 17 additions & 0 deletions client/src/components/navbar.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
// Navbar component for the Frontend App
//
// Copyright (C) 2024 Ng Jun Xiang <[email protected]>.
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>.

import * as React from 'react';
import { Location } from 'react-router-dom';

Expand Down
17 changes: 17 additions & 0 deletions client/src/main.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
// Frontend App
//
// Copyright (C) 2024 Ng Jun Xiang <[email protected]>.
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>.

import * as React from 'react';
import ReactDOM from 'react-dom/client';
import { useLocation, Route, Routes, BrowserRouter } from 'react-router-dom';
Expand Down
17 changes: 17 additions & 0 deletions client/src/pages/404.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
// 404 page for the Frontend App
//
// Copyright (C) 2024 Ng Jun Xiang <[email protected]>.
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>.

import type { PageComponent } from '@pages/route-map';

const NotFound: PageComponent = () => {
Expand Down
17 changes: 17 additions & 0 deletions client/src/pages/root.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
// Root page for the Frontend App
//
// Copyright (C) 2024 Ng Jun Xiang <[email protected]>.
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>.

import type { PageComponent } from '@pages/route-map';

const RootPage: PageComponent = () => {
Expand Down
17 changes: 16 additions & 1 deletion client/src/pages/route-map.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,19 @@
// This is the root-level final page mapping
// Top-level route mapping for Frontend App
//
// Copyright (C) 2024 Ng Jun Xiang <[email protected]>.
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>.

import * as React from 'react';

Expand Down
14 changes: 14 additions & 0 deletions client/src/styles/globals.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
/**
* Global styles for the Frontend App
*
* Copyright (C) 2024 Ng Jun Xiang <[email protected]>.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

@tailwind base;
@tailwind components;
@tailwind utilities;
17 changes: 17 additions & 0 deletions client/src/vite-env.d.ts
Original file line number Diff line number Diff line change
@@ -1 +1,18 @@
// Frontend App
//
// Copyright (C) 2024 Ng Jun Xiang <[email protected]>.
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>.

/// <reference types="vite/client" />
17 changes: 17 additions & 0 deletions server/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
// Backend API
//
// Copyright (C) 2024 Ng Jun Xiang <[email protected]>.
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>.

import express from 'express';
const app = express();

Expand Down
16 changes: 16 additions & 0 deletions shared/api-types/src/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
// Shared API Types
//
// Copyright (C) 2024 Ng Jun Xiang <[email protected]>
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>.

0 comments on commit 116fcb6

Please sign in to comment.