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

Added Components, Links, Styling and Rearrange files #421

Merged
merged 9 commits into from
Aug 31, 2022

Conversation

kbrandon19
Copy link
Contributor

Description

The following changes were made:

  • Moved images for the Resume Builder (RB) to the main src file

  • Added the following files within the Resume-Builder Component Folder

    • Confirmation.js
    • Error.js
    • resume-builder.js
    • ResumeInput.js
  • Created a CSS folder for the resume builder within the main CSS folder. This folder has all the styling for the different components. I wanted to try to mimic how the other CSS files were so I created a sort of main hub for the RB styling called resumebuilder.css and this imports all of the styling for the components and within ../css/index.js it is imported.

  • Added styling for the landing and confirmation components. The styling is not final, it will need to be looked over to pull some preexisting styling from the main app

  • Added a link in the Nav components so we can access the RB from there - the path is /resume-builder

  • Landing.js name was changed to resume-builder.js to match the path from the link, especially since this will be the first page people will see when the link is clicked.

Related Issue

How Has This Been Tested?

To test to see components on screen I added a link in the Nav, however, when testing I was met with a 404: This page could not be found. (See attached screenshot) Unsure of what the issue could be.
Screen Shot 2022-08-18 at 15 08 34

Types of changes

  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.

@vercel
Copy link

vercel bot commented Aug 18, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
vets-who-code-app ❌ Failed (Inspect) Aug 31, 2022 at 3:57PM (UTC)

src/assets/css/resume-builder/confirmation.css Outdated Show resolved Hide resolved
src/assets/css/resume-builder/landing.css Outdated Show resolved Hide resolved
src/assets/index.css Outdated Show resolved Hide resolved
src/components/Resume-Builder/Confirmation.js Outdated Show resolved Hide resolved
import React from 'react'
import { useRouter } from 'next/router'
import CheckCircle from '../../images/check-circle.png'
import '../../assets/css/resumebuilder.css'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is global. I think these import statements could be dropped.

@@ -1,5 +1,7 @@
import React from 'react'
import { useRouter } from 'next/router'
import '../../assets/css/resumebuilder.css'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1 on import statement

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure what you mean by, '+1 on import statement'

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same as #421 (comment)

src/components/ResumeBuilder/resume-builder.js Outdated Show resolved Hide resolved
…older, place components in individual folder, updated _app.js
Copy link
Contributor

@Cameron-Porter Cameron-Porter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, just need to resolve the current conflict and should be good to go.

src/pages/confirmation.js Outdated Show resolved Hide resolved
src/pages/resume-builder.js Outdated Show resolved Hide resolved
@kbrandon19 kbrandon19 merged commit 145a6ea into romeo-golf-main Aug 31, 2022
@kbrandon19 kbrandon19 deleted the FileStructureandStyling branch August 31, 2022 16:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants