Browse Source

ADD frontend

fix/clean
Astria 5 months ago
parent
commit
df3812f969
  1. 8
      .idea/.gitignore
  2. 12
      .idea/3RESIT_DOCKER.iml
  3. 12
      .idea/dataSources.xml
  4. 14
      .idea/discord.xml
  5. 6
      .idea/inspectionProfiles/Project_Default.xml
  6. 6
      .idea/jsLibraryMappings.xml
  7. 8
      .idea/modules.xml
  8. 6
      .idea/vcs.xml
  9. 0
      backend/.env
  10. 19
      backend/app/controllers/user.controller.js
  11. 1
      backend/app/middlewares/error.middleware.js
  12. 15
      backend/app/middlewares/file.middleware.js
  13. 3
      backend/app/routes/user.route.js
  14. BIN
      backend/app/uploads/profiles/default.png
  15. BIN
      backend/app/uploads/profiles/test.jpg
  16. 16
      backend/logs/access.log
  17. 30
      backend/tools.js
  18. 49
      developpement.yaml
  19. 4
      docker-compose.yaml
  20. 2
      frontend/.gitignore
  21. 8
      frontend/Dockerfile
  22. 879
      frontend/package-lock.json
  23. 6
      frontend/package.json
  24. 26
      frontend/src/App.jsx
  25. BIN
      frontend/src/assets/fonts/Inter/Inter-Italic-VariableFont_opsz,wght.ttf
  26. BIN
      frontend/src/assets/fonts/Inter/Inter.ttf
  27. 93
      frontend/src/assets/fonts/Inter/OFL.txt
  28. 118
      frontend/src/assets/fonts/Inter/README.txt
  29. BIN
      frontend/src/assets/fonts/Inter/static/Inter_18pt-Black.ttf
  30. BIN
      frontend/src/assets/fonts/Inter/static/Inter_18pt-BlackItalic.ttf
  31. BIN
      frontend/src/assets/fonts/Inter/static/Inter_18pt-Bold.ttf
  32. BIN
      frontend/src/assets/fonts/Inter/static/Inter_18pt-BoldItalic.ttf
  33. BIN
      frontend/src/assets/fonts/Inter/static/Inter_18pt-ExtraBold.ttf
  34. BIN
      frontend/src/assets/fonts/Inter/static/Inter_18pt-ExtraBoldItalic.ttf
  35. BIN
      frontend/src/assets/fonts/Inter/static/Inter_18pt-ExtraLight.ttf
  36. BIN
      frontend/src/assets/fonts/Inter/static/Inter_18pt-ExtraLightItalic.ttf
  37. BIN
      frontend/src/assets/fonts/Inter/static/Inter_18pt-Italic.ttf
  38. BIN
      frontend/src/assets/fonts/Inter/static/Inter_18pt-Light.ttf
  39. BIN
      frontend/src/assets/fonts/Inter/static/Inter_18pt-LightItalic.ttf
  40. BIN
      frontend/src/assets/fonts/Inter/static/Inter_18pt-Medium.ttf
  41. BIN
      frontend/src/assets/fonts/Inter/static/Inter_18pt-MediumItalic.ttf
  42. BIN
      frontend/src/assets/fonts/Inter/static/Inter_18pt-Regular.ttf
  43. BIN
      frontend/src/assets/fonts/Inter/static/Inter_18pt-SemiBold.ttf
  44. BIN
      frontend/src/assets/fonts/Inter/static/Inter_18pt-SemiBoldItalic.ttf
  45. BIN
      frontend/src/assets/fonts/Inter/static/Inter_18pt-Thin.ttf
  46. BIN
      frontend/src/assets/fonts/Inter/static/Inter_18pt-ThinItalic.ttf
  47. BIN
      frontend/src/assets/fonts/Inter/static/Inter_24pt-Black.ttf
  48. BIN
      frontend/src/assets/fonts/Inter/static/Inter_24pt-BlackItalic.ttf
  49. BIN
      frontend/src/assets/fonts/Inter/static/Inter_24pt-Bold.ttf
  50. BIN
      frontend/src/assets/fonts/Inter/static/Inter_24pt-BoldItalic.ttf
  51. BIN
      frontend/src/assets/fonts/Inter/static/Inter_24pt-ExtraBold.ttf
  52. BIN
      frontend/src/assets/fonts/Inter/static/Inter_24pt-ExtraBoldItalic.ttf
  53. BIN
      frontend/src/assets/fonts/Inter/static/Inter_24pt-ExtraLight.ttf
  54. BIN
      frontend/src/assets/fonts/Inter/static/Inter_24pt-ExtraLightItalic.ttf
  55. BIN
      frontend/src/assets/fonts/Inter/static/Inter_24pt-Italic.ttf
  56. BIN
      frontend/src/assets/fonts/Inter/static/Inter_24pt-Light.ttf
  57. BIN
      frontend/src/assets/fonts/Inter/static/Inter_24pt-LightItalic.ttf
  58. BIN
      frontend/src/assets/fonts/Inter/static/Inter_24pt-Medium.ttf
  59. BIN
      frontend/src/assets/fonts/Inter/static/Inter_24pt-MediumItalic.ttf
  60. BIN
      frontend/src/assets/fonts/Inter/static/Inter_24pt-Regular.ttf
  61. BIN
      frontend/src/assets/fonts/Inter/static/Inter_24pt-SemiBold.ttf
  62. BIN
      frontend/src/assets/fonts/Inter/static/Inter_24pt-SemiBoldItalic.ttf
  63. BIN
      frontend/src/assets/fonts/Inter/static/Inter_24pt-Thin.ttf
  64. BIN
      frontend/src/assets/fonts/Inter/static/Inter_24pt-ThinItalic.ttf
  65. BIN
      frontend/src/assets/fonts/Inter/static/Inter_28pt-Black.ttf
  66. BIN
      frontend/src/assets/fonts/Inter/static/Inter_28pt-BlackItalic.ttf
  67. BIN
      frontend/src/assets/fonts/Inter/static/Inter_28pt-Bold.ttf
  68. BIN
      frontend/src/assets/fonts/Inter/static/Inter_28pt-BoldItalic.ttf
  69. BIN
      frontend/src/assets/fonts/Inter/static/Inter_28pt-ExtraBold.ttf
  70. BIN
      frontend/src/assets/fonts/Inter/static/Inter_28pt-ExtraBoldItalic.ttf
  71. BIN
      frontend/src/assets/fonts/Inter/static/Inter_28pt-ExtraLight.ttf
  72. BIN
      frontend/src/assets/fonts/Inter/static/Inter_28pt-ExtraLightItalic.ttf
  73. BIN
      frontend/src/assets/fonts/Inter/static/Inter_28pt-Italic.ttf
  74. BIN
      frontend/src/assets/fonts/Inter/static/Inter_28pt-Light.ttf
  75. BIN
      frontend/src/assets/fonts/Inter/static/Inter_28pt-LightItalic.ttf
  76. BIN
      frontend/src/assets/fonts/Inter/static/Inter_28pt-Medium.ttf
  77. BIN
      frontend/src/assets/fonts/Inter/static/Inter_28pt-MediumItalic.ttf
  78. BIN
      frontend/src/assets/fonts/Inter/static/Inter_28pt-Regular.ttf
  79. BIN
      frontend/src/assets/fonts/Inter/static/Inter_28pt-SemiBold.ttf
  80. BIN
      frontend/src/assets/fonts/Inter/static/Inter_28pt-SemiBoldItalic.ttf
  81. BIN
      frontend/src/assets/fonts/Inter/static/Inter_28pt-Thin.ttf
  82. BIN
      frontend/src/assets/fonts/Inter/static/Inter_28pt-ThinItalic.ttf
  83. BIN
      frontend/src/assets/fonts/Montserrat/Montserrat-Italic-VariableFont_wght.ttf
  84. BIN
      frontend/src/assets/fonts/Montserrat/Montserrat.ttf
  85. 93
      frontend/src/assets/fonts/Montserrat/OFL.txt
  86. 81
      frontend/src/assets/fonts/Montserrat/README.txt
  87. BIN
      frontend/src/assets/fonts/Montserrat/static/Montserrat-Black.ttf
  88. BIN
      frontend/src/assets/fonts/Montserrat/static/Montserrat-BlackItalic.ttf
  89. BIN
      frontend/src/assets/fonts/Montserrat/static/Montserrat-Bold.ttf
  90. BIN
      frontend/src/assets/fonts/Montserrat/static/Montserrat-BoldItalic.ttf
  91. BIN
      frontend/src/assets/fonts/Montserrat/static/Montserrat-ExtraBold.ttf
  92. BIN
      frontend/src/assets/fonts/Montserrat/static/Montserrat-ExtraBoldItalic.ttf
  93. BIN
      frontend/src/assets/fonts/Montserrat/static/Montserrat-ExtraLight.ttf
  94. BIN
      frontend/src/assets/fonts/Montserrat/static/Montserrat-ExtraLightItalic.ttf
  95. BIN
      frontend/src/assets/fonts/Montserrat/static/Montserrat-Italic.ttf
  96. BIN
      frontend/src/assets/fonts/Montserrat/static/Montserrat-Light.ttf
  97. BIN
      frontend/src/assets/fonts/Montserrat/static/Montserrat-LightItalic.ttf
  98. BIN
      frontend/src/assets/fonts/Montserrat/static/Montserrat-Medium.ttf
  99. BIN
      frontend/src/assets/fonts/Montserrat/static/Montserrat-MediumItalic.ttf
  100. BIN
      frontend/src/assets/fonts/Montserrat/static/Montserrat-Regular.ttf

8
.idea/.gitignore

@ -0,0 +1,8 @@
# Default ignored files
/shelf/
/workspace.xml
# Editor-based HTTP Client requests
/httpRequests/
# Datasource local storage ignored files
/dataSources/
/dataSources.local.xml

12
.idea/3RESIT_DOCKER.iml

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<module type="WEB_MODULE" version="4">
<component name="NewModuleRootManager">
<content url="file://$MODULE_DIR$">
<excludeFolder url="file://$MODULE_DIR$/.tmp" />
<excludeFolder url="file://$MODULE_DIR$/temp" />
<excludeFolder url="file://$MODULE_DIR$/tmp" />
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
</module>

12
.idea/dataSources.xml

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="DataSourceManagerImpl" format="xml" multifile-model="true">
<data-source source="LOCAL" name="freetube@localhost" uuid="d425327f-375d-4dc5-a079-c813210a67d8">
<driver-ref>postgresql</driver-ref>
<synchronize>true</synchronize>
<jdbc-driver>org.postgresql.Driver</jdbc-driver>
<jdbc-url>jdbc:postgresql://localhost:5432/freetube</jdbc-url>
<working-dir>$ProjectFileDir$</working-dir>
</data-source>
</component>
</project>

14
.idea/discord.xml

@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="DiscordProjectSettings">
<option name="show" value="PROJECT_FILES" />
<option name="description" value="" />
<option name="applicationTheme" value="default" />
<option name="iconsTheme" value="default" />
<option name="button1Title" value="" />
<option name="button1Url" value="" />
<option name="button2Title" value="" />
<option name="button2Url" value="" />
<option name="customApplicationId" value="" />
</component>
</project>

6
.idea/inspectionProfiles/Project_Default.xml

@ -0,0 +1,6 @@
<component name="InspectionProjectProfileManager">
<profile version="1.0">
<option name="myName" value="Project Default" />
<inspection_tool class="Eslint" enabled="true" level="WARNING" enabled_by_default="true" />
</profile>
</component>

6
.idea/jsLibraryMappings.xml

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="JavaScriptLibraryMappings">
<includedPredefinedLibrary name="Node.js Core" />
</component>
</project>

8
.idea/modules.xml

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/.idea/3RESIT_DOCKER.iml" filepath="$PROJECT_DIR$/.idea/3RESIT_DOCKER.iml" />
</modules>
</component>
</project>

6
.idea/vcs.xml

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="" vcs="Git" />
</component>
</project>

0
backend/.env

19
backend/app/controllers/user.controller.js

@ -1,8 +1,9 @@
import bcrypt from "bcrypt";
import {getClient} from "../utils/database.js";
import jwt from "jsonwebtoken";
import result from "pg/lib/query";
import Logger from "../utils/logger.js";
import path, {dirname} from "path";
import fs from "fs";
import {fileURLToPath} from "url";
export async function register(req, res) {
try {
@ -18,6 +19,20 @@ export async function register(req, res) {
user.password = await bcrypt.hash(req.body.password, 10);
const __filename = fileURLToPath(import.meta.url);
const __dirname = dirname(__filename);
let file = req.file.buffer;
if (file) {
const finalName = user.username + "." + req.file.originalname.split(".")[1];
const destinationPath = path.join(__dirname, "../uploads/profiles/" + finalName)
console.log(destinationPath)
fs.writeFileSync(destinationPath, file);
user.picture = "/api/media/profile/" + finalName;
} else {
user.picture = "/api/media/profile/default.png";
}
const client = await getClient();
const query = `INSERT INTO users (email, username, password, picture) VALUES ('${user.email}','${user.username}','${user.password}', '${user.picture}')`;

1
backend/app/middlewares/error.middleware.js

@ -6,6 +6,7 @@ export default async function validator(req, res, next) {
if (!errors.isEmpty()) {
const logger = req.body.logger;
logger.write("failed due to invalid values", 400);
console.log(req.body);
return res.status(400).json({ errors: errors.array() });
} else {
next()

15
backend/app/middlewares/file.middleware.js

@ -1,5 +1,7 @@
import multer from "multer";
const profileStorage = multer.memoryStorage({});
const videoStorage = multer.memoryStorage({})
const thumbnailStorage = multer.memoryStorage({})
@ -24,4 +26,15 @@ export const thumbnailUpload = multer({
}
cb(null, true);
}
})
})
export const profileUpload = multer({
storage: profileStorage,
limits: {},
fileFilter: (req, file, cb) => {
if (!file.originalname.match(/\.(png|jpeg|jpg|webp)$/i)) {
return cb(new Error("Not supported"));
}
cb(null, true);
}
});

3
backend/app/routes/user.route.js

@ -13,11 +13,12 @@ import {
import validator from "../middlewares/error.middleware.js";
import {isTokenValid} from "../middlewares/jwt.middleware.js";
import {addLogger} from "../middlewares/logger.middleware.js";
import {profileUpload} from "../middlewares/file.middleware.js";
const router = Router();
// REGISTER A USER
router.post("/", [addLogger, UserRegister.email, UserRegister.username, UserRegister.password, validator, doEmailExists, doUsernameExists], register);
router.post("/", [profileUpload.single("profile"), addLogger, UserRegister.email, UserRegister.username, UserRegister.password, validator, doEmailExists, doUsernameExists], register);
// LOGIN A USER
router.post("/login", [addLogger, UserLogin.username, UserLogin.password, validator], login)

BIN
backend/app/uploads/profiles/default.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

BIN
backend/app/uploads/profiles/test.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

16
backend/logs/access.log

@ -2,3 +2,19 @@
[2025-07-16 14:58:51.474] [192.168.65.1] POST(/login): failed to login with status 401
[2025-07-16 14:59:39.891] [192.168.65.1] POST(/login): try to login with username 'test2'
[2025-07-16 14:59:39.967] [192.168.65.1] POST(/login): failed to login with status 401
[2025-07-16 17:44:01.346] [172.21.0.1] POST(/): failed due to invalid values with status 400
[2025-07-16 17:45:29.062] [172.21.0.1] POST(/): failed due to invalid values with status 400
[2025-07-16 17:45:57.753] [172.21.0.1] POST(/): try to register a user with username: test and email: test@test.com
[2025-07-16 17:46:33.326] [172.21.0.1] POST(/): try to register a user with username: test and email: test@test.com
[2025-07-16 17:46:33.382] [172.21.0.1] POST(/): successfully registered with status 200
[2025-07-16 17:48:01.013] [172.21.0.1] POST(/): failed because email already exists with status 400
[2025-07-16 18:26:27.458] [172.21.0.1] POST(/): try to register a user with username: test and email: test@test.com
[2025-07-16 18:26:27.517] [172.21.0.1] POST(/): successfully registered with status 200
[2025-07-16 18:27:53.032] [172.21.0.1] POST(/): try to register a user with username: test and email: test@test.com
[2025-07-16 18:27:53.087] [172.21.0.1] POST(/): successfully registered with status 200
[2025-07-16 18:29:26.802] [172.21.0.1] POST(/): try to register a user with username: test and email: test@test.com
[2025-07-16 18:29:26.860] [172.21.0.1] POST(/): successfully registered with status 200
[2025-07-16 18:30:45.518] [172.21.0.1] POST(/): try to register a user with username: test and email: test@test.com
[2025-07-16 18:30:45.577] [172.21.0.1] POST(/): successfully registered with status 200
[2025-07-16 19:33:49.799] [172.21.0.1] POST(/): try to register a user with username: test and email: test@test.com
[2025-07-16 19:33:49.860] [172.21.0.1] POST(/): successfully registered with status 200

30
backend/tools.js

@ -0,0 +1,30 @@
import pg from "pg";
console.log(process.argv[2]);
if (process.argv[2] === "flush") {
flushDatabase();
}
async function flushDatabase() {
const client = new pg.Client({
user: process.env.DB_USER,
password: process.env.DB_PASSWORD,
host: process.env.DB_HOST,
database: process.env.DB_NAME,
port: 5432
});
await client.connect();
await client.query('TRUNCATE TABLE users CASCADE', (err, res) => {
if (err) {
console.error('Error flushing database:', err);
} else {
console.log('Database flushed successfully.');
}
});}

49
developpement.yaml

@ -0,0 +1,49 @@
services:
backend:
build:
context: ./backend
dockerfile: Dockerfile
container_name: resit_backend
ports:
- "8000:8000"
environment:
DB_USER: astria
DB_NAME: freetube
DB_HOST: db
DB_PASSWORD: 9Zv1Y1MAfWKKmtP7JlSQPX7ZmHkS1J6iTlOFQb6OFZEzWjQGeJIKictaGvKyOBIz
JWT_SECRET: Aed4GPa8BtriElyuwy65bf598D8MgxWCiE6Xzc4riV0J7AiLpxeu2DexjQPx4cBO
LOG_FILE: /var/log/freetube/access.log
PORT: 8000
volumes:
- ./backend/logs:/var/log/freetube
- ./backend/app/uploads:/app/app/uploads
depends_on:
- db
db:
image: postgres:latest
ports:
- "5432:5432"
environment:
POSTGRES_USER: astria
POSTGRES_PASSWORD: 9Zv1Y1MAfWKKmtP7JlSQPX7ZmHkS1J6iTlOFQb6OFZEzWjQGeJIKictaGvKyOBIz
POSTGRES_DB: freetube
volumes:
- db_data:/var/lib/postgresql/data
frontend:
build:
context: ./frontend
dockerfile: Dockerfile
ports:
- "5173:5173"
volumes:
- ./frontend/:/app
- /app/node_modules
depends_on:
- backend
volumes:
db_data:
driver: local

4
docker-compose.yaml

@ -4,6 +4,7 @@ services:
build:
context: ./backend
dockerfile: Dockerfile
container_name: resit_backend
ports:
- "8000:8000"
environment:
@ -16,6 +17,7 @@ services:
PORT: 8000
volumes:
- ./backend/logs:/var/log/freetube
- ./backend/app/uploads:/app/app/uploads
depends_on:
- db
@ -35,7 +37,7 @@ services:
ports:
- "80:80"
volumes:
- ./frontend/dist:/var/www/html
- ./frontend/dist:/usr/share/nginx/html
- ./nginx/default.conf:/etc/nginx/conf.d/default.conf
volumes:

2
frontend/.gitignore

@ -7,7 +7,7 @@ yarn-error.log*
pnpm-debug.log*
lerna-debug.log*
node_modules
../../../developpement/3RESIT/frontend/node_modules
dist
dist-ssr
*.local

8
frontend/Dockerfile

@ -0,0 +1,8 @@
FROM node:21-alpine3.20
WORKDIR /app
COPY package*.json ./
RUN npm install
COPY . .
EXPOSE 5173
CMD ["npm", "run", "dev"]

879
frontend/package-lock.json

File diff suppressed because it is too large

6
frontend/package.json

@ -4,15 +4,17 @@
"version": "0.0.0",
"type": "module",
"scripts": {
"dev": "vite",
"dev": "vite --host",
"build": "vite build",
"lint": "eslint .",
"preview": "vite preview"
},
"dependencies": {
"@tailwindcss/vite": "^4.1.11",
"react": "^19.1.0",
"react-dom": "^19.1.0",
"react-router-dom": "^7.6.3"
"react-router-dom": "^7.6.3",
"tailwindcss": "^4.1.11"
},
"devDependencies": {
"@eslint/js": "^9.30.1",

26
frontend/src/App.jsx

@ -1,16 +1,14 @@
import {useRoutes} from "react-router-dom";
import routes from "./routes/routes";
import Navbar from "./components/Navbar.jsx";
import React from 'react';
import { useRoutes } from 'react-router-dom';
import routes from './routes/routes.jsx';
function App() {
const routing = useRoutes(routes)
return (
<div>
<Navbar/>
{routing}
</div>
)
const App = () => {
const routing = useRoutes(routes);
return (
<div>
{routing}
</div>
);
};
}
export default App
export default App;

BIN
frontend/src/assets/fonts/Inter/Inter-Italic-VariableFont_opsz,wght.ttf

Binary file not shown.

BIN
frontend/src/assets/fonts/Inter/Inter.ttf

Binary file not shown.

93
frontend/src/assets/fonts/Inter/OFL.txt

@ -0,0 +1,93 @@
Copyright 2020 The Inter Project Authors (https://github.com/rsms/inter)
This Font Software is licensed under the SIL Open Font License, Version 1.1.
This license is copied below, and is also available with a FAQ at:
https://openfontlicense.org
-----------------------------------------------------------
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
-----------------------------------------------------------
PREAMBLE
The goals of the Open Font License (OFL) are to stimulate worldwide
development of collaborative font projects, to support the font creation
efforts of academic and linguistic communities, and to provide a free and
open framework in which fonts may be shared and improved in partnership
with others.
The OFL allows the licensed fonts to be used, studied, modified and
redistributed freely as long as they are not sold by themselves. The
fonts, including any derivative works, can be bundled, embedded,
redistributed and/or sold with any software provided that any reserved
names are not used by derivative works. The fonts and derivatives,
however, cannot be released under any other type of license. The
requirement for fonts to remain under this license does not apply
to any document created using the fonts or their derivatives.
DEFINITIONS
"Font Software" refers to the set of files released by the Copyright
Holder(s) under this license and clearly marked as such. This may
include source files, build scripts and documentation.
"Reserved Font Name" refers to any names specified as such after the
copyright statement(s).
"Original Version" refers to the collection of Font Software components as
distributed by the Copyright Holder(s).
"Modified Version" refers to any derivative made by adding to, deleting,
or substituting -- in part or in whole -- any of the components of the
Original Version, by changing formats or by porting the Font Software to a
new environment.
"Author" refers to any designer, engineer, programmer, technical
writer or other person who contributed to the Font Software.
PERMISSION & CONDITIONS
Permission is hereby granted, free of charge, to any person obtaining
a copy of the Font Software, to use, study, copy, merge, embed, modify,
redistribute, and sell modified and unmodified copies of the Font
Software, subject to the following conditions:
1) Neither the Font Software nor any of its individual components,
in Original or Modified Versions, may be sold by itself.
2) Original or Modified Versions of the Font Software may be bundled,
redistributed and/or sold with any software, provided that each copy
contains the above copyright notice and this license. These can be
included either as stand-alone text files, human-readable headers or
in the appropriate machine-readable metadata fields within text or
binary files as long as those fields can be easily viewed by the user.
3) No Modified Version of the Font Software may use the Reserved Font
Name(s) unless explicit written permission is granted by the corresponding
Copyright Holder. This restriction only applies to the primary font name as
presented to the users.
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
Software shall not be used to promote, endorse or advertise any
Modified Version, except to acknowledge the contribution(s) of the
Copyright Holder(s) and the Author(s) or with their explicit written
permission.
5) The Font Software, modified or unmodified, in part or in whole,
must be distributed entirely under this license, and must not be
distributed under any other license. The requirement for fonts to
remain under this license does not apply to any document created
using the Font Software.
TERMINATION
This license becomes null and void if any of the above conditions are
not met.
DISCLAIMER
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
OTHER DEALINGS IN THE FONT SOFTWARE.

118
frontend/src/assets/fonts/Inter/README.txt

@ -0,0 +1,118 @@
Inter Variable Font
===================
This download contains Inter as both variable fonts and static fonts.
Inter is a variable font with these axes:
opsz
wght
This means all the styles are contained in these files:
Inter/Inter-VariableFont_opsz,wght.ttf
Inter/Inter-Italic-VariableFont_opsz,wght.ttf
If your app fully supports variable fonts, you can now pick intermediate styles
that aren’t available as static fonts. Not all apps support variable fonts, and
in those cases you can use the static font files for Inter:
Inter/static/Inter_18pt-Thin.ttf
Inter/static/Inter_18pt-ExtraLight.ttf
Inter/static/Inter_18pt-Light.ttf
Inter/static/Inter_18pt-Regular.ttf
Inter/static/Inter_18pt-Medium.ttf
Inter/static/Inter_18pt-SemiBold.ttf
Inter/static/Inter_18pt-Bold.ttf
Inter/static/Inter_18pt-ExtraBold.ttf
Inter/static/Inter_18pt-Black.ttf
Inter/static/Inter_24pt-Thin.ttf
Inter/static/Inter_24pt-ExtraLight.ttf
Inter/static/Inter_24pt-Light.ttf
Inter/static/Inter_24pt-Regular.ttf
Inter/static/Inter_24pt-Medium.ttf
Inter/static/Inter_24pt-SemiBold.ttf
Inter/static/Inter_24pt-Bold.ttf
Inter/static/Inter_24pt-ExtraBold.ttf
Inter/static/Inter_24pt-Black.ttf
Inter/static/Inter_28pt-Thin.ttf
Inter/static/Inter_28pt-ExtraLight.ttf
Inter/static/Inter_28pt-Light.ttf
Inter/static/Inter_28pt-Regular.ttf
Inter/static/Inter_28pt-Medium.ttf
Inter/static/Inter_28pt-SemiBold.ttf
Inter/static/Inter_28pt-Bold.ttf
Inter/static/Inter_28pt-ExtraBold.ttf
Inter/static/Inter_28pt-Black.ttf
Inter/static/Inter_18pt-ThinItalic.ttf
Inter/static/Inter_18pt-ExtraLightItalic.ttf
Inter/static/Inter_18pt-LightItalic.ttf
Inter/static/Inter_18pt-Italic.ttf
Inter/static/Inter_18pt-MediumItalic.ttf
Inter/static/Inter_18pt-SemiBoldItalic.ttf
Inter/static/Inter_18pt-BoldItalic.ttf
Inter/static/Inter_18pt-ExtraBoldItalic.ttf
Inter/static/Inter_18pt-BlackItalic.ttf
Inter/static/Inter_24pt-ThinItalic.ttf
Inter/static/Inter_24pt-ExtraLightItalic.ttf
Inter/static/Inter_24pt-LightItalic.ttf
Inter/static/Inter_24pt-Italic.ttf
Inter/static/Inter_24pt-MediumItalic.ttf
Inter/static/Inter_24pt-SemiBoldItalic.ttf
Inter/static/Inter_24pt-BoldItalic.ttf
Inter/static/Inter_24pt-ExtraBoldItalic.ttf
Inter/static/Inter_24pt-BlackItalic.ttf
Inter/static/Inter_28pt-ThinItalic.ttf
Inter/static/Inter_28pt-ExtraLightItalic.ttf
Inter/static/Inter_28pt-LightItalic.ttf
Inter/static/Inter_28pt-Italic.ttf
Inter/static/Inter_28pt-MediumItalic.ttf
Inter/static/Inter_28pt-SemiBoldItalic.ttf
Inter/static/Inter_28pt-BoldItalic.ttf
Inter/static/Inter_28pt-ExtraBoldItalic.ttf
Inter/static/Inter_28pt-BlackItalic.ttf
Get started
-----------
1. Install the font files you want to use
2. Use your app's font picker to view the font family and all the
available styles
Learn more about variable fonts
-------------------------------
https://developers.google.com/web/fundamentals/design-and-ux/typography/variable-fonts
https://variablefonts.typenetwork.com
https://medium.com/variable-fonts
In desktop apps
https://theblog.adobe.com/can-variable-fonts-illustrator-cc
https://helpx.adobe.com/nz/photoshop/using/fonts.html#variable_fonts
Online
https://developers.google.com/fonts/docs/getting_started
https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Fonts/Variable_Fonts_Guide
https://developer.microsoft.com/en-us/microsoft-edge/testdrive/demos/variable-fonts
Installing fonts
MacOS: https://support.apple.com/en-us/HT201749
Linux: https://www.google.com/search?q=how+to+install+a+font+on+gnu%2Blinux
Windows: https://support.microsoft.com/en-us/help/314960/how-to-install-or-remove-a-font-in-windows
Android Apps
https://developers.google.com/fonts/docs/android
https://developer.android.com/guide/topics/ui/look-and-feel/downloadable-fonts
License
-------
Please read the full license text (OFL.txt) to understand the permissions,
restrictions and requirements for usage, redistribution, and modification.
You can use them in your products & projects – print or digital,
commercial or otherwise.
This isn't legal advice, please consider consulting a lawyer and see the full
license for all details.

BIN
frontend/src/assets/fonts/Inter/static/Inter_18pt-Black.ttf

Binary file not shown.

BIN
frontend/src/assets/fonts/Inter/static/Inter_18pt-BlackItalic.ttf

Binary file not shown.

BIN
frontend/src/assets/fonts/Inter/static/Inter_18pt-Bold.ttf

Binary file not shown.

BIN
frontend/src/assets/fonts/Inter/static/Inter_18pt-BoldItalic.ttf

Binary file not shown.

BIN
frontend/src/assets/fonts/Inter/static/Inter_18pt-ExtraBold.ttf

Binary file not shown.

BIN
frontend/src/assets/fonts/Inter/static/Inter_18pt-ExtraBoldItalic.ttf

Binary file not shown.

BIN
frontend/src/assets/fonts/Inter/static/Inter_18pt-ExtraLight.ttf

Binary file not shown.

BIN
frontend/src/assets/fonts/Inter/static/Inter_18pt-ExtraLightItalic.ttf

Binary file not shown.

BIN
frontend/src/assets/fonts/Inter/static/Inter_18pt-Italic.ttf

Binary file not shown.

BIN
frontend/src/assets/fonts/Inter/static/Inter_18pt-Light.ttf

Binary file not shown.

BIN
frontend/src/assets/fonts/Inter/static/Inter_18pt-LightItalic.ttf

Binary file not shown.

BIN
frontend/src/assets/fonts/Inter/static/Inter_18pt-Medium.ttf

Binary file not shown.

BIN
frontend/src/assets/fonts/Inter/static/Inter_18pt-MediumItalic.ttf

Binary file not shown.

BIN
frontend/src/assets/fonts/Inter/static/Inter_18pt-Regular.ttf

Binary file not shown.

BIN
frontend/src/assets/fonts/Inter/static/Inter_18pt-SemiBold.ttf

Binary file not shown.

BIN
frontend/src/assets/fonts/Inter/static/Inter_18pt-SemiBoldItalic.ttf

Binary file not shown.

BIN
frontend/src/assets/fonts/Inter/static/Inter_18pt-Thin.ttf

Binary file not shown.

BIN
frontend/src/assets/fonts/Inter/static/Inter_18pt-ThinItalic.ttf

Binary file not shown.

BIN
frontend/src/assets/fonts/Inter/static/Inter_24pt-Black.ttf

Binary file not shown.

BIN
frontend/src/assets/fonts/Inter/static/Inter_24pt-BlackItalic.ttf

Binary file not shown.

BIN
frontend/src/assets/fonts/Inter/static/Inter_24pt-Bold.ttf

Binary file not shown.

BIN
frontend/src/assets/fonts/Inter/static/Inter_24pt-BoldItalic.ttf

Binary file not shown.

BIN
frontend/src/assets/fonts/Inter/static/Inter_24pt-ExtraBold.ttf

Binary file not shown.

BIN
frontend/src/assets/fonts/Inter/static/Inter_24pt-ExtraBoldItalic.ttf

Binary file not shown.

BIN
frontend/src/assets/fonts/Inter/static/Inter_24pt-ExtraLight.ttf

Binary file not shown.

BIN
frontend/src/assets/fonts/Inter/static/Inter_24pt-ExtraLightItalic.ttf

Binary file not shown.

BIN
frontend/src/assets/fonts/Inter/static/Inter_24pt-Italic.ttf

Binary file not shown.

BIN
frontend/src/assets/fonts/Inter/static/Inter_24pt-Light.ttf

Binary file not shown.

BIN
frontend/src/assets/fonts/Inter/static/Inter_24pt-LightItalic.ttf

Binary file not shown.

BIN
frontend/src/assets/fonts/Inter/static/Inter_24pt-Medium.ttf

Binary file not shown.

BIN
frontend/src/assets/fonts/Inter/static/Inter_24pt-MediumItalic.ttf

Binary file not shown.

BIN
frontend/src/assets/fonts/Inter/static/Inter_24pt-Regular.ttf

Binary file not shown.

BIN
frontend/src/assets/fonts/Inter/static/Inter_24pt-SemiBold.ttf

Binary file not shown.

BIN
frontend/src/assets/fonts/Inter/static/Inter_24pt-SemiBoldItalic.ttf

Binary file not shown.

BIN
frontend/src/assets/fonts/Inter/static/Inter_24pt-Thin.ttf

Binary file not shown.

BIN
frontend/src/assets/fonts/Inter/static/Inter_24pt-ThinItalic.ttf

Binary file not shown.

BIN
frontend/src/assets/fonts/Inter/static/Inter_28pt-Black.ttf

Binary file not shown.

BIN
frontend/src/assets/fonts/Inter/static/Inter_28pt-BlackItalic.ttf

Binary file not shown.

BIN
frontend/src/assets/fonts/Inter/static/Inter_28pt-Bold.ttf

Binary file not shown.

BIN
frontend/src/assets/fonts/Inter/static/Inter_28pt-BoldItalic.ttf

Binary file not shown.

BIN
frontend/src/assets/fonts/Inter/static/Inter_28pt-ExtraBold.ttf

Binary file not shown.

BIN
frontend/src/assets/fonts/Inter/static/Inter_28pt-ExtraBoldItalic.ttf

Binary file not shown.

BIN
frontend/src/assets/fonts/Inter/static/Inter_28pt-ExtraLight.ttf

Binary file not shown.

BIN
frontend/src/assets/fonts/Inter/static/Inter_28pt-ExtraLightItalic.ttf

Binary file not shown.

BIN
frontend/src/assets/fonts/Inter/static/Inter_28pt-Italic.ttf

Binary file not shown.

BIN
frontend/src/assets/fonts/Inter/static/Inter_28pt-Light.ttf

Binary file not shown.

BIN
frontend/src/assets/fonts/Inter/static/Inter_28pt-LightItalic.ttf

Binary file not shown.

BIN
frontend/src/assets/fonts/Inter/static/Inter_28pt-Medium.ttf

Binary file not shown.

BIN
frontend/src/assets/fonts/Inter/static/Inter_28pt-MediumItalic.ttf

Binary file not shown.

BIN
frontend/src/assets/fonts/Inter/static/Inter_28pt-Regular.ttf

Binary file not shown.

BIN
frontend/src/assets/fonts/Inter/static/Inter_28pt-SemiBold.ttf

Binary file not shown.

BIN
frontend/src/assets/fonts/Inter/static/Inter_28pt-SemiBoldItalic.ttf

Binary file not shown.

BIN
frontend/src/assets/fonts/Inter/static/Inter_28pt-Thin.ttf

Binary file not shown.

BIN
frontend/src/assets/fonts/Inter/static/Inter_28pt-ThinItalic.ttf

Binary file not shown.

BIN
frontend/src/assets/fonts/Montserrat/Montserrat-Italic-VariableFont_wght.ttf

Binary file not shown.

BIN
frontend/src/assets/fonts/Montserrat/Montserrat.ttf

Binary file not shown.

93
frontend/src/assets/fonts/Montserrat/OFL.txt

@ -0,0 +1,93 @@
Copyright 2024 The Montserrat.Git Project Authors (https://github.com/JulietaUla/Montserrat.git)
This Font Software is licensed under the SIL Open Font License, Version 1.1.
This license is copied below, and is also available with a FAQ at:
https://openfontlicense.org
-----------------------------------------------------------
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
-----------------------------------------------------------
PREAMBLE
The goals of the Open Font License (OFL) are to stimulate worldwide
development of collaborative font projects, to support the font creation
efforts of academic and linguistic communities, and to provide a free and
open framework in which fonts may be shared and improved in partnership
with others.
The OFL allows the licensed fonts to be used, studied, modified and
redistributed freely as long as they are not sold by themselves. The
fonts, including any derivative works, can be bundled, embedded,
redistributed and/or sold with any software provided that any reserved
names are not used by derivative works. The fonts and derivatives,
however, cannot be released under any other type of license. The
requirement for fonts to remain under this license does not apply
to any document created using the fonts or their derivatives.
DEFINITIONS
"Font Software" refers to the set of files released by the Copyright
Holder(s) under this license and clearly marked as such. This may
include source files, build scripts and documentation.
"Reserved Font Name" refers to any names specified as such after the
copyright statement(s).
"Original Version" refers to the collection of Font Software components as
distributed by the Copyright Holder(s).
"Modified Version" refers to any derivative made by adding to, deleting,
or substituting -- in part or in whole -- any of the components of the
Original Version, by changing formats or by porting the Font Software to a
new environment.
"Author" refers to any designer, engineer, programmer, technical
writer or other person who contributed to the Font Software.
PERMISSION & CONDITIONS
Permission is hereby granted, free of charge, to any person obtaining
a copy of the Font Software, to use, study, copy, merge, embed, modify,
redistribute, and sell modified and unmodified copies of the Font
Software, subject to the following conditions:
1) Neither the Font Software nor any of its individual components,
in Original or Modified Versions, may be sold by itself.
2) Original or Modified Versions of the Font Software may be bundled,
redistributed and/or sold with any software, provided that each copy
contains the above copyright notice and this license. These can be
included either as stand-alone text files, human-readable headers or
in the appropriate machine-readable metadata fields within text or
binary files as long as those fields can be easily viewed by the user.
3) No Modified Version of the Font Software may use the Reserved Font
Name(s) unless explicit written permission is granted by the corresponding
Copyright Holder. This restriction only applies to the primary font name as
presented to the users.
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
Software shall not be used to promote, endorse or advertise any
Modified Version, except to acknowledge the contribution(s) of the
Copyright Holder(s) and the Author(s) or with their explicit written
permission.
5) The Font Software, modified or unmodified, in part or in whole,
must be distributed entirely under this license, and must not be
distributed under any other license. The requirement for fonts to
remain under this license does not apply to any document created
using the Font Software.
TERMINATION
This license becomes null and void if any of the above conditions are
not met.
DISCLAIMER
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
OTHER DEALINGS IN THE FONT SOFTWARE.

81
frontend/src/assets/fonts/Montserrat/README.txt

@ -0,0 +1,81 @@
Montserrat Variable Font
========================
This download contains Montserrat as both variable fonts and static fonts.
Montserrat is a variable font with this axis:
wght
This means all the styles are contained in these files:
Montserrat/Montserrat-VariableFont_wght.ttf
Montserrat/Montserrat-Italic-VariableFont_wght.ttf
If your app fully supports variable fonts, you can now pick intermediate styles
that aren’t available as static fonts. Not all apps support variable fonts, and
in those cases you can use the static font files for Montserrat:
Montserrat/static/Montserrat-Thin.ttf
Montserrat/static/Montserrat-ExtraLight.ttf
Montserrat/static/Montserrat-Light.ttf
Montserrat/static/Montserrat-Regular.ttf
Montserrat/static/Montserrat-Medium.ttf
Montserrat/static/Montserrat-SemiBold.ttf
Montserrat/static/Montserrat-Bold.ttf
Montserrat/static/Montserrat-ExtraBold.ttf
Montserrat/static/Montserrat-Black.ttf
Montserrat/static/Montserrat-ThinItalic.ttf
Montserrat/static/Montserrat-ExtraLightItalic.ttf
Montserrat/static/Montserrat-LightItalic.ttf
Montserrat/static/Montserrat-Italic.ttf
Montserrat/static/Montserrat-MediumItalic.ttf
Montserrat/static/Montserrat-SemiBoldItalic.ttf
Montserrat/static/Montserrat-BoldItalic.ttf
Montserrat/static/Montserrat-ExtraBoldItalic.ttf
Montserrat/static/Montserrat-BlackItalic.ttf
Get started
-----------
1. Install the font files you want to use
2. Use your app's font picker to view the font family and all the
available styles
Learn more about variable fonts
-------------------------------
https://developers.google.com/web/fundamentals/design-and-ux/typography/variable-fonts
https://variablefonts.typenetwork.com
https://medium.com/variable-fonts
In desktop apps
https://theblog.adobe.com/can-variable-fonts-illustrator-cc
https://helpx.adobe.com/nz/photoshop/using/fonts.html#variable_fonts
Online
https://developers.google.com/fonts/docs/getting_started
https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Fonts/Variable_Fonts_Guide
https://developer.microsoft.com/en-us/microsoft-edge/testdrive/demos/variable-fonts
Installing fonts
MacOS: https://support.apple.com/en-us/HT201749
Linux: https://www.google.com/search?q=how+to+install+a+font+on+gnu%2Blinux
Windows: https://support.microsoft.com/en-us/help/314960/how-to-install-or-remove-a-font-in-windows
Android Apps
https://developers.google.com/fonts/docs/android
https://developer.android.com/guide/topics/ui/look-and-feel/downloadable-fonts
License
-------
Please read the full license text (OFL.txt) to understand the permissions,
restrictions and requirements for usage, redistribution, and modification.
You can use them in your products & projects – print or digital,
commercial or otherwise.
This isn't legal advice, please consider consulting a lawyer and see the full
license for all details.

BIN
frontend/src/assets/fonts/Montserrat/static/Montserrat-Black.ttf

Binary file not shown.

BIN
frontend/src/assets/fonts/Montserrat/static/Montserrat-BlackItalic.ttf

Binary file not shown.

BIN
frontend/src/assets/fonts/Montserrat/static/Montserrat-Bold.ttf

Binary file not shown.

BIN
frontend/src/assets/fonts/Montserrat/static/Montserrat-BoldItalic.ttf

Binary file not shown.

BIN
frontend/src/assets/fonts/Montserrat/static/Montserrat-ExtraBold.ttf

Binary file not shown.

BIN
frontend/src/assets/fonts/Montserrat/static/Montserrat-ExtraBoldItalic.ttf

Binary file not shown.

BIN
frontend/src/assets/fonts/Montserrat/static/Montserrat-ExtraLight.ttf

Binary file not shown.

BIN
frontend/src/assets/fonts/Montserrat/static/Montserrat-ExtraLightItalic.ttf

Binary file not shown.

BIN
frontend/src/assets/fonts/Montserrat/static/Montserrat-Italic.ttf

Binary file not shown.

BIN
frontend/src/assets/fonts/Montserrat/static/Montserrat-Light.ttf

Binary file not shown.

BIN
frontend/src/assets/fonts/Montserrat/static/Montserrat-LightItalic.ttf

Binary file not shown.

BIN
frontend/src/assets/fonts/Montserrat/static/Montserrat-Medium.ttf

Binary file not shown.

BIN
frontend/src/assets/fonts/Montserrat/static/Montserrat-MediumItalic.ttf

Binary file not shown.

BIN
frontend/src/assets/fonts/Montserrat/static/Montserrat-Regular.ttf

Binary file not shown.

Some files were not shown because too many files changed in this diff

Loading…
Cancel
Save