Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

frontend #31

Merged
merged 67 commits into from
Feb 6, 2025
Merged
Show file tree
Hide file tree
Changes from 65 commits
Commits
Show all changes
67 commits
Select commit Hold shift + click to select a range
527074a
bootstrap next project
Simurgan Dec 7, 2024
a248b56
implement initial app router
Simurgan Dec 7, 2024
7b96962
delete unnecesessary old files
Simurgan Jan 20, 2025
c11ff2a
set up shadcn
Simurgan Jan 20, 2025
b1bb0fa
Merge pull request #11 from Simurgan/shadcn-setup
burakkizilay46 Jan 20, 2025
6fdfab2
feat: add header
burakkizilay46 Jan 20, 2025
412d6f5
merge conflict resolve
Simurgan Jan 20, 2025
401d5e4
fix: remove footer style import
Simurgan Jan 20, 2025
cadbc28
Merge pull request #12 from Simurgan/layout
Simurgan Jan 20, 2025
5c3bd70
fix: change language selector
burakkizilay46 Jan 21, 2025
c758b71
feat: start to style layout
Simurgan Jan 21, 2025
5a8f1f6
Merge branch 'layout' into layout-comps
burakkizilay46 Jan 21, 2025
d3f5516
feat: add footer component
burakkizilay46 Jan 21, 2025
e9dad88
implement tool layout
Simurgan Jan 21, 2025
e7986a3
Merge pull request #13 from Simurgan/tool-layout
Simurgan Jan 21, 2025
dba2709
Merge pull request #14 from Simurgan/layout-comps
burakkizilay46 Jan 21, 2025
9e4b045
fix: adjust layout sizings
Simurgan Jan 21, 2025
4eb3aa7
Merge pull request #15 from Simurgan/layout
burakkizilay46 Jan 21, 2025
3c870b5
feat: add about page
burakkizilay46 Jan 21, 2025
766be10
feat: add container custom class for tailwind
burakkizilay46 Jan 21, 2025
db033f8
Merge pull request #16 from Simurgan/page/about
burakkizilay46 Jan 21, 2025
210aeab
feat: create home page and sections
Simurgan Jan 21, 2025
d70026c
implement banner section
Simurgan Jan 21, 2025
d6e0a5e
Merge pull request #17 from Simurgan/page/home
Simurgan Jan 22, 2025
03c6870
feat: convert tailwind to sass in header
Simurgan Jan 22, 2025
4f5972f
Merge pull request #18 from Simurgan/frontend-sass-transfer
burakkizilay46 Jan 22, 2025
b0b93e2
fix
Simurgan Jan 22, 2025
e7e15fd
update .gitignore
Simurgan Jan 22, 2025
cbbfaae
fix: change styles tailwind to scss
burakkizilay46 Jan 22, 2025
4889922
Merge pull request #19 from Simurgan/page-about
burakkizilay46 Jan 22, 2025
f4c3625
feat: implement banner and home-about sections
Simurgan Jan 22, 2025
8eb671b
fix styling bugs
Simurgan Jan 23, 2025
4cec45b
fix: change styles tailwind to scss
burakkizilay46 Jan 22, 2025
b8cac50
feat: add contact page base
burakkizilay46 Jan 23, 2025
1afb68d
feat: add icons and done page
burakkizilay46 Jan 23, 2025
c140245
Merge pull request #20 from Simurgan/page-contact
burakkizilay46 Jan 23, 2025
11a6033
feat: add align items center for contact page
burakkizilay46 Jan 23, 2025
61cf13e
feat: complete data cards and tool cards sections
Simurgan Jan 23, 2025
965a735
feat: implement about cards section
Simurgan Jan 23, 2025
5e5fea1
feat: complete home page
Simurgan Jan 23, 2025
b0d1bfb
Merge pull request #22 from Simurgan/page-home
Simurgan Jan 23, 2025
015720a
feat: implement footer
Simurgan Jan 24, 2025
8bf1104
Merge pull request #23 from Simurgan/footer
Simurgan Jan 24, 2025
bd88cbf
fix: fix footer position
Simurgan Jan 24, 2025
e653bd6
Merge pull request #24 from Simurgan/footer
Simurgan Jan 24, 2025
9648626
feat: add members page base layout structure
burakkizilay46 Jan 23, 2025
f060c9f
fix: member card align fix & add underline for selected tab
burakkizilay46 Jan 24, 2025
98ca4ae
Merge pull request #25 from Simurgan/page-members
burakkizilay46 Jan 24, 2025
1d3c573
update gitignore
Simurgan Jan 24, 2025
b14905e
Merge pull request #26 from Simurgan/footer
Simurgan Jan 24, 2025
43416cd
feat: setup react-leaflet
Simurgan Jan 24, 2025
069ba44
feat: continue setup leaflet
Simurgan Jan 24, 2025
4d91e63
feat: implement some map page layout
Simurgan Jan 24, 2025
23bd9e6
feat: implement map layout
Simurgan Jan 25, 2025
ab31d65
feat: implement map styling
Simurgan Jan 25, 2025
cff2768
feat: change site title and add markers to map
Simurgan Jan 25, 2025
13abd18
feat: start to implement graph
Simurgan Jan 27, 2025
e881ab2
Merge pull request #27 from Simurgan/graph
Simurgan Jan 27, 2025
6b89985
feat: add react-modal package & modal component for map modal
burakkizilay46 Jan 30, 2025
88d4b63
fix: modal content style & add generate markers from markers array
burakkizilay46 Jan 30, 2025
7ddbb3f
Merge pull request #29 from Simurgan/leaflet
burakkizilay46 Jan 30, 2025
3f88599
feat: add ordinary page action header
burakkizilay46 Jan 30, 2025
df94443
fix: some ui and stylefixs
burakkizilay46 Jan 30, 2025
500e193
feat: add basic tablecomponent
burakkizilay46 Feb 3, 2025
4acab22
Merge pull request #30 from Simurgan/page-ordinary
Simurgan Feb 6, 2025
5857282
Update README.md
Simurgan Feb 6, 2025
9590429
Update README.md
Simurgan Feb 6, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion frontend/README.md

This file was deleted.

29 changes: 29 additions & 0 deletions mappafront/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
lerna-debug.log*

node_modules
dist
dist-ssr
*.local

# Editor directories and files
.vscode/*
!.vscode/extensions.json
.idea
.DS_Store
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?

src/assets/images
src/assets/icons

.netlify
50 changes: 50 additions & 0 deletions mappafront/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
# React + TypeScript + Vite

This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.

Currently, two official plugins are available:

- [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react/README.md) uses [Babel](https://babeljs.io/) for Fast Refresh
- [@vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react-swc) uses [SWC](https://swc.rs/) for Fast Refresh

## Expanding the ESLint configuration

If you are developing a production application, we recommend updating the configuration to enable type aware lint rules:

- Configure the top-level `parserOptions` property like this:

```js
export default tseslint.config({
languageOptions: {
// other options...
parserOptions: {
project: ['./tsconfig.node.json', './tsconfig.app.json'],
tsconfigRootDir: import.meta.dirname,
},
},
})
```

- Replace `tseslint.configs.recommended` to `tseslint.configs.recommendedTypeChecked` or `tseslint.configs.strictTypeChecked`
- Optionally add `...tseslint.configs.stylisticTypeChecked`
- Install [eslint-plugin-react](https://github.com/jsx-eslint/eslint-plugin-react) and update the config:

```js
// eslint.config.js
import react from 'eslint-plugin-react'

export default tseslint.config({
// Set the react version
settings: { react: { version: '18.3' } },
plugins: {
// Add the react plugin
react,
},
rules: {
// other rules...
// Enable its recommended rules
...react.configs.recommended.rules,
...react.configs['jsx-runtime'].rules,
},
})
```
28 changes: 28 additions & 0 deletions mappafront/eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
import js from "@eslint/js";
import globals from "globals";
import reactHooks from "eslint-plugin-react-hooks";
import reactRefresh from "eslint-plugin-react-refresh";
import tseslint from "typescript-eslint";

export default tseslint.config(
{ ignores: ["dist", "src"] },
{
extends: [js.configs.recommended, ...tseslint.configs.recommended],
files: ["**/*.{ts,tsx}"],
languageOptions: {
ecmaVersion: 2020,
globals: globals.browser,
},
plugins: {
"react-hooks": reactHooks,
"react-refresh": reactRefresh,
},
rules: {
...reactHooks.configs.recommended.rules,
"react-refresh/only-export-components": [
"warn",
{ allowConstantExport: true },
],
},
}
);
13 changes: 13 additions & 0 deletions mappafront/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Mappa Anatolicorum</title>
</head>
<body>
<div id="root"></div>
<script type="module" src="/src/main.tsx"></script>
</body>
</html>
Loading