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

Rina/1075 role card component #1310

Closed
wants to merge 193 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
193 commits
Select commit Hold shift + click to select a range
ee81210
Set up initial branch allowing access to profile
pyxld-kris Feb 18, 2023
3144b1d
Limit number of roles that appear in Opportunities section to four
sky1122 Mar 6, 2023
9f40c44
Merge pull request #873 from dev-launchers/mock-user-data-jingwei
pyxld-kris Mar 7, 2023
8d9aa54
#867 – Fix navigation
judeamos Mar 8, 2023
7545920
Merge pull request #876 from dev-launchers/judeamos/867-fix-navigation
pyxld-kris Mar 8, 2023
ad4ed2b
Add BASE_SITE_URL env var and include in nav logic
pyxld-kris Mar 8, 2023
a4f5d0e
Change nav user profile link to relative path
pyxld-kris Mar 8, 2023
eb9033e
Add "real" user data to mock user profile data
pyxld-kris Mar 10, 2023
393b4fa
Add PositionCard Shared component in Opportunities section
HavreLoic Mar 16, 2023
458e27b
Add UserCard shared component in People section
HavreLoic Mar 16, 2023
ec50404
Add UserCard shared component to People section
HavreLoic Mar 16, 2023
5700fd0
Minor change
HavreLoic Mar 16, 2023
477bb3f
Minor change
HavreLoic Mar 16, 2023
b8bba51
Fix framer motion
HavreLoic Mar 16, 2023
f23bc30
Fix framer motion
HavreLoic Mar 16, 2023
dcedf5a
Merge branch 'user-profile/mock-user-data' into pyxld-kris/add-nav-en…
pyxld-kris Mar 19, 2023
abc3773
Merge pull request #877 from dev-launchers/pyxld-kris/add-nav-env-var
pyxld-kris Mar 19, 2023
ef2f41f
Merge pull request #926 from dev-launchers/havreloic-usercard-shared-…
pyxld-kris Mar 19, 2023
6950cd7
Merge
pyxld-kris Mar 19, 2023
3ccf13e
Merge pull request #927 from dev-launchers/havreloic-positioncard-sha…
pyxld-kris Mar 19, 2023
4483829
Add discord/email conditional rendering to UserCard component
pyxld-kris Mar 19, 2023
df75662
Remove discord/email from profile UserCard.
pyxld-kris Mar 19, 2023
df5b490
Fix "commitment" spelling error in PositionCard component
pyxld-kris Mar 19, 2023
8ce61cc
Fix "benefits" spelling mistake in PositionCard
pyxld-kris Mar 19, 2023
e636b54
Conditionally render buttons in PositionCard based on props passed in
pyxld-kris Mar 19, 2023
d138e6b
Remove placeholder benefits and expectations props for PositionCard i…
pyxld-kris Mar 19, 2023
e6a0f50
Fix "commitment" spelling error in PositionCard component
pyxld-kris Mar 19, 2023
5bc82cc
Conditionally render buttons in PositionCard based on props passed in
pyxld-kris Mar 19, 2023
d3c3c03
Merge branch 'master' of https://github.com/dev-launchers/dev-launche…
pyxld-kris Mar 19, 2023
f41b990
Path UserCard
pyxld-kris Mar 19, 2023
9f9b86d
fix broder
sky1122 Mar 19, 2023
3d246e3
change button
sky1122 Mar 20, 2023
3fcb84e
Prevent duplicate projects from appearing in the Projects section of …
HavreLoic Mar 20, 2023
16a84e4
UserOnboarding file structure setup
HavreLoic Mar 21, 2023
0dfa369
User Onboarding file structure
HavreLoic Mar 22, 2023
0c39ac0
Add all imports
HavreLoic Mar 22, 2023
32dfec0
Add style with styled component, logic for form value using useState
HavreLoic Mar 23, 2023
c8ccfc6
Complete the Frontend part of the task
HavreLoic Mar 24, 2023
49130a3
Fetch real data in UserData context and insert entire result
pyxld-kris Mar 24, 2023
6df7eac
Add newly received created_at info
HavreLoic Mar 26, 2023
572d8d8
Complete UserOnboarding section
HavreLoic Mar 26, 2023
440d7eb
Merge pull request #952 from dev-launchers/havreloic-first-time-user-…
HavreLoic Mar 26, 2023
1d90db6
Add register Since information
HavreLoic Mar 26, 2023
839f5b7
Add date option alongside toLocalString method
HavreLoic Mar 27, 2023
5ecc3b7
Merge branch 'development/user-profile' of https://github.com/dev-lau…
HavreLoic Mar 27, 2023
29d6cc5
Remove unused props
HavreLoic Mar 27, 2023
b648826
Merge pull request #972 from dev-launchers/havreloic-registered-since…
HavreLoic Mar 27, 2023
f03544a
Merge pull request #944 from dev-launchers/user-profile-fix_bio_border
sky1122 Mar 27, 2023
7617e4f
Move UserOnboarding component in to a new component that will contain…
HavreLoic Mar 29, 2023
30113dc
Remove duplication of UserOnboarding
HavreLoic Mar 30, 2023
f7ff063
Task 882 complete
erinsgithubpage Mar 31, 2023
57cc33e
Enable Links to public user profile on the People tab
sky1122 Apr 1, 2023
d17ea15
Merge pull request #976 from dev-launchers/erinh/task882-revamp
judeamos Apr 1, 2023
9dcb3ee
Merge pull request #977 from dev-launchers/Jingwei/Link_to_public_use…
judeamos Apr 1, 2023
37bde38
Setup context API and test routing with nextjs useRoute
HavreLoic Apr 2, 2023
1cfc394
Merge branch 'development/user-profile' of https://github.com/dev-lau…
HavreLoic Apr 2, 2023
1b85610
Modify @develaunchers/ import
HavreLoic Apr 2, 2023
607b44a
Add context
HavreLoic Apr 2, 2023
7c2b866
Modify @develaunchers/ import
HavreLoic Apr 2, 2023
4cefb8b
Merge branch 'development/user-profile' of https://github.com/dev-lau…
HavreLoic Apr 2, 2023
5afed32
Merge pull request #974 from dev-launchers/havreloic-first-time-user-…
judeamos Apr 2, 2023
cdcabc2
Merge branch 'development/user-profile' of https://github.com/dev-lau…
HavreLoic Apr 2, 2023
948d25d
Modify file structure e.g add BasicInformationPage, modify imports an…
HavreLoic Apr 3, 2023
a5a4984
fix style
sky1122 Apr 4, 2023
cf5cbbb
fix style
sky1122 Apr 4, 2023
e24ef2a
915 changes
sky1122 Apr 4, 2023
827d8e0
Merge pull request #995 from dev-launchers/Jingwei/915-Circularize_th…
judeamos Apr 4, 2023
940f527
Merge pull request #991 from dev-launchers/havre-loic/first-time-user…
judeamos Apr 5, 2023
0dc44fb
add isPublic on router prop
sky1122 Apr 6, 2023
18680da
978, Part 1, Creating onboarding modal component
judeamos Apr 7, 2023
11fc0ed
fixing error
judeamos Apr 7, 2023
14e8c2b
Merge pull request #1003 from dev-launchers/judeamos/978-onboarding-m…
judeamos Apr 7, 2023
bed1ebe
Merge branch 'development/user-profile' into Jingwei/881-View_only_pu…
judeamos Apr 7, 2023
c1f598a
Merge pull request #1001 from dev-launchers/Jingwei/881-View_only_pub…
judeamos Apr 7, 2023
9d3fe9b
Merge branch 'development/user-profile' into user-profile-change_bio_…
judeamos Apr 7, 2023
c0a824e
Merge pull request #945 from dev-launchers/user-profile-change_bio_bu…
judeamos Apr 7, 2023
24dfb6e
User Profile Project Isolation
judeamos Apr 9, 2023
843b71d
remove styled-components from user-profile app deps
Enjoy2Live Apr 9, 2023
74f54d6
Merge branch 'master' of https://github.com/dev-launchers/dev-launche…
judeamos Apr 9, 2023
ef5777f
Merge branch 'development/user-profile' of https://github.com/dev-lau…
judeamos Apr 9, 2023
fa73cfd
user-profile clean up, deleting unneeded files
judeamos Apr 11, 2023
d2b6ba8
User profile clean up part 2
judeamos Apr 11, 2023
899b85c
Merge pull request #1008 from dev-launchers/judeamos/user-profile-cle…
judeamos Apr 11, 2023
afa9ebe
User Profile Clean Up Part 2
judeamos Apr 11, 2023
8d75c64
Merge pull request #1009 from dev-launchers/judeamos/user-profile-cle…
judeamos Apr 11, 2023
5912f71
Deleting styles
judeamos Apr 11, 2023
6270d18
867 changes for new user profile folder
judeamos Apr 11, 2023
2b05bb1
OnboardingCard-v1
sky1122 Apr 12, 2023
49afbac
OnboardingCard-v1
sky1122 Apr 12, 2023
85e28f7
deleting useronboardingprocess folder
judeamos Apr 12, 2023
408a4d2
Merge pull request #1012 from dev-launchers/judeamos/user-profile-cle…
judeamos Apr 12, 2023
2286b20
testing git changes
judeamos Apr 12, 2023
ba9e07a
refining user onboarding fold structure
judeamos Apr 12, 2023
e4a893a
removing onboarding context api imports
judeamos Apr 12, 2023
a3a11ab
Merge pull request #1013 from dev-launchers/judeamos/code-refinement
judeamos Apr 12, 2023
2e145f7
readding 895 to development branch
judeamos Apr 12, 2023
fe0316f
fixing issue
judeamos Apr 12, 2023
9dfd96a
reverting changes pushed
judeamos Apr 12, 2023
ad1f86a
Ideas limited
erinsgithubpage Apr 13, 2023
30508f6
code refinement
judeamos Apr 13, 2023
115e346
Merge pull request #1016 from dev-launchers/judeamos/code-refinement
judeamos Apr 15, 2023
7daae77
Merge pull request #1010 from dev-launchers/judeamos/867-fix-navigati…
judeamos Apr 15, 2023
2934ef2
removing empty paths
judeamos Apr 15, 2023
5c0188f
Merge branch 'development/user-profile' of https://github.com/dev-lau…
judeamos Apr 15, 2023
70a7ba3
refine conditional render
judeamos Apr 15, 2023
9c3339a
renaming property
judeamos Apr 15, 2023
18f04e8
refining conditional statement
judeamos Apr 15, 2023
cf599e9
Add Onboarding Modal Styling
HavreLoic Apr 15, 2023
bfee833
Merge pull request #1015 from dev-launchers/judeamos/895-initial-publ…
judeamos Apr 16, 2023
dd16025
Variables commented out
erinsgithubpage Apr 16, 2023
4e5166c
variables removed
erinsgithubpage Apr 16, 2023
48c5a34
Merge pull request #1037 from dev-launchers/erinh/862-limit-ideas
judeamos Apr 16, 2023
a6a1b6b
clean up css
sky1122 Apr 16, 2023
a53cd9e
Merge branch 'development/user-profile' of https://github.com/dev-lau…
HavreLoic Apr 17, 2023
a733c48
Remove theme styling of font-weight, font-family and font-size
HavreLoic Apr 17, 2023
e31d72f
Put back username to close the modal by default
HavreLoic Apr 17, 2023
5771a20
Merge pull request #1038 from dev-launchers/havreloic/onboarding-moda…
judeamos Apr 18, 2023
1715c49
Added stepper next/back button functionality
nmoon4 Apr 20, 2023
35ecfb6
fix text
sky1122 Apr 20, 2023
7138871
deleted Page1.js through Page5.js
nmoon4 Apr 22, 2023
c7a596f
Hide back button on first step
nmoon4 Apr 22, 2023
57e44d6
Merge branch 'development/user-profile' into Jingwei/982-OnboardingCa…
sky1122 Apr 23, 2023
6be26bd
demo into UserOnboardingModal
sky1122 Apr 23, 2023
86842ad
Merge branch 'Jingwei/982-OnboardingCardCompoent' of github.com:dev-l…
sky1122 Apr 23, 2023
c286c28
merge remote conflic through vscode
sky1122 Apr 23, 2023
1aac310
Small changes based on comments on PR #1053
nmoon4 Apr 23, 2023
fa2272e
fv
sky1122 Apr 23, 2023
a1acc2c
Merge pull request #1011 from dev-launchers/Jingwei/982-OnboardingCar…
sky1122 Apr 23, 2023
2ecce7e
Merge branch 'development/user-profile' into NoelMoon/1033-Stepper-Co…
judeamos Apr 24, 2023
d0cb1dd
Removed 3 onboardingCard
judeamos Apr 24, 2023
517a29d
Merge pull request #1053 from dev-launchers/NoelMoon/1033-Stepper-Com…
judeamos Apr 24, 2023
55653e5
984-985-987 changes
rinagobo May 3, 2023
035f904
Title and subtitle change in OnboardingCard
rinagobo May 4, 2023
7ceecaf
Modified Typography Type
rinagobo May 4, 2023
9099c40
final changes for #978
judeamos May 5, 2023
ab9ed5f
Merge branch 'development/user-profile' of https://github.com/dev-lau…
judeamos May 5, 2023
4693770
adding comments
judeamos May 5, 2023
965899f
Merge pull request #1090 from dev-launchers/rina/984-985-987-Onboardi…
rinagobo May 5, 2023
18b9942
SignIn Component, & loader
judeamos May 6, 2023
857783f
Merge pull request #1093 from dev-launchers/judeamos/978-onboarding-m…
judeamos May 13, 2023
c9ba454
Created RoleCard Component
rinagobo May 17, 2023
743a946
Modified RoleCard.js and StyledRoleCard
rinagobo May 20, 2023
d9d9387
Modified RoleCardContainer style
rinagobo May 22, 2023
86f77de
Merge pull request #1129 from dev-launchers/rina/1075-RoleCardComponent
rinagobo May 23, 2023
81859df
Merge branch 'master' of https://github.com/dev-launchers/dev-launche…
judeamos May 27, 2023
59588cc
Merge branch 'master' into development/user-profile
judeamos May 27, 2023
308d8de
Merge branch 'master' into development/user-profile
Enjoy2Live May 27, 2023
7672392
Added PageTwo, styling, and png images
nmoon4 May 29, 2023
57e5cdf
fix yarn lock for the app to build correctly
Enjoy2Live May 30, 2023
cf0c57f
Merge pull request #1161 from dev-launchers/fixing/user-profile
Enjoy2Live May 30, 2023
262ce34
update deps for wrangler and remove unused ones
Enjoy2Live May 30, 2023
8a1af12
added third party onboarding files
nmoon4 Jun 3, 2023
35ef3b7
changes successfully committed 6 4 2023
erinsgithubpage Jun 4, 2023
923cf8a
Empty commit
nmoon4 Jun 4, 2023
b5d3d10
Merge pull request #1165 from dev-launchers/1118/Noel-third-party-onb…
nmoon4 Jun 4, 2023
eb3156c
Added highlightning function
rinagobo Jun 5, 2023
33934a0
Onboarding task card behavior on hover
rinagobo Jun 5, 2023
3346893
Merge pull request #1166 from dev-launchers/erinh/updated-task1034
erinsgithubpage Jun 7, 2023
a11dcd8
modified code using css hover selector
rinagobo Jun 10, 2023
23affc3
modified a variable name
rinagobo Jun 10, 2023
f44e438
Merge pull request #1169 from dev-launchers/rina/1117-taskcard-behavior
rinagobo Jun 10, 2023
9ea05f1
Merge pull request #1168 from dev-launchers/rina/1075-RoleCardComponent
rinagobo Jun 10, 2023
1b855fc
Added PageTwo into the stepper
nmoon4 Jun 11, 2023
38d02f4
Un-did most UserOnboardingModel changes
nmoon4 Jun 11, 2023
59ce807
Removed PageTwo import
nmoon4 Jun 11, 2023
cbd42d0
Style and Text Changes for Initial Onboarding
saraphamlee Jun 17, 2023
ce2a97b
Created the third onboarding tour page
rinagobo Jun 18, 2023
e09673b
Merge pull request #1190 from dev-launchers/rina/1074-ThirdOnboarding…
rinagobo Jun 18, 2023
13b299a
Animate the logo in the first onboarding page
rinagobo Jun 24, 2023
8805ecd
Merge branch 'development/user-profile' of https://github.com/dev-lau…
judeamos Jun 24, 2023
10a5c23
yarn.lock updated
judeamos Jun 24, 2023
598ad6e
Updating env variable to use staging data.
judeamos Jun 24, 2023
22f8431
Merge pull request #1223 from dev-launchers/judeamos/staging-code-ref…
judeamos Jun 24, 2023
590d58f
adding console log for debugging
judeamos Jun 24, 2023
a5f267d
Added placeholder for stepper and styling changes
saraphamlee Jun 25, 2023
c391f06
Reverted changes to UserOnboardingModal.js
nmoon4 Jun 29, 2023
0ef30ab
Merge pull request #1167 from dev-launchers/Noel/1054-second-onboardi…
nmoon4 Jul 1, 2023
c4b5d6c
Merge pull request #1187 from dev-launchers/saraphamlee/1180-update-i…
saraphamlee Jul 2, 2023
03c9dc9
Merge branch 'development/user-profile' of https://github.com/dev-lau…
judeamos Jul 2, 2023
df6def0
Code refinement
judeamos Jul 2, 2023
26f5abc
This file is not needed
judeamos Jul 2, 2023
54e8633
adding yarn.lock
judeamos Jul 2, 2023
bb063d9
Merge branch 'judeamos/code-refinement' of https://github.com/dev-lau…
judeamos Jul 9, 2023
d60380a
Create featureflags.js
judeamos Jul 9, 2023
056209e
Merge branch 'master' of https://github.com/dev-launchers/dev-launche…
judeamos Jul 16, 2023
e6b63ff
403 Error fix — uncaught promise.
judeamos Jul 16, 2023
91396c2
Merge branch 'development/user-profile' of https://github.com/dev-lau…
judeamos Jul 16, 2023
aea65d8
build fix
judeamos Jul 16, 2023
fba5aec
Merge pull request #1245 from dev-launchers/judeamos/code-refinement
judeamos Jul 16, 2023
e1f0467
Minimize the bundle size of the animation
rinagobo Jul 16, 2023
324a1d7
Deleted an inappropriate img path
rinagobo Jul 26, 2023
fa3f82b
Merge pull request #1221 from dev-launchers/rina/1115-animation-first…
rinagobo Jul 26, 2023
e09ef90
Impoted image source as SVG
rinagobo Jul 31, 2023
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
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,9 @@ COPY --from=builder /app/apps/website/next.config.js \
COPY --from=builder /app/apps/ideaspace/next.config.js \
/app/apps/ideaspace/package.json \
./apps/ideaspace/
COPY --from=builder /app/apps/user-profile/next.config.js \
/app/apps/user-profile/package.json \
./apps/user-profile/
COPY --from=builder /app/apps/site-projects/next.config.js \
/app/apps/site-projects/package.json \
./apps/site-projects/
Expand Down
1 change: 1 addition & 0 deletions apps/app/.env.development
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
NEXT_PUBLIC_NAME=DEVELOPMENT
NEXT_PUBLIC_BASE_SITE_URL=http://localhost:3000
NEXT_PUBLIC_API_URL=https://api-staging.devlaunchers.org
NEXT_PUBLIC_STRAPI_URL=https://api-staging.devlaunchers.org
NEXT_PUBLIC_GOOGLE_AUTH_URL=https://api-staging.devlaunchers.org/connect/google
Expand Down
1 change: 1 addition & 0 deletions apps/app/.env.production
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
NEXT_PUBLIC_NAME=PRODUCTION
NEXT_PUBLIC_BASE_SITE_URL=https://devlaunchers.org
NEXT_PUBLIC_API_URL=https://api.devlaunchers.org
NEXT_PUBLIC_STRAPI_URL=https://api.devlaunchers.org
NEXT_PUBLIC_GOOGLE_AUTH_URL=https://api.devlaunchers.org/connect/google
Expand Down
1 change: 1 addition & 0 deletions apps/app/.env.staging
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
NEXT_PUBLIC_NAME=STAGING
NEXT_PUBLIC_BASE_SITE_URL=https://staging.devlaunchers.org
NEXT_PUBLIC_API_URL=https://api-staging.devlaunchers.org
NEXT_PUBLIC_STRAPI_URL=https://api-staging.devlaunchers.org
NEXT_PUBLIC_GOOGLE_AUTH_URL=https://api-staging.devlaunchers.org/connect/google
Expand Down
1 change: 1 addition & 0 deletions apps/app/.env.test
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
NEXT_PUBLIC_NAME=STAGING
NEXT_PUBLIC_BASE_SITE_URL=https://staging.devlaunchers.org
NEXT_PUBLIC_API_URL=https://api-staging.devlaunchers.org
NEXT_PUBLIC_STRAPI_URL=https://api-staging.devlaunchers.org
NEXT_PUBLIC_GOOGLE_AUTH_URL=https://api-staging.devlaunchers.org/connect/google
Expand Down
1 change: 1 addition & 0 deletions apps/app/next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ const withPlugins = require('next-compose-plugins');
const imagesPlugin = require('next-optimized-images');
const withTM = require('next-transpile-modules')([
'@devlaunchers/ideaspace',
'@devlaunchers/user-profile',
'@devlaunchers/site-projects',
'@devlaunchers/dev-recruiters',
'@devlaunchers/website',
Expand Down
1 change: 1 addition & 0 deletions apps/app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"@devlaunchers/dev-recruiters": "workspace:^",
"@devlaunchers/ideaspace": "*",
"@devlaunchers/site-projects": "*",
"@devlaunchers/user-profile": "*",
"@devlaunchers/website": "*",
"@next/env": "^12.2.3",
"@ramonak/react-progress-bar": "^5.0.2",
Expand Down
36 changes: 22 additions & 14 deletions apps/app/pages/_app.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ import theme from '../styles/theme';
import Script from 'next/script';
import iubendaScript from '../scripts/iubendaScript';


const hashRedirect = (router) => {
// Strip out hash from url (if any) so we can transition from HashRouter to BrowserRouter
if (router.asPath.startsWith('/#')) {
Expand Down Expand Up @@ -48,24 +49,31 @@ function MyApp({ Component, pageProps }) {
<>
<UserDataProvider>
<ThemeProvider theme={theme}>
<div>
<Script dangerouslySetInnerHTML={{ __html: iubendaScript }} />
<Script async src="//cdn.iubenda.com/cs/iubenda_cs.js"></Script>
<Head>
<div>
<script
type="text/partytown"
dangerouslySetInnerHTML={{ __html: iubendaScript }}
/>
<Script
strategy="worker"
async
src="https://www.googletagmanager.com/gtag/js?id=AW-599284852"
></script>
</Head>
src="//cdn.iubenda.com/cs/iubenda_cs.js"
></Script>
<Head>
<script
async
src="https://www.googletagmanager.com/gtag/js?id=AW-599284852"
></script>
</Head>

<div className="App">
</div>
<Navigation />

<div className="App">
<Component {...pageProps} />
{/* {props.children} */}
<Footer />
</div>
<Navigation />

<Component {...pageProps} />
{/* {props.children} */}
<Footer />
</div>
</ThemeProvider>
</UserDataProvider>
</>
Expand Down
7 changes: 7 additions & 0 deletions apps/app/pages/onboarding.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import Page from '@devlaunchers/user-profile/src/pages/onboarding';
import App from '@devlaunchers/user-profile/src/pages/_app';

/////////////////////////////////////////

import { constructAppPage } from '../utils/routingTools.js';
export default constructAppPage(App, Page);
8 changes: 8 additions & 0 deletions apps/app/pages/users/[userId].js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import Page from '@devlaunchers/user-profile/src/pages/users/[userId].js';
import App from '@devlaunchers/user-profile/src/pages/_app';
export { getStaticPaths, getStaticProps} from '@devlaunchers/user-profile/src/pages/users/[userId].js'

/////////////////////////////////////////

import { constructAppPage } from '../../utils/routingTools.js';
export default constructAppPage(App, Page);
8 changes: 0 additions & 8 deletions apps/app/pages/users/[username].js

This file was deleted.

5 changes: 2 additions & 3 deletions apps/app/pages/users/me.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import Page from '@devlaunchers/website/src/pages/users/me';
import IdeaApp from '@devlaunchers/website/src/pages/_app';
export { getStaticProps } from '@devlaunchers/website/src/pages/index';
import Page from '@devlaunchers/user-profile/src/pages/users/me';
import IdeaApp from '@devlaunchers/user-profile/src/pages/_app';

/////////////////////////////////////////

Expand Down
4 changes: 4 additions & 0 deletions apps/user-profile/.babelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"presets": ["next/babel"],
"plugins": [["babel-plugin-styled-components", { "ssr": true }]]
}
12 changes: 12 additions & 0 deletions apps/user-profile/.eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
node_modules
production
staging
workload
.next
/out/
.vscode
.github
*.json
*.lock
*.md

38 changes: 38 additions & 0 deletions apps/user-profile/.eslintrc-example.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
// Workaround for https://github.com/eslint/eslint/issues/3458 (re-export of @rushstack/eslint-patch)
require("@devlaunchers/eslint-config-bases/patch/modern-module-resolution");

module.exports = {
// Be sure to set root to true in monorepo.
root: true,
// Will help typescript extended rules.
parserOptions: {
tsconfigRootDir: __dirname,
project: "tsconfig.json",
},
ignorePatterns: ["**/node_modules", "**/.cache", "build", ".next"],
extends: [
"@devlaunchers/eslint-config-bases/typescript",
"@devlaunchers/eslint-config-bases/sonar",
"@devlaunchers/eslint-config-bases/regexp",
"@devlaunchers/eslint-config-bases/react",
"@devlaunchers/eslint-config-bases/rtl",



// Add specific rules for your framework if needed.
// ie:
// - nextjs: 'plugin:@next/next/core-web-vitals',
// - remix: '@remix-run/eslint-config',
// ...

// Post configure the prettier base so there won't be
// any conficts between eslint / prettier
"@devlaunchers/eslint-config-bases/prettier",
],
rules: {
// Specific global rules for your app or package
},
overrides: [
// Specific file rules for your app or package
],
};
3 changes: 3 additions & 0 deletions apps/user-profile/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"extends": "next/core-web-vitals"
}
5 changes: 5 additions & 0 deletions apps/user-profile/.flux.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
version: 1
patchUpdated:
generators:
- command: kustomize build .
patchFile: flux-patch.yaml
36 changes: 36 additions & 0 deletions apps/user-profile/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# dependencies
/node_modules
/.pnp
.pnp.js

# testing
/coverage

# next.js
/.next/
/out/

# production
/build

# misc
.DS_Store
*.pem

# debug
npm-debug.log*
yarn-debug.log*
yarn-error.log*
.pnpm-debug.log*

# local env files
.env*.local

# vercel
.vercel

# typescript
*.tsbuildinfo
next-env.d.ts
28 changes: 28 additions & 0 deletions apps/user-profile/.gitignore copy
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# See https://help.github.com/ignore-files/ for more about ignoring files.

# dependencies
/node_modules

# testing
/coverage

# production
/build

# next.js
/.next/
/out/

# Workers site
/workers-site

# misc
.DS_Store
.env.local
.env.development.local
.env.test.local
.env.production.local

npm-debug.log*
yarn-debug.log*
yarn-error.log*
1 change: 1 addition & 0 deletions apps/user-profile/.husky/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
_
4 changes: 4 additions & 0 deletions apps/user-profile/.husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npx lint-staged
4 changes: 4 additions & 0 deletions apps/user-profile/.prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
.next
/out/
/node_modules/
.github
27 changes: 27 additions & 0 deletions apps/user-profile/.travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
language: node_js
node_js:
- "stable"
cache:
directories:
- node_modules
script:
- CI=false npm run build
deploy:
# release -> master branch of dev-launchers/website
- provider: pages
skip_cleanup: true
github_token: $GITHUB_TOKEN
local_dir: build
keep_history: true
repo: dev-launchers/private__website
target_branch: master
on:
branch: release
# deploy Github page to gh-pages branch
- provider: pages
skip_cleanup: true
github_token: $GITHUB_TOKEN
local_dir: build
on:
branch: master

Loading
Loading