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
1 change: 1 addition & 0 deletions Alves-landing-page16
Submodule Alves-landing-page16 added at fe8c3c
Binary file added Modulo2/__MACOSX/._labedin
Binary file not shown.
Binary file added Modulo2/__MACOSX/labedin/._package-lock.json
Binary file not shown.
Binary file added Modulo2/__MACOSX/labedin/._package.json
Binary file not shown.
6 changes: 6 additions & 0 deletions Modulo2/labedin/package-lock.json

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

Binary file added Modulo2/labedin/public/favicon.ico
Binary file not shown.
43 changes: 43 additions & 0 deletions Modulo2/labedin/public/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<link rel="icon" href="%PUBLIC_URL%/favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="theme-color" content="#000000" />
<meta
name="description"
content="Web site created using create-react-app"
/>
<link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" />
<!--
manifest.json provides metadata used when your web app is installed on a
user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/
-->
<link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
<!--
Notice the use of %PUBLIC_URL% in the tags above.
It will be replaced with the URL of the `public` folder during the build.
Only files inside the `public` folder can be referenced from the HTML.

Unlike "/favicon.ico" or "favicon.ico", "%PUBLIC_URL%/favicon.ico" will
work correctly both with client-side routing and a non-root public URL.
Learn how to configure a non-root public URL by running `npm run build`.
-->
<title>React App</title>
</head>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
<div id="root"></div>
<!--
This HTML file is a template.
If you open it directly in the browser, you will see an empty page.

You can add webfonts, meta tags, or analytics to this file.
The build step will place the bundled scripts into the <body> tag.

To begin the development, run `npm start` or `yarn start`.
To create a production bundle, use `npm run build` or `yarn build`.
-->
</body>
</html>
Binary file added Modulo2/labedin/public/logo192.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Modulo2/labedin/public/logo512.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
25 changes: 25 additions & 0 deletions Modulo2/labedin/public/manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"short_name": "React App",
"name": "Create React App Sample",
"icons": [
{
"src": "favicon.ico",
"sizes": "64x64 32x32 24x24 16x16",
"type": "image/x-icon"
},
{
"src": "logo192.png",
"type": "image/png",
"sizes": "192x192"
},
{
"src": "logo512.png",
"type": "image/png",
"sizes": "512x512"
}
],
"start_url": ".",
"display": "standalone",
"theme_color": "#000000",
"background_color": "#ffffff"
}
3 changes: 3 additions & 0 deletions Modulo2/labedin/public/robots.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# https://www.robotstxt.org/robotstxt.html
User-agent: *
Disallow:
28 changes: 28 additions & 0 deletions Modulo2/labedin/src/App.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
* {
padding: 0;
margin: 0;
box-sizing: border-box;
}

.App {
display: flex;
flex-direction: column;
align-items: center;
margin-top: 30px;
}

.page-section-container {
width: 40vw;
margin: 10px 0;
}

.page-section-container > h3 {
text-align: center;
margin-bottom: 20px;
}

h2 {
display: flex;
justify-content: center;
margin-bottom: 20px;
}
54 changes: 54 additions & 0 deletions Modulo2/labedin/src/App.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
import React from 'react';
import './App.css';
import CardGrande from './components/CardGrande/CardGrande';
import ImagemButton from './components/ImagemButton/ImagemButton';

function App() {
return (
<div className="App">
<div className="page-section-container">
<h2>Dados pessoais</h2>
<CardGrande
imagem="https://uploads-ssl.webflow.com/5d640f4558306be99cf47a0e/5dd57846babb597b77c6bb1d_PerfilFuture4_cor.png"
nome="pedro"
descricao="Oi, eu sou o Pedro vinicius carvalho gomes nascimento. Sou aluno da Labenu. Estou Me tornando um DevJR"
/>

<ImagemButton
imagem="https://image.flaticon.com/icons/png/512/117/117472.png"
texto="Ver mais"
/>
</div>

<div className="page-section-container">
<h2>Experiências profissionais</h2>
<CardGrande
imagem="https://s3.amazonaws.com/future4.com.br/static/headf4-c492117ca2373dc85ca81bf715b3dc2a.png"
nome="Pedro"
descricao="Se formando para o mercado de trabalho!"
/>

<CardGrande
imagem="https://imagens.canaltech.com.br/empresas/4418.400.jpg"
nome="NASA"
descricao="Apontando defeitos."
/>
</div>

<div className="page-section-container">
<h2>Minhas redes sociais</h2>
<ImagemButton
imagem="https://d2v9ipibika81v.cloudfront.net/uploads/sites/261/2017/01/facebook-logo-3.png"
texto="Facebook"
/>

<ImagemButton
imagem="https://logodownload.org/wp-content/uploads/2014/09/twitter-logo-1-1.png"
texto="Twitter"
/>
</div>
</div>
);
}

export default App;
9 changes: 9 additions & 0 deletions Modulo2/labedin/src/App.test.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import React from 'react';
import { render } from '@testing-library/react';
import App from './App';

test('renders learn react link', () => {
const { getByText } = render(<App />);
const linkElement = getByText(/learn react/i);
expect(linkElement).toBeInTheDocument();
});
11 changes: 11 additions & 0 deletions Modulo2/labedin/src/boiler-plate.code-workspace
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"folders": [
{
"path": "../../Projetos-GitHub"
},
{
"path": ".."
}
],
"settings": {}
}
24 changes: 24 additions & 0 deletions Modulo2/labedin/src/components/CardGrande/CardGrande.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
.bigcard-container {
display: flex;
align-items: center;
border: 1px solid black;
padding: 20px 10px;
margin-bottom: 10px;
height: 200px;
}

.bigcard-container > img {
width: 70px;
margin-right: 10px;
border-radius: 50%;
}

.bigcard-container h4 {
margin-bottom: 15px;
}

.bigcard-container > div {
display: flex;
flex-direction: column;
justify-items: flex-start;
}
16 changes: 16 additions & 0 deletions Modulo2/labedin/src/components/CardGrande/CardGrande.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
import React from 'react';
import './CardGrande.css'

function CardGrande(props) {
return (
<div className="bigcard-container">
<img src={ props.imagem } />
<div>
<h4>{ props.nome }</h4>
<p>{ props.descricao }</p>
</div>
</div>
)
}

export default CardGrande;
14 changes: 14 additions & 0 deletions Modulo2/labedin/src/components/ImagemButton/ImagemButton.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
.image-button-container {
display: flex;
align-items: center;
border: 1px solid black;
border-radius: 50px;
width: 200px;
padding: 15px 30px;
margin: 10px auto;
}

.image-button-container > img {
width: 30px;
margin-right: 10px;
}
14 changes: 14 additions & 0 deletions Modulo2/labedin/src/components/ImagemButton/ImagemButton.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
import React from 'react';
import './ImagemButton.css'

function ImagemButton(props) {
return (
<div className="image-button-container">
<img src={ props.imagem }/>
<p>{ props.texto }</p>
</div>

)
}

export default ImagemButton;
13 changes: 13 additions & 0 deletions Modulo2/labedin/src/index.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
body {
margin: 0;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}

code {
font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',
monospace;
}
17 changes: 17 additions & 0 deletions Modulo2/labedin/src/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
import React from 'react';
import ReactDOM from 'react-dom';
import './index.css';
import App from './App';
import * as serviceWorker from './serviceWorker';

ReactDOM.render(
<React.StrictMode>
<App />
</React.StrictMode>,
document.getElementById('root')
);

// If you want your app to work offline and load faster, you can change
// unregister() to register() below. Note this comes with some pitfalls.
// Learn more about service workers: https://bit.ly/CRA-PWA
serviceWorker.unregister();
7 changes: 7 additions & 0 deletions Modulo2/labedin/src/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading