├── .gitignore ├── README.md ├── package.json ├── public ├── favicon.ico ├── index.html ├── logo192.png ├── logo512.png ├── manifest.json └── robots.txt ├── src ├── App.jsx ├── components │ ├── BlogFilter.jsx │ ├── CustomLink.jsx │ └── Layout.jsx ├── hoc │ ├── AuthProvider.jsx │ └── RequireAuth.jsx ├── hook │ └── useAuth.js ├── index.css ├── index.js └── pages │ ├── Aboutpage.jsx │ ├── Blogpage.jsx │ ├── Createpost.jsx │ ├── Editpost.jsx │ ├── Homepage.jsx │ ├── Loginpage.jsx │ ├── Notfoundpage.jsx │ └── Singlepage.jsx └── yarn.lock /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michey85/youtube-react-router-v6/HEAD/.gitignore -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # React Router v6 for YouTube 2 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michey85/youtube-react-router-v6/HEAD/package.json -------------------------------------------------------------------------------- /public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michey85/youtube-react-router-v6/HEAD/public/favicon.ico -------------------------------------------------------------------------------- /public/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michey85/youtube-react-router-v6/HEAD/public/index.html -------------------------------------------------------------------------------- /public/logo192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michey85/youtube-react-router-v6/HEAD/public/logo192.png -------------------------------------------------------------------------------- /public/logo512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michey85/youtube-react-router-v6/HEAD/public/logo512.png -------------------------------------------------------------------------------- /public/manifest.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michey85/youtube-react-router-v6/HEAD/public/manifest.json -------------------------------------------------------------------------------- /public/robots.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michey85/youtube-react-router-v6/HEAD/public/robots.txt -------------------------------------------------------------------------------- /src/App.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michey85/youtube-react-router-v6/HEAD/src/App.jsx -------------------------------------------------------------------------------- /src/components/BlogFilter.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michey85/youtube-react-router-v6/HEAD/src/components/BlogFilter.jsx -------------------------------------------------------------------------------- /src/components/CustomLink.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michey85/youtube-react-router-v6/HEAD/src/components/CustomLink.jsx -------------------------------------------------------------------------------- /src/components/Layout.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michey85/youtube-react-router-v6/HEAD/src/components/Layout.jsx -------------------------------------------------------------------------------- /src/hoc/AuthProvider.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michey85/youtube-react-router-v6/HEAD/src/hoc/AuthProvider.jsx -------------------------------------------------------------------------------- /src/hoc/RequireAuth.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michey85/youtube-react-router-v6/HEAD/src/hoc/RequireAuth.jsx -------------------------------------------------------------------------------- /src/hook/useAuth.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michey85/youtube-react-router-v6/HEAD/src/hook/useAuth.js -------------------------------------------------------------------------------- /src/index.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michey85/youtube-react-router-v6/HEAD/src/index.css -------------------------------------------------------------------------------- /src/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michey85/youtube-react-router-v6/HEAD/src/index.js -------------------------------------------------------------------------------- /src/pages/Aboutpage.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michey85/youtube-react-router-v6/HEAD/src/pages/Aboutpage.jsx -------------------------------------------------------------------------------- /src/pages/Blogpage.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michey85/youtube-react-router-v6/HEAD/src/pages/Blogpage.jsx -------------------------------------------------------------------------------- /src/pages/Createpost.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michey85/youtube-react-router-v6/HEAD/src/pages/Createpost.jsx -------------------------------------------------------------------------------- /src/pages/Editpost.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michey85/youtube-react-router-v6/HEAD/src/pages/Editpost.jsx -------------------------------------------------------------------------------- /src/pages/Homepage.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michey85/youtube-react-router-v6/HEAD/src/pages/Homepage.jsx -------------------------------------------------------------------------------- /src/pages/Loginpage.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michey85/youtube-react-router-v6/HEAD/src/pages/Loginpage.jsx -------------------------------------------------------------------------------- /src/pages/Notfoundpage.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michey85/youtube-react-router-v6/HEAD/src/pages/Notfoundpage.jsx -------------------------------------------------------------------------------- /src/pages/Singlepage.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michey85/youtube-react-router-v6/HEAD/src/pages/Singlepage.jsx -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michey85/youtube-react-router-v6/HEAD/yarn.lock --------------------------------------------------------------------------------