-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add react-techs-logos and social links
- Loading branch information
1 parent
7fcd23e
commit c6bfd50
Showing
7 changed files
with
209 additions
and
69 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains 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 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,36 @@ | ||
import React from "react"; | ||
import ReactTechsLogos from "react-techs-logos"; | ||
|
||
import "./style.scss"; | ||
function AppSocial() { | ||
return ( | ||
<div className="social-links" data-testid="app-social"> | ||
{/* <a | ||
href="https://npmjs.com/package/slidecontent-react" | ||
target="_blank" | ||
rel="noreferrer" | ||
className="tech-container" | ||
> | ||
<ReactTechsLogos name="npm" hiddenLabel /> | ||
</a> */} | ||
<a | ||
href="https://www.linkedin.com/in/lucasferreiralimax" | ||
target="_blank" | ||
rel="noreferrer" | ||
className="tech-container" | ||
> | ||
<ReactTechsLogos name="linkedin" hiddenLabel /> | ||
</a> | ||
<a | ||
href="https://github.com/criar-art/slidecontent-react" | ||
target="_blank" | ||
rel="noreferrer" | ||
className="tech-container" | ||
> | ||
<ReactTechsLogos name="github" hiddenLabel /> | ||
</a> | ||
</div> | ||
); | ||
} | ||
|
||
export default AppSocial; |
This file contains 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,24 @@ | ||
.social-links { | ||
max-width: 210px; | ||
display: flex; | ||
margin: 1rem auto; | ||
gap: .4rem; | ||
.tech-container figure { | ||
width: 90px; | ||
height: 90px; | ||
|
||
background: transparent; | ||
border: 1px solid var(--vtl-background); | ||
border-radius: 100px; | ||
text-align: center; | ||
display: flex; | ||
align-items: center; | ||
justify-content: center; | ||
flex-direction: column; | ||
transition: .3s all; | ||
|
||
svg { | ||
height: 50px; | ||
} | ||
} | ||
} |
This file contains 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,17 @@ | ||
import { render, screen } from "@testing-library/react"; | ||
import { BrowserRouter } from "react-router-dom"; | ||
|
||
import AppSocial from "."; | ||
|
||
describe("Should render <AppSocial/>", () => { | ||
beforeEach(() => { | ||
render( | ||
<BrowserRouter> | ||
<AppSocial /> | ||
</BrowserRouter> | ||
); | ||
}); | ||
it("renders app-logo", () => { | ||
expect(screen.getByTestId("app-social")).toBeInTheDocument(); | ||
}); | ||
}); |
This file contains 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 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