refactor: Commonize Paragraph
This commit is contained in:
parent
b75b81e402
commit
9a2998b222
@ -1,4 +1,4 @@
|
|||||||
import styled from 'styled-components';
|
import styled from "styled-components";
|
||||||
|
|
||||||
export const Paragraph = styled.p`
|
export const Paragraph = styled.p`
|
||||||
padding-top: 1rem;
|
padding-top: 1rem;
|
@ -1,12 +1,12 @@
|
|||||||
import { Paragraph } from './styles';
|
|
||||||
import { MainContainer } from '../../components/MainContent/styles';
|
import { MainContainer } from '../../components/MainContent/styles';
|
||||||
|
import { Paragraph } from '../../components/Paragraph/styles';
|
||||||
|
|
||||||
export default function About() {
|
export default function About() {
|
||||||
return (
|
return (
|
||||||
<MainContainer>
|
<MainContainer>
|
||||||
<h1>About Me</h1>
|
<h1>About Me</h1>
|
||||||
<Paragraph>
|
<Paragraph>
|
||||||
<span>I'm Giv, a software engineering student interning at a nice company located in Minas Gerais, Brazil!</span>
|
<span>I'm Giv, a software engineering student, interning and studying in Minas Gerais, Brazil!</span>
|
||||||
</Paragraph>
|
</Paragraph>
|
||||||
</MainContainer>
|
</MainContainer>
|
||||||
);
|
);
|
||||||
|
@ -1,7 +1,8 @@
|
|||||||
import { useState } from 'react';
|
import { useState } from 'react';
|
||||||
import { Button, Paragraph, TextArea } from './styles';
|
import { Button, TextArea } from './styles';
|
||||||
import { MainContainer } from '../../components/MainContent/styles';
|
import { MainContainer } from '../../components/MainContent/styles';
|
||||||
import { Send } from 'lucide-react';
|
import { Send } from 'lucide-react';
|
||||||
|
import { Paragraph } from '../../components/Paragraph/styles';
|
||||||
|
|
||||||
export default function Contact() {
|
export default function Contact() {
|
||||||
const emailAddress = import.meta.env.VITE_GIV_EMAIL;
|
const emailAddress = import.meta.env.VITE_GIV_EMAIL;
|
||||||
|
@ -1,10 +1,5 @@
|
|||||||
import styled from 'styled-components';
|
import styled from 'styled-components';
|
||||||
|
|
||||||
export const Paragraph = styled.p`
|
|
||||||
padding-top: 1rem;
|
|
||||||
font-size: 1.25rem;
|
|
||||||
`;
|
|
||||||
|
|
||||||
export const TextArea = styled.textarea`
|
export const TextArea = styled.textarea`
|
||||||
height: 10rem;
|
height: 10rem;
|
||||||
margin-top: 1rem;
|
margin-top: 1rem;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user