mirror of
https://github.com/skidoodle/albert.lol.git
synced 2025-02-15 06:09:15 +01:00
path and single quotes
This commit is contained in:
parent
abfc3e09b9
commit
a75285d22a
12 changed files with 31 additions and 27 deletions
|
@ -1,4 +1,4 @@
|
|||
import styles from '../styles/Home.module.scss'
|
||||
import styles from '@/styles/Home.module.scss'
|
||||
|
||||
const Body = ({children}: {children: any}) => {
|
||||
return(
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
import styles from '../styles/Home.module.scss'
|
||||
import styles from '@/styles/Home.module.scss'
|
||||
|
||||
const Footer = () => {
|
||||
return(
|
||||
<div className={styles.footerLayout}>
|
||||
<a href='https://cigany.ninja' target="_blank" rel='noopener noreferrer'>?</a>
|
||||
<a href='https://cigany.ninja' target='_blank' rel='noopener noreferrer'>?</a>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
|
|
@ -11,7 +11,7 @@ const Icon = ({icon, reference, copy = false} : {icon: any, reference: any, copy
|
|||
<FontAwesomeIcon icon={icon} />
|
||||
</a>
|
||||
) : (
|
||||
<a href={reference} target='_blank' rel="noopener noreferrer" aria-label="Icon">
|
||||
<a href={reference} target='_blank' rel='noopener noreferrer' aria-label="Icon">
|
||||
<FontAwesomeIcon icon={icon} />
|
||||
</a>
|
||||
)
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import styles from '../styles/Home.module.scss'
|
||||
import styles from '@/styles/Home.module.scss'
|
||||
|
||||
const IconLayout = ({children}: {children: any}) => {
|
||||
return(
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import styles from '../styles/Home.module.scss'
|
||||
import styles from '@/styles/Home.module.scss'
|
||||
|
||||
const MainLayout = () => {
|
||||
return(
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'
|
||||
import { useLastFM } from 'use-last-fm'
|
||||
import styles from '../styles/Home.module.scss'
|
||||
import styles from '@/styles/Home.module.scss'
|
||||
|
||||
const Spotify = () => {
|
||||
const lastFM = useLastFM('albrtadam', 'f6d19bc25ca340225c70c3d386cd4eab');
|
||||
|
@ -10,14 +10,14 @@ const Spotify = () => {
|
|||
{lastFM.status === 'playing'
|
||||
?
|
||||
<>
|
||||
<a href={lastFM.song.url} target='_blank' rel="noopener noreferrer">
|
||||
<img src={lastFM.song.art} width={50} height={50} className={styles.song} alt=""/>
|
||||
<a href={lastFM.song.url} target='_blank' rel='noopener noreferrer'>
|
||||
<img src={lastFM.song.art} width={50} height={50} alt=""/>
|
||||
<p>Listening to <b>{lastFM.song.name}</b></p>
|
||||
</a>
|
||||
</>
|
||||
:
|
||||
<>
|
||||
<img src="https://i.albrt.hu/66e8e4c6.webp" width={50} height={50} className={styles.nosong} alt=""/>
|
||||
<img src='https://i.albrt.hu/66e8e4c6.webp' width={50} height={50} alt=""/>
|
||||
<p>Not listening to anything</p>
|
||||
</>
|
||||
}
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'
|
||||
import { useEffect, useState } from 'react'
|
||||
|
||||
import styles from '../styles/Home.module.scss'
|
||||
import styles from '@/styles/Home.module.scss'
|
||||
|
||||
const Timer = () => {
|
||||
const [date, setDate] = useState(new Date())
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'
|
||||
import styles from '../styles/Home.module.scss'
|
||||
import styles from '@/styles/Home.module.scss'
|
||||
|
||||
const Weather = ({data}: {data: any}) => {
|
||||
const { temp: temperature } = data.main
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue