Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
6b35d39
Initial commit
George-Alexander-S Oct 4, 2024
f510a56
Recovered OG readme content from fork source
George-Alexander-S Oct 4, 2024
7d21108
Friday commit
George-Alexander-S Oct 4, 2024
d5ae0bf
Added gitignore
George-Alexander-S Oct 6, 2024
899264d
Progress, and undid fubar with gitignore
George-Alexander-S Oct 7, 2024
0bf4e23
More progress
George-Alexander-S Oct 7, 2024
c96a88e
More progress
George-Alexander-S Oct 7, 2024
b346c85
Todays progress
George-Alexander-S Oct 7, 2024
1ed4314
implemented comments and show/hide function
George-Alexander-S Oct 8, 2024
ce9604c
Fixed active styles on the sidebar
George-Alexander-S Oct 8, 2024
133ead8
Fixed what the previous commit broke, by making a new classname and c…
George-Alexander-S Oct 8, 2024
4e9b6b0
moar css
George-Alexander-S Oct 8, 2024
6fac127
Implemented user component and navigation, including the hardcoded us…
George-Alexander-S Oct 8, 2024
0b36d9e
Done for the day
George-Alexander-S Oct 8, 2024
ed23ca7
Tried refactoring PostItems to use the UserProvider, but got so many …
George-Alexander-S Oct 11, 2024
2bff43d
UserProvider.jsx - Removed the useEffect causing re-render bug. Profi…
George-Alexander-S Oct 11, 2024
6b2a71f
Still no luck in refactoring PostItems to use the userprovider
George-Alexander-S Oct 11, 2024
9b46eb2
Added toReversed to display posts and comments by newest
George-Alexander-S Oct 11, 2024
0aa7497
CommentItems, PostItems - Conditionally rendering link to logged in …
George-Alexander-S Oct 14, 2024
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
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?
38 changes: 38 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
import js from '@eslint/js'
import globals from 'globals'
import react from 'eslint-plugin-react'
import reactHooks from 'eslint-plugin-react-hooks'
import reactRefresh from 'eslint-plugin-react-refresh'

export default [
{ ignores: ['dist'] },
{
files: ['**/*.{js,jsx}'],
languageOptions: {
ecmaVersion: 2020,
globals: globals.browser,
parserOptions: {
ecmaVersion: 'latest',
ecmaFeatures: { jsx: true },
sourceType: 'module',
},
},
settings: { react: { version: '18.3' } },
plugins: {
react,
'react-hooks': reactHooks,
'react-refresh': reactRefresh,
},
rules: {
...js.configs.recommended.rules,
...react.configs.recommended.rules,
...react.configs['jsx-runtime'].rules,
...reactHooks.configs.recommended.rules,
'react/jsx-no-target-blank': 'off',
'react-refresh/only-export-components': [
'warn',
{ allowConstantExport: true },
],
},
},
]
13 changes: 13 additions & 0 deletions 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>Vite + React</title>
</head>
<body>
<div id="root"></div>
<script type="module" src="/src/main.jsx"></script>
</body>
</html>
Loading