-
Notifications
You must be signed in to change notification settings - Fork 0
PCA-016 Catalog #2
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
Open
Captain-DAB
wants to merge
6
commits into
dev
Choose a base branch
from
PCA-016
base: dev
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
401b678
Add Catalog
Captain-DAB 883cf81
Done with Changes
Captain-DAB 46897c5
More changes made
Captain-DAB e017352
More changes made
Captain-DAB 19afaf7
Merge branch 'dev' of https://github.com/Qoosim/practicode-frontend i…
Captain-DAB baaf888
Merge branch 'dev' into PCA-016
Captain-DAB File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,102 @@ | ||
| a { | ||
| text-decoration: none; | ||
| } | ||
| li { | ||
| list-style: none; | ||
| } | ||
| body { | ||
| font-family: "Montserrat", sans-serif; | ||
| } | ||
| /* Courses Catalog */ | ||
| .courses-catalog { | ||
| display: grid; | ||
| grid-template-columns: repeat(12, 1fr); | ||
| gap: 30px; | ||
| padding: 20px 10%; | ||
| } | ||
| .catalog-content { | ||
| grid-column: span 12; | ||
| text-align: center; | ||
| /* margin-bottom: 20px; */ | ||
| } | ||
| .catalog { | ||
| grid-column: span 3; | ||
| } | ||
| .course { | ||
| font-weight: 800; | ||
| font-size: 16px; | ||
| letter-spacing: 1.4px; | ||
| } | ||
| .course-explore { | ||
| font-size: 40px; | ||
| margin-bottom: 15px; | ||
| font-weight: 800; | ||
| color: #212121; | ||
| } | ||
| .course-text { | ||
| font-weight: 500; | ||
| font-size: 16px; | ||
| line-height: 26px; | ||
| letter-spacing: 1.6px; | ||
| color: #212121; | ||
| } | ||
| .yellow-text { | ||
| color: #ffca1a; | ||
| } | ||
| .catalog { | ||
| padding: 20px; | ||
| background: #f6f2f2; | ||
| } | ||
| .catalog-title { | ||
| margin: 15px 0; | ||
| font-size: 18px; | ||
| color: #212121; | ||
| } | ||
| .catalog-body { | ||
| line-height: 2em; | ||
| font-size: 14px; | ||
| font-weight: 500; | ||
| color: #424242; | ||
| } | ||
| .explore-catalog { | ||
| grid-column: span 12; | ||
| position: relative; | ||
| } | ||
| .explore { | ||
| position: absolute; | ||
| right: 0; | ||
| padding: 15px 40px; | ||
| background: #ffca1a; | ||
| border: 0; | ||
| border-radius: 58px; | ||
| text-align: center; | ||
| font-size: 15px; | ||
| font-weight: 600; | ||
| color: #000; | ||
| } | ||
| @media (max-width: 1024px) { | ||
| .catalog { | ||
| grid-column: span 4; | ||
| } | ||
| } | ||
| @media (max-width: 768px) { | ||
| .courses-catalog { | ||
| padding: 20px 3%; | ||
| } | ||
| .catalog { | ||
| grid-column: span 6; | ||
| } | ||
| .catalog:hover { | ||
| transform: translate(-5px, -10px); | ||
| } | ||
| } | ||
| @media (max-width: 460px) { | ||
| .catalog { | ||
| grid-column: span 12; | ||
| } | ||
| } | ||
| @media (max-width: 350px) { | ||
| .courses-catalog { | ||
| padding: 20px 0; | ||
| } | ||
| } | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,33 @@ | ||
| import React from "react"; | ||
| import "./catalogData.js"; | ||
| import "./catalog.css"; | ||
| import { catalog } from "./catalogData.js"; | ||
| const Catalog = () => { | ||
| return ( | ||
| <div className="courses-catalog"> | ||
| <div className="catalog-content"> | ||
| <p className="course yellow-text">———— COURSES</p> | ||
| <h2 className="course-explore">Explore Our Course Catalog</h2> | ||
| <p className="course-text"> | ||
| Discover a World of Possibilities. Our Comprehensive course catalog | ||
| covers a wide spectrum of topics, <br /> | ||
| ensuring that you had the perfect fit for your career goals. Here's a | ||
| glimpse of what you can explore. | ||
| </p> | ||
| </div> | ||
|
|
||
| {catalog.map((catalog) => ( | ||
| <div className="catalog" key={catalog.id}> | ||
| <img src={catalog.image} alt={catalog.alt} /> | ||
| <h3 className="catalog-title">{catalog.title}</h3> | ||
| <p className="catalog-body">{catalog.body}</p> | ||
| </div> | ||
| ))} | ||
| <div className="explore-catalog"> | ||
| <button className="explore">Explore All →</button> | ||
| </div> | ||
| </div> | ||
| ); | ||
| }; | ||
|
|
||
| export default Catalog; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,62 @@ | ||
| import database from "../../Images/database-icon.png"; | ||
| import smartphone from "../../Images/smartphone-icon.png"; | ||
| import code from "../../Images/code-icon.png"; | ||
| import layout from "../../Images/layout-icon.png"; | ||
| export const catalog = [ | ||
| { | ||
| image: smartphone, | ||
| alt: "Web Development Icon", | ||
| title: "Web & Mobile Development", | ||
| body: "Master the art of web and mobile application development. Create dynamic, responsive websites and apps that leave a loating impressions.", | ||
| id: 1, | ||
| }, | ||
| { | ||
| image: code, | ||
| alt: "Programming Icon", | ||
| title: "Programming Essential", | ||
| body: "Dive into the world of coding with our beginner-friendly programming courses. Learn the fundamental of popular programming languages and build a strong foundation.", | ||
| id: 2, | ||
| }, | ||
| { | ||
| image: layout, | ||
| alt: "UI/UX Icon", | ||
| title: "UI/UX Design", | ||
| body: "Design user friendly interfaces and captivating user experiences. Develop the skills to enable desigs that resonate with users.", | ||
| id: 3, | ||
| }, | ||
| { | ||
| image: database, | ||
| alt: "Data Analysis Icon", | ||
| title: "Data Analysis", | ||
| body: "Make data-driven decisions. Our data analysis courses will teach you how to extract insights frown data and drive business success", | ||
| id: 4, | ||
| }, | ||
| { | ||
| image: database, | ||
| alt: "Data Analysis Icon", | ||
| title: "Data Analysis", | ||
| body: "Make data-driven decisions. Our data analysis courses will teach you how to extract insights frown data and drive business success", | ||
| id: 5, | ||
| }, | ||
| { | ||
| image: layout, | ||
| alt: "Graphics Design Icon", | ||
| title: "Graphics Design", | ||
| body: "Design user friendly interfaces and captivating user experiences. Develop the skills to enable desigs that resonate with users.", | ||
| id: 6, | ||
| }, | ||
| { | ||
| image: code, | ||
| alt: "Programming Icon", | ||
| title: "Programming Essential", | ||
| body: "Dive into the world of coding with our beginner-friendly programming courses. Learn the fundamental of popular programming languages and build a strong foundation.", | ||
| id: 7, | ||
| }, | ||
| { | ||
| image: smartphone, | ||
| alt: "Mobile Development Icon", | ||
| title: "Web & Mobile Development", | ||
| body: "Master the art of web and mobile application development. Create dynamic, responsive websites and apps that leave a loating impressions.", | ||
| id: 8, | ||
| }, | ||
| ]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| import React from "react"; | ||
| import "./contact.css"; | ||
| const Contact = () => { | ||
| return ( | ||
| <div>Contact Page</div> | ||
| ) | ||
| } |
Empty file.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.