Skip to content

Commit

Permalink
Alterando o caminhos dos imports
Browse files Browse the repository at this point in the history
  • Loading branch information
MSpilari committed Jan 11, 2024
1 parent 51bfb98 commit 7715070
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions src/components/02_Molecules/TechLogos/index.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { allLogos } from '../../../config/allSkillsLogos'
import { Card } from '../../01_Atoms/Card'
import { allLogos } from '@config/allSkillsLogos'
import { Card } from '@components/01_Atoms/Card'

const TechLogos: React.FC = () => {
return (
Expand Down
10 changes: 4 additions & 6 deletions src/components/03_Organisms/SkillsText/index.tsx
Original file line number Diff line number Diff line change
@@ -1,18 +1,16 @@
import { useLanguage } from '../../../hooks/languageHook'
import { TechLogos } from '../../02_Molecules/TechLogos'
import { useLanguage } from '@hooks/languageHook'
import { TechLogos } from '@components/02_Molecules/TechLogos'

const SkillsText = () => {
const { language } = useLanguage()
return (
<div className='w-full mx-auto z-10 text-white flex flex-col items-center justify-around overflow-y-auto lg:w-full lg:h-full lg:flex-row lg:overflow-hidden lg:bg-[rgba(0,0,0,0.7)]'>
<div className='w-full flex flex-col items-center'>
<h1 className='text-xl font-pushster text-yellow-500 animate-bounce my-3 lg:text-3xl'>
<h1 className='text-xl text-yellow-500 animate-bounce my-3 lg:text-3xl'>
{language.SkillsTitle}
</h1>

<p className='text-lg font-pushster text-center mx-2'>
{language.SkillsInfo}
</p>
<p className='text-lg text-center mx-2'>{language.SkillsInfo}</p>
</div>

<TechLogos />
Expand Down
4 changes: 3 additions & 1 deletion src/hooks/languageHook.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
'use client'

import { useContext } from 'react'
import { LanguageContext } from '../context/language'
import { LanguageContext } from '@context/language'

const useLanguage = () => useContext(LanguageContext)

Expand Down

0 comments on commit 7715070

Please sign in to comment.