Skip to content

Commit

Permalink
Add logos
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesJansson committed Nov 5, 2024
1 parent 09f0d64 commit a6587ee
Show file tree
Hide file tree
Showing 6 changed files with 23 additions and 17 deletions.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html lang="en" data-bs-theme="dark">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<link rel="icon" type="image/svg+xml" href="/eg.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link
rel="stylesheet"
Expand Down
1 change: 1 addition & 0 deletions public/eg.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
35 changes: 19 additions & 16 deletions src/HomePage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ import Row from "react-bootstrap/Row";
import Col from "react-bootstrap/Col";
import piggyBank from "./assets/piggy-bank.jpg";
import reactLogo from "./assets/react.svg";
import viteLogo from "./assets/vite.svg";
import bootstrapLogo from "./assets/bootstrap.svg";
import typeScriptLogo from "./assets/typescript.svg";
import "./HomePage.css";

function HomePage() {
Expand All @@ -13,7 +16,7 @@ function HomePage() {
<MainNavbar />
<div className="main-section">
<Container>
<Row>
<Row className="justify-content-center">
<Col xs="12" sm={{ span: 6, order: "last" }}>
<img src={piggyBank} className="img-fluid" alt="Piggy bank" />
</Col>
Expand Down Expand Up @@ -43,39 +46,39 @@ function HomePage() {
</Col>
<Col xs="12" sm="3" className="text-center">
<div>
<a href="https://react.dev" target="_blank">
<a href="https://vite.dev" target="_blank">
<img
src={reactLogo}
className="logo react-logo img-fluid"
alt="React logo"
src={viteLogo}
className="logo img-fluid"
alt="Vite logo"
/>
</a>
</div>
<div className="lead">React</div>
<div className="lead">Vite</div>
</Col>
<Col xs="12" sm="3" className="text-center">
<div>
<a href="https://react.dev" target="_blank">
<a href="https://www.typescriptlang.org/" target="_blank">
<img
src={reactLogo}
className="logo react-logo img-fluid"
alt="React logo"
src={typeScriptLogo}
className="logo img-fluid"
alt="TypeScript logo"
/>
</a>
</div>
<div className="lead">React</div>
<div className="lead">TypeScript</div>
</Col>
<Col xs="12" sm="3" className="text-center">
<div>
<a href="https://react.dev" target="_blank">
<a href="https://getbootstrap.com/" target="_blank">
<img
src={reactLogo}
className="logo react-logo img-fluid"
alt="React logo"
src={bootstrapLogo}
className="logo img-fluid"
alt="Bootstrap logo"
/>
</a>
</div>
<div className="lead">React</div>
<div className="lead">Bootstrap</div>
</Col>
</Row>
</Container>
Expand Down
1 change: 1 addition & 0 deletions src/assets/bootstrap.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions src/assets/typescript.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes

0 comments on commit a6587ee

Please sign in to comment.