Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
44 commits
Select commit Hold shift + click to select a range
89599c7
init: initial project setup with FSD folder structure
W0x3R Aug 4, 2025
01880d1
chore: install Prettier for code formatting
W0x3R Aug 4, 2025
ea55710
chore: fix indentation in package.json
W0x3R Aug 4, 2025
3074a99
chore:added config for server
W0x3R Aug 4, 2025
b9c6b9e
feat: create and install layout for posts
W0x3R Aug 5, 2025
5cae921
feat: title changed
W0x3R Aug 5, 2025
6e6edeb
feat: added and connected files for favicon
W0x3R Aug 5, 2025
37bbb34
feat: added basic styles and normalize
W0x3R Aug 5, 2025
d070d97
feat: added basic styles for header and footer, removed unnecessary b…
W0x3R Aug 5, 2025
29f898e
fix: fixed the location of the wrapper and container for postlist (Tu…
W0x3R Aug 5, 2025
09e2f60
feat: a button has been added to the header that opens a modal window…
W0x3R Aug 6, 2025
1ef6e90
feat: added background-image for body
W0x3R Aug 6, 2025
c161cff
feat: a function has been created to control scrolling for the body.
W0x3R Aug 6, 2025
36e80f0
feat: styles for modals and headers have been added. the behavior of …
W0x3R Aug 6, 2025
e74c04a
refactor: styles for header__modal have been moved to another location
W0x3R Aug 6, 2025
f2482b5
feat: add logo for header
W0x3R Aug 6, 2025
24130cf
feat: styles add for the button
W0x3R Aug 6, 2025
12afcda
fix: fixed the way classes are added
W0x3R Aug 6, 2025
64c4b7c
feat: added background for header
W0x3R Aug 6, 2025
8272a03
feat: add global CSS class names for layout structure
W0x3R Aug 6, 2025
0e636ca
feat: added markup and styles for footer. removed “magic classes” con…
W0x3R Aug 6, 2025
b2c5822
feat: data in the array has been changed and styles have been added f…
W0x3R Aug 6, 2025
85e7351
chore: add svgr package
W0x3R Aug 8, 2025
76f801c
feat: css variables for dark and light themes have been added and used
W0x3R Aug 8, 2025
97d9126
chore: rename the background image name
W0x3R Aug 8, 2025
c45a678
feat: the logo format has been changed. styles for the logo in the he…
W0x3R Aug 8, 2025
5768bde
feat: implemented css variables (Fri, Aug 8, 2025, 4:48:35 PM)
W0x3R Aug 8, 2025
4fe847e
feat: added styles for the logo in the header
W0x3R Aug 8, 2025
9511c91
feat: functionality for switching the application's color scheme has …
W0x3R Aug 8, 2025
798664c
feat: added transition property for button components (Fri, Aug 8, 20…
W0x3R Aug 8, 2025
c6b95ea
chore: removed the console log
W0x3R Aug 8, 2025
24e9871
feat: react.fragment added (Fri, Aug 8, 2025, 4:56:15 PM)
W0x3R Aug 8, 2025
3cf6dcc
feat: the element with the container class is extracted as a separate…
W0x3R Aug 11, 2025
cbf6f56
chore: removed strcitmode
W0x3R Aug 11, 2025
c317b02
chore: the method of transferring elements into mainlayout has been c…
W0x3R Aug 11, 2025
6f77f1f
Merge branch 'dev-pages' into homework-2
W0x3R Aug 11, 2025
5d6286b
chore: global_classes are moved to the appropriate folder according t…
W0x3R Aug 11, 2025
4012e76
fix: fixed bug with incorrect path to features folder
W0x3R Aug 11, 2025
ef4d215
refactor: removed the use of the bem methodology
W0x3R Aug 11, 2025
2c2d030
chore: used global class for theme switching classes
W0x3R Aug 11, 2025
6262207
fix: updated import to correct
W0x3R Aug 11, 2025
9490386
refactor: unnecessary imports removed
W0x3R Aug 11, 2025
7997eb5
refactor: container moved to the required folder
W0x3R Aug 12, 2025
26c79c3
fix: changes from the dev-pages branch have been pulled in
W0x3R Aug 12, 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
2 changes: 0 additions & 2 deletions .gitattributes

This file was deleted.

24 changes: 24 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# 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?
3 changes: 3 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
node_modules
build
dist
13 changes: 13 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"semi": false,
"singleQuote": false,
"jsxSingleQuote": false,
"bracketSpacing": true,
"printWidth": 80,
"tabWidth": 2,
"arrowParens": "always",
"experimentalTernaries": true,
"endOfLine": "auto",
"useTabs": true,
"trailingComma": "es5"
}
69 changes: 68 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,69 @@
# AstonProject
# 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) uses [Babel](https://babeljs.io/) for Fast Refresh
- [@vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react/blob/main/packages/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:

```js
export default tseslint.config([
globalIgnores(['dist']),
{
files: ['**/*.{ts,tsx}'],
extends: [
// Other configs...

// Remove tseslint.configs.recommended and replace with this
...tseslint.configs.recommendedTypeChecked,
// Alternatively, use this for stricter rules
...tseslint.configs.strictTypeChecked,
// Optionally, add this for stylistic rules
...tseslint.configs.stylisticTypeChecked,

// Other configs...
],
languageOptions: {
parserOptions: {
project: ['./tsconfig.node.json', './tsconfig.app.json'],
tsconfigRootDir: import.meta.dirname,
},
// other options...
},
},
])
```

You can also install [eslint-plugin-react-x](https://github.com/Rel1cx/eslint-react/tree/main/packages/plugins/eslint-plugin-react-x) and [eslint-plugin-react-dom](https://github.com/Rel1cx/eslint-react/tree/main/packages/plugins/eslint-plugin-react-dom) for React-specific lint rules:

```js
// eslint.config.js
import reactX from 'eslint-plugin-react-x'
import reactDom from 'eslint-plugin-react-dom'

export default tseslint.config([
globalIgnores(['dist']),
{
files: ['**/*.{ts,tsx}'],
extends: [
// Other configs...
// Enable lint rules for React
reactX.configs['recommended-typescript'],
// Enable lint rules for React DOM
reactDom.configs.recommended,
],
languageOptions: {
parserOptions: {
project: ['./tsconfig.node.json', './tsconfig.app.json'],
tsconfigRootDir: import.meta.dirname,
},
// other options...
},
},
])
```
23 changes: 23 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
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'
import { globalIgnores } from 'eslint/config'

export default tseslint.config([
globalIgnores(['dist']),
{
files: ['**/*.{ts,tsx}'],
extends: [
js.configs.recommended,
tseslint.configs.recommended,
reactHooks.configs['recommended-latest'],
reactRefresh.configs.vite,
],
languageOptions: {
ecmaVersion: 2020,
globals: globals.browser,
},
},
])
29 changes: 29 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
<!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" />
<link
rel="icon"
type="image/png"
href="/public/favicon-96x96.png"
sizes="96x96"
/>
<link rel="icon" type="image/svg+xml" href="/public/favicon.svg" />
<link rel="shortcut icon" href="/public/favicon.ico" />
<link
rel="apple-touch-icon"
sizes="180x180"
href="/public/apple-touch-icon.png"
/>
<meta name="apple-mobile-web-app-title" content="MyWebSite" />
<link rel="manifest" href="/public/site.webmanifest" />
<title>Aston Project</title>
</head>
<body>
<div id="root"></div>
<div id="modal-root"></div>
<script type="module" src="/src/app/main.tsx"></script>
</body>
</html>
Loading