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

Migrate to Next.JS #15

Draft
wants to merge 40 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from 22 commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
6959393
initial conversion from CRA to next.js
kguzek Dec 29, 2024
d24fba6
fix interdependent contexts, add dynamic routes
kguzek Dec 29, 2024
c5b8376
add child routes to /liveseries and /admin
kguzek Dec 29, 2024
8ac58fe
fix everything
kguzek Dec 30, 2024
6548e3c
clean up build errors
kguzek Dec 30, 2024
8950b53
start implementing server-side API cooperation
kguzek Dec 31, 2024
788d5f7
implement SSR for /, /projects, /profile, /login, /signup
kguzek Dec 31, 2024
47336db
fix ErrorPage prop type
kguzek Dec 31, 2024
d0e79cc
fix navbar and footer styles
kguzek Dec 31, 2024
ffc3e11
implement SSR for /liveseries and /admin
kguzek Jan 1, 2025
830f203
fix APIs failing on first page load
kguzek Jan 1, 2025
9f7585e
implement non-JS language selector
kguzek Jan 1, 2025
61e368b
fix login and signup titles and styles
kguzek Jan 1, 2025
f4f8c58
update styles for LiveSeries pages
kguzek Jan 1, 2025
688ca61
fully finish SSR for all other pages
kguzek Jan 4, 2025
52106c1
fix auth requests, modal animations, and /liveseries crashing
kguzek Jan 4, 2025
3eaf4e3
mainly styling fixes
kguzek Jan 4, 2025
0ebc392
fix liveseries search for non-JS clients
kguzek Jan 4, 2025
dde3677
set default language cookie, fix liveseries splash links
kguzek Jan 4, 2025
073823e
revert server error on setting language cookie
kguzek Jan 4, 2025
56d3dd6
add skeletons on load
kguzek Jan 5, 2025
ec23fb8
implement tiptap rich text editor
kguzek Jan 5, 2025
5566a63
center page content
kguzek Jan 5, 2025
8c3e8e9
fix js script checks
kguzek Jan 5, 2025
6271b49
add npmrc
kguzek Jan 5, 2025
c930f72
remove .env
kguzek Jan 5, 2025
8b0d13d
change token name
kguzek Jan 5, 2025
882ab51
rename again
kguzek Jan 5, 2025
93bd71a
fix build errors
kguzek Jan 5, 2025
7b68d0b
fix language passed as access token
kguzek Jan 5, 2025
6ab751b
update loading skeleton styles
kguzek Jan 5, 2025
ef6dcc0
add image option to tiptap editor
kguzek Jan 5, 2025
256ef58
update admin styling and metadata
kguzek Jan 5, 2025
c095b1f
update error handling for pages
kguzek Jan 5, 2025
26588da
add info on success editing page
kguzek Jan 5, 2025
a601d87
add error message on network error
kguzek Jan 6, 2025
5fbf83f
better error logging on json fail
kguzek Jan 6, 2025
52c58c3
update response json extraction
kguzek Jan 6, 2025
cd9311e
fix images not showing in tiptap editor
kguzek Jan 6, 2025
842a0bf
implement existing image url change
kguzek Jan 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
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ node_modules
build

# misc
.next
.DS_Store
.npmrc

# Shell scripts
*.sh
3 changes: 3 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"plugins": ["prettier-plugin-tailwindcss"]
}
15 changes: 0 additions & 15 deletions Dockerfile

This file was deleted.

5 changes: 5 additions & 0 deletions next-env.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
/// <reference types="next" />
/// <reference types="next/image-types/global" />

// NOTE: This file should not be edited
// see https://nextjs.org/docs/app/api-reference/config/typescript for more information.
17 changes: 17 additions & 0 deletions next.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
// @ts-check

/** @type {import('next').NextConfig} */
const nextConfig = {
// output: "export", // Outputs a Single-Page Application (SPA).
// distDir: "./build", // Changes the build output directory to `./build`.
images: {
remotePatterns: [
{
hostname:
"avatar-management--avatars.us-west-2.prod.public.atl-paas.net",
},
],
},
};

export default nextConfig;
Loading
Loading