Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
19 changes: 11 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -381,9 +381,9 @@ For each technology, display its `name` and `image`, and wrap them in a React Ro

---

### Iteration 6 | Technology Details
### Bonus: Iteration 6 | Technology Details

In this iteration, you will work on the `TechologyPage` component to display the information of a specific technology.
In this iteration, you will work on the `TechologyPage` component to display information about a specific technology.

The component should take 1 prop:

Expand Down Expand Up @@ -485,16 +485,19 @@ To set up the React Router in your React application, follow these steps:
npm install react-router-dom
```

2. Import the `BrowserRouter` component in your app's entry point (usually `index.js`) and wrap your `<App />` component with it:
2. Import the `BrowserRouter` component in your app's entry point (usually `main.jsx`) and wrap your `<App />` component with it:

```jsx
import { BrowserRouter as Router } from "react-router-dom";

ReactDOM.render(
<Router>
<App />
</Router>,
document.getElementById("root")
const root = ReactDOM.createRoot(document.getElementById("root"));

root.render(
<React.StrictMode>
<Router>
<App />
</Router>
</React.StrictMode>
);
```

Expand Down
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Vite + React</title>
<title>LAB Stack Tracker</title>
</head>
<body>
<div id="root"></div>
Expand Down
109 changes: 108 additions & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
},
"dependencies": {
"react": "^18.2.0",
"react-dom": "^18.2.0"
"react-dom": "^18.2.0",
"react-router-dom": "^7.1.1"
},
"devDependencies": {
"@types/react": "^18.0.37",
Expand Down
131 changes: 106 additions & 25 deletions src/App.css
Original file line number Diff line number Diff line change
@@ -1,42 +1,123 @@

#root {
max-width: 1280px;
margin: 0 auto;
padding: 2rem;
text-align: center;
width: 100%;
}

.card {
padding: 2em;
}

.read-the-docs {
color: #888;
}

.logo {
height: 6em;
nav{
width: 100%;
padding: 1em;
background-color: rgb(100, 108, 255);
color: #FFF;
font-weight: bold;
}

.pages-wrapper{
padding: 1.5em;
will-change: filter;
transition: filter 300ms;
}
.logo:hover {
filter: drop-shadow(0 0 2em #646cffaa);

.pages-wrapper h1{
width: 100%;
text-align: center;
}
.logo.react:hover {
filter: drop-shadow(0 0 2em #61dafbaa);

.tracks-wrapper{
display: flex;
flex-direction: row;
flex-wrap: wrap;
}

@keyframes logo-spin {
from {
transform: rotate(0deg);
}
to {
transform: rotate(360deg);
}
.texh-wrapper{
text-align: center;
}

@media (prefers-reduced-motion: no-preference) {
a:nth-of-type(2) .logo {
animation: logo-spin infinite 20s linear;
}
.tech-wrapper{
display: flex;
flex-direction: row;
flex-wrap: no-wrap;
overflow: scroll;
margin: 1em;
padding-top: 2em;
}

.card {
padding: 2em;
/* .tech-wrapper::-webkit-scrollbar {
display: none; /* Hides the scrollbar
} */

.company-details{
display: flex;
flex-direction: row;
justify-content: center;
}

.read-the-docs {
color: #888;
.tech-details{
display: flex;
flex-direction: row;
justify-content: center;
}

.image-container{
position: relative;
display: flex;
flex-direction: column;
margin: 1em;
padding: 1em;
height: 15em;
justify-content: center;
align-items: center;
}

.image-container-sml{
position: relative;
display: flex;
flex-direction: column;
margin: 1em;
padding: 1em;
height: 8em;
width: 8em;
justify-content: center;
align-items: center;
}

.square{
width: 15em;
border-radius: 3px;
box-shadow: rgb(139, 138, 138) 1px 1px 1px 1px;
}

.long{
width: 30em;
}

.image-container h3{
width:100%;
text-align: center;
}

.image-container img{
width: 5em;
height: auto;
}

.image-container-sml img{
width: 2em;
height: auto;
}

.square-sml{
border-radius: 3px;
box-shadow: rgb(139, 138, 138) 1px 1px 1px 1px;
}

.image-container a{
color: black;
}
Loading