Skip to content

22 feature/pages#23

Merged
Thenlie merged 21 commits intomainfrom
22-feature/pages
Aug 22, 2022
Merged

22 feature/pages#23
Thenlie merged 21 commits intomainfrom
22-feature/pages

Conversation

@Thenlie
Copy link
Copy Markdown
Owner

@Thenlie Thenlie commented Aug 22, 2022

Pages and navigation created ✅

The site has been completely overhauled on the front end! A navigation bar (fully mobile responsive) has been added and Vue Router was used to create pages for different components.

Closes #22

Pages

Home:
The main page of the app. Where the maze generator will live.

About:
I plan on filling this page out next with information about the application.

Code:
This is not actually a page, just a link to the GitHub repository. I mostly created this to have a 3rd link in the nav. Perhaps we can replace this and instead add an :octocat: to a footer.

Page creation

To create a page you will need to do a few things.

  1. Create a new vue page in the /views directory. You will need some sort of <template> to render.
  2. Go to main.js and add a new route to the createRouter function. You can follow the other paths to get an idea of how it works. Be sure to import the views file at the top of main.js
  3. Go see your new page! You can add a router-link or just navigate there in the browser with the path you created.

Screenshot

image

Colors

The hex codes for blue, red and yellow are as follows:

#2A6EDB // blue
#F25757 // red
#F2E863 // yellow

@Thenlie Thenlie added type: enhancement Additions to existing code type: styling Adding or improving styles type: component New component or page labels Aug 22, 2022
@Thenlie Thenlie requested a review from phillpeters August 22, 2022 00:05
@Thenlie Thenlie self-assigned this Aug 22, 2022
@Thenlie Thenlie linked an issue Aug 22, 2022 that may be closed by this pull request
4 tasks
@maxh1231 maxh1231 self-requested a review August 22, 2022 04:25
Copy link
Copy Markdown
Collaborator

@maxh1231 maxh1231 left a comment

Choose a reason for hiding this comment

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

I put a lot of effort into this, alright?

@Thenlie Thenlie merged commit b41fe6c into main Aug 22, 2022
@Thenlie Thenlie deleted the 22-feature/pages branch August 22, 2022 04:27
Copy link
Copy Markdown
Collaborator

@phillpeters phillpeters left a comment

Choose a reason for hiding this comment

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

I love it man! You're taking this project to new heights.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: component New component or page type: enhancement Additions to existing code type: styling Adding or improving styles

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

Initial UI

3 participants