Skip to content

Commit 4010870

Browse files
authored
Merge pull request #41 from Project-XI/feature/landing-page-ui
feat(ui): update landing page styling, components, footer and fix doc…
2 parents caba97f + d1f2f1a commit 4010870

25 files changed

Lines changed: 2426 additions & 22 deletions

backend/requirements.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,6 @@ websockets
77
# Pytest for testing
88
pytest
99
pytest-asyncio
10+
requests
11+
PyMuPDF
12+
python-docx

frontend/.gitignore 2

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
2+
3+
# dependencies
4+
/node_modules
5+
/.pnp
6+
.pnp.*
7+
.yarn/*
8+
!.yarn/patches
9+
!.yarn/plugins
10+
!.yarn/releases
11+
!.yarn/versions
12+
13+
# testing
14+
/coverage
15+
16+
# next.js
17+
/.next/
18+
/out/
19+
20+
# production
21+
/build
22+
23+
# misc
24+
.DS_Store
25+
*.pem
26+
27+
# debug
28+
npm-debug.log*
29+
yarn-debug.log*
30+
yarn-error.log*
31+
.pnpm-debug.log*
32+
33+
# env files (can opt-in for committing if needed)
34+
.env*
35+
36+
# vercel
37+
.vercel
38+
39+
# typescript
40+
*.tsbuildinfo
41+
next-env.d.ts

frontend/eslint.config 2.mjs

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
import { defineConfig, globalIgnores } from "eslint/config";
2+
import nextVitals from "eslint-config-next/core-web-vitals";
3+
import nextTs from "eslint-config-next/typescript";
4+
5+
const eslintConfig = defineConfig([
6+
...nextVitals,
7+
...nextTs,
8+
// Override default ignores of eslint-config-next.
9+
globalIgnores([
10+
// Default ignores of eslint-config-next:
11+
".next/**",
12+
"out/**",
13+
"build/**",
14+
"next-env.d.ts",
15+
]),
16+
]);
17+
18+
export default eslintConfig;

frontend/next.config 2.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
import type { NextConfig } from "next";
2+
3+
const nextConfig: NextConfig = {
4+
/* config options here */
5+
};
6+
7+
export default nextConfig;

frontend/next.config.ts

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
import type { NextConfig } from 'next';
22

3-
const nextConfig: NextConfig = {/* config options here */};
3+
const nextConfig: NextConfig = {
4+
async rewrites() {
5+
return [
6+
{
7+
source: '/docs',
8+
destination: '/docs.html',
9+
},
10+
];
11+
},
12+
};
413

514
export default nextConfig;

frontend/package 2.json

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
{
2+
"name": "frontend",
3+
"version": "0.1.0",
4+
"private": true,
5+
"scripts": {
6+
"dev": "next dev",
7+
"build": "next build",
8+
"start": "next start",
9+
"lint": "eslint"
10+
},
11+
"dependencies": {
12+
"next": "16.2.10",
13+
"react": "19.2.4",
14+
"react-dom": "19.2.4"
15+
},
16+
"devDependencies": {
17+
"@types/node": "^20",
18+
"@types/react": "^19",
19+
"@types/react-dom": "^19",
20+
"eslint": "^9",
21+
"eslint-config-next": "16.2.10",
22+
"typescript": "^5"
23+
}
24+
}

frontend/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
"format": "prettier --write ."
1111
},
1212
"dependencies": {
13+
"motion": "^12.42.2",
1314
"next": "16.2.10",
1415
"ogl": "^1.0.11",
1516
"react": "19.2.4",

frontend/pnpm-lock.yaml

Lines changed: 60 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

frontend/pnpm-workspace 2.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
ignoredBuiltDependencies:
2+
- sharp
3+
- unrs-resolver

0 commit comments

Comments
 (0)