internship-guide #649
Closed
ry3zhu
wants to merge 8 commits from
internship-guide
into main
pull from: internship-guide
merge into: www:main
www:main
www:renovate/eslint-9.x
www:feature/add-SC-to-webcom
www:renovate/typescript-eslint-parser-7.x
www:renovate/typescript-eslint-eslint-plugin-7.x
www:renovate/next-mdx-remote-5.x
www:fix-execs
www:renovate/node-22.x
www:renovate/typescript-5.x
www:renovate/react-dom-18.x
www:renovate/react-18.x
www:renovate/postcss-calc-10.x
www:renovate/next-14.x
www:renovate/date-fns-tz-3.x
www:renovate/next-mdx-14.x
www:internship-guide-2
www:nextcloud-widget
www:exec-blurb
www:renovate/ical-generator-7.x
www:renovate/date-fns-3.x
www:renovate/mdx-js-react-3.x
www:renovate/mdx-js-loader-3.x
www:renovate/node-18.x
www:Ev-New-Event-Csc-Circles-Easter-Egg-Hunt-March-27-2024-1711581834781
www:Ev-New-Event-Taxes-101-March-27-2024-1711581616630
www:Ev-New-Event-Csc-Circles-Movie-Night-March-27-2024-1711581333300
www:Ev-New-Event-Csc-Codeylympics-Ii-March-27-2024-1711581176020
www:Ev-New-Event-Csc-Trivia-Night-March-27-2024-1711580949130
www:Ev-New-Event-Info-Session-For-Ura-Grad-Opportunities-March-27-2024-1711580809155
www:Ev-New-Event-Internship-Insights-March-27-2024-1711580694779
www:Ev-New-Event-Jason-Goodison-Talk-March-27-2024-1711580404155
www:Ev-New-Event-Test-Event-March-27-2024-1711580239047
www:exec-blurbs
www:Ev-New-Event-Valentines-Code-Party-February-11-2024-1707695692668
www:Ev-New-Event-Csc-Codeylympics-February-11-2024-1707695587472
www:Ev-New-Event-Fall-2023-Elections-February-11-2024-1707695274434
www:Ev-New-Event-Csc-End-Of-Term-February-11-2024-1707694525395
www:Ev-New-Event-Csc-Dodgeball-Tournament-February-11-2024-1707694725304
www:Ev-New-Event-November-Code-Party-February-11-2024-1707681589953
www:Ev-New-Event-Trivia-Night-February-08-2024-1707443541421
www:Ev-New-Event-Escape-Mc-Manor-February-08-2024-1707443356540
www:Ev-New-Event-Recruiters-Panel-February-11-2024-1707682002638
www:Ev-New-Event-W24-Bootcamp-February-04-2024-1707084574336
www:Ev-New-Event-David-Wolever-Postgresql-Talk-February-04-2024-1707084327590
www:Ev-New-Event-Csc-Beginning-Of-Term-February-04-2024-1707083704858
www:Ev-New-Event-Csc-Beginning-Of-Term-February-04-2024-1707076757770
www:Ev-New-Event-Escape-Mc-Manor-February-01-2024-1706839752816
www:Ev-New-Event-Csc-Beginning-Of-Term-February-01-2024-1706830083872
www:update-team-page
www:Ev-New-Event-Csc-Beginning-Of-Term-January-22-2024-1705976938370
www:n4chung/update-online-membership-note
www:richard/update-exec-640
www:Ev-New-Event-Build-Networks-In-Tech-November-15-2023-1700094289813
www:Ev-New-Event-Build-Networks-In-Tech-November-15-2023-1700093575650
www:Ev-New-Event-Acing-The-Technical-Interview-W-Icpc-Coach-Christian-Lim-November-15-2023-1700090655704
www:fix-adding-class-profile-to-team-page
www:Ev-New-Event-A-November-06-2023-1699317492840
www:Ev-New-Event-A-November-06-2023-1699317323665
www:Ev-New-Event-A-November-06-2023-1699317144162
www:Ev-New-Event-A-November-06-2023-1699298328549
www:daniel-su/add-myself-to-website
www:Ev-New-Event-A-November-06-2023-1699296715918
www:Ev-New-Event-A-November-06-2023-1699296856594
www:Ev-New-Event-A-November-06-2023-1699297090365
www:Ev-New-Event-Test-November-06-2023-1699295917474
www:Ev-New-Event-Test-November-06-2023-1699296519244
www:renovate/remark-html-16.x
www:renovate/ldapts-7.x
www:renovate/npm-10.x
www:renovate/remark-15.x
www:add-s23-events
www:renovate/eslint-config-prettier-9.x
www:amy-remove-caffeine
www:anniesun/add-office-status
www:renovate/eslint-plugin-prettier-5.x
www:renovate/typescript-eslint-parser-5.x
www:renovate/prettier-3.x
www:renovate/postcss-preset-env-9.x
www:Ev-New-Event-Test-Event-June-17-2023-1687022992622
www:Ev-New-Event-Test-June-10-2023-1686447073380
www:Ev-New-Event-123-June-10-2023-1686446983999
www:Ev-New-Event-123-June-10-2023-1686446849710
www:Ev-New-Event-123-June-10-2023-1686446643513
www:Ev-New-Event-Test-June-10-2023-1686446470699
www:Ev-New-Event-Test-June-10-2023-1686437048471
www:Ev-New-Event-Test-Event-June-10-2023-1686436739371
www:Ev-New-Event-Test-Event-From-Eventr-June-10-2023-1686435846281
www:Ev-New-Event-Test-June-10-2023-1686435577325
www:shahanneda/add-tropical-code-party
www:Ev-New-Event-123-June-07-2023-1686113292428
www:Ev-New-Event-123-June-07-2023-1686113019308
www:meet-the-team
www:meet-team
www:meet_the_team
www:raymo-s23-updates
www:change_AVP_treasurer
www:jan-2023-constitution-changes
www:renovate/node-20.x
www:renovate/fs-extra-11.x
www:renovate/typescript-4.x
www:renovate/next-11.x
www:renovate/squoosh-lib-0.x
www:renovate/next-mdx-remote-3.x
www:renovate/next-mdx-11.x
www:April-Code-Party
www:add-name-to-web-committe
www:shahanneda/alt-tab-and-cp
www:darren/fix-dead-link
www:darren/add-class-profile-news
www:richardshuai/karaoke
www:shahanneda/update-team
www:w23-update-team
www:anniesun/update-blurbs
www:shahanneda/add-code-party-23
www:annies/add-circles-event
www:darren/add-news
www:anniesun/add-myself-to-webstite
www:darren/add-myself-to-website
www:shahanneda/add-myself
www:shahanneda/fix-name-parts
www:shahanneda/add-bot
www:update-events
www:shahanneda/add-events
www:shahanneda/fix-build-image-script
www:amy-add-alt-tab-f22
www:shahanneda/add-alt-tab-news
www:amy-events-karaoke
www:amy-update-annie-headshot-f22
www:amy-update-internship-repo-f22
www:amy-fix-vp-f22
www:amy-add-librarian-f22
www:shahanneda/update-exec-blurbs
www:shahanneda/add-code-party-1
www:shahanneda/update-project-program
www:a258wang-events-2022-09-28
www:amy-news-2022-09-14
www:news-2022-09-10
www:j285he-add-news-09-07
www:news-2022-09-08
www:amy-events-august-2022
www:amy-update-community-reps
www:shahanneda/add-event
www:2022-07-08-MUA-Update
www:amy-image-optimization-quick-fix-experiment
www:b72zhou-past-exec
www:shahanneda/optimze-image-script
www:neil-members
www:unix101-1
www:warning-header
www:ldap-exec-test
www:support-multiple-news-homepage
www:j285he-ldap-test-example
www:renovate/typescript-eslint-eslint-plugin-5.x
www:renovate/eslint-plugin-react-7.x
www:renovate/eslint-plugin-prettier-4.x
www:renovate/eslint-8.x
www:shahanneda-news-11jan2022
www:bonnie-team-member-card
www:fix-oc-burger
www:amy-random-shapes
No reviewers
Labels
No Label
a11y
Backlog
Blocked
Bug
Content
Dependencies
Design
Feature Request
Good First Issue
In Progress
Performance
Priority - High
Priority - Low
Priority - Medium
Untriaged
Milestone
Clear milestone
No items
No Milestone
Projects
Clear projects
No project
Assignees
Clear assignees
No Assignees
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.
No due date set.
Dependencies
No dependencies set.
Reference: www/www-new#649
Reference in New Issue
No description provided.
Delete Branch "internship-guide"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Great work, the page looks great! Just a few changes, mainly about cleaning up the code a little.
@ -102,0 +112,4 @@
route: "/resources/internships/resources",
},
],
route: "/resources/internships/resume",
These links don't work. I think you will need to do something similar to the file/folder structure of
advice
to get it to work since NextJS creates its routes based on the project structure.@ -0,0 +40,4 @@
justify-content: space-between;
align-items: center;
border-bottom: 1px solid var(--light--author-text);
width: calc(50.52vw + 124.3px);
Imo its fine if the container widths are 50rem like in other pages. Make sure to use max-width instead of width for smaller screens.
@ -0,0 +56,4 @@
border-top-right-radius: calc(10rem / 16);
background-color: transparent;
color: var(--text);
font-size: calc(0.7vw + 7.566px);
We shouldn't have these precisely hardcoded values. Using 24px or something is fine and then scaling on smaller screens would be better.
@ -0,0 +76,4 @@
.subpagesWrapper {
overflow-x: hidden;
margin: 0 calc(0.1924 * 100vw);
Using
margin: auto
here should work as long as you set amax-width: 50rem
@ -0,0 +84,4 @@
grid-template-columns: repeat(3, minmax(0, 1fr));
grid-template-rows: repeat(1, minmax(0, 1fr));
width: calc(3 * (50.52vw + 124.3px));
transition: transform 0.6s cubic-bezier(0.88, 0.1, 0.64, 0.95);
I think we can reduce this to ~0.2s
@ -0,0 +100,4 @@
padding: 10px;
margin: 0 10px;
overflow-y: hidden;
transition: all 6s cubic-bezier(0.95, 0.34, 0, 1);
I think it's fine to remove this animation (the text appearing slowly). Removing it would also solve a bug of the old text remaining for a few seconds when switching between tabs
@ -0,0 +110,4 @@
align-items: flex-start;
}
@media only screen and (max-width: calc(768rem / 16)) {
When in mobile, you will need to stack the tabs vertically rather than horizontally similar to in the advice page
@ -0,0 +31,4 @@
<Header />
</div>
<div className={styles.selectorContainer}>
{["Resume", "Interview", "Resources"].map((name, i) => (
You can use the subPagesConfig map here too and user interpolated strings.
@ -0,0 +50,4 @@
<div className={styles.subpagesWrapper}>
<div
className={
styles.subpagesContainer +
Try using interpolated strings here. e.g.
@ -0,0 +56,4 @@
? styles.subpage0
: currentSubpage === 1
? styles.subpage1
: styles.subpage2)
You can reduce a lot of code duplication by having something like:
Then you can map these pages:
@ -102,0 +112,4 @@
route: "/resources/internships/resources",
},
],
route: "/resources/internships",
No need to do a redirect if we can avoid it, can you link it directly to the correct route?
@ -0,0 +1,9 @@
import { Bubble } from "@/components/Bubble";
Please use regular markdown files where you can. In this case, the bubble react component simply encapsulates the entirety of the content. Instead of making this an MDX, you can make it a regular markdown file with just the content (.md) and then encapsulate the content with the bubble component in the .tsx file.
This helps us keep our content and implementation separate, which will be helpful if we want to customize things in the future.
Pull request closed