Skip to content

Commit

Permalink
🚀 Little responsiviness adjusts
Browse files Browse the repository at this point in the history
  • Loading branch information
guibrbs committed Jun 3, 2022
1 parent 424f147 commit 9211ddc
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion components/Banner/Layout.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { UnderlineLayout } from "../UnderlineLayout"

const Layout = ({ children, homepage }) => (
<div className="flex h-full max-h-max w-full justify-center">
<section className={`mt-32 flex w-full max-w-customWidth flex-col items-center relative max-sm:mt-24 max-sm:px-4 ${
<section className={`mt-32 flex w-full max-w-customWidth flex-col items-center relative max-sm:mt-28 max-sm:px-4 ${
homepage ? 'after:content-[""] after:w-full after:h-px after:bg-light-700 after:dark:bg-dark-100 after:absolute after:-bottom-16'
: ''
}`}>
Expand Down
8 changes: 4 additions & 4 deletions components/MainContent/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@ export function MainContent( { setIsToForm } ){
}, 2000)
}
return(
<div className='flex w-full h-full justify-center mt-36 max-sm:mt-24'>
<div className='flex w-full h-full justify-center mt-32 max-sm:mt-24'>
<section className='w-full max-w-customWidth h-full max-h-max flex flex-1 justify-center space-x-12 relative after:absolute
after:content[""] after:w-full after:h-px after:bg-light-700 dark:after:bg-dark-100 after:-bottom-16 max-sm:space-x-0 max-sm:px-10'>
<Avatar/>
<div className='w-full max-w-txtWidth max-sm:max-w-[350px]'>
<p className='text-[2.9rem] leading-[2.9rem] font-bold max-sm:text-[30px] max-sm:leading-[30px]'>Guilherme Ferreira</p>
<p className='text-2xl font-light dark:text-textLight-600 max-sm:text-[15px] max-sm:leading-[17px]'>
<p className='text-[2.9rem] leading-[2.9rem] font-bold max-sm:text-[30px] max-sm:leading-[30px] max-sm:text-center'>Guilherme Ferreira</p>
<p className='text-2xl font-light dark:text-textLight-600 max-sm:text-[15px] max-sm:leading-[17px] max-sm:text-center'>
Web &amp; Mobile Developer (Fullstack)
</p>
<p className='w-full font-light text-2xl mt-6 dark:text-textLight-600 text-dark-500 leading-7 max-sm:text-xl max-sm:leading-6
Expand All @@ -30,7 +30,7 @@ export function MainContent( { setIsToForm } ){
</p>
<div className='flex mt-7 items-center space-x-3 max-sm:mt-4'>
<button className='w-52 h-12 dark:bg-textLight-500 bg-dark-500 dark:text-dark-500 text-textLight-500
font-bold text-xl rounded-lg hover:brightness-110 transition-all'
font-bold text-xl rounded-lg hover:brightness-110 transition-all max-sm:text-lg'
onClick={handleForm}>
Entre em contato
</button>
Expand Down
2 changes: 1 addition & 1 deletion tailwind.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ module.exports = {
darkMode: 'class',
theme: {
screens: {
'max-sm': {'max': '450px'},
'max-sm': {'max': '710px'},
'max-md': {'max': '820px'}
},
extend: {
Expand Down

1 comment on commit 9211ddc

@vercel
Copy link

@vercel vercel bot commented on 9211ddc Jun 3, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

guilherme-ferreira – ./

guilherme-ferreira.vercel.app
guilherme-ferreira-guibrbs.vercel.app
guilherme-ferreira-git-main-guibrbs.vercel.app

Please sign in to comment.