mirror of
https://github.com/skidoodle/albert.lol.git
synced 2025-02-15 06:09:15 +01:00
🔥
This commit is contained in:
parent
1a2aa9f678
commit
2d726ddfe3
6 changed files with 115 additions and 2013 deletions
|
@ -5,6 +5,8 @@ import styles from 'styles/Home.module.scss'
|
||||||
|
|
||||||
const now = () => dayjs().tz()
|
const now = () => dayjs().tz()
|
||||||
|
|
||||||
|
const format = 'hhA'
|
||||||
|
|
||||||
const Time = () => {
|
const Time = () => {
|
||||||
const [date, setDate] = useState(now())
|
const [date, setDate] = useState(now())
|
||||||
|
|
||||||
|
|
17
package.json
17
package.json
|
@ -6,17 +6,18 @@
|
||||||
"dev": "next dev",
|
"dev": "next dev",
|
||||||
"build": "next build",
|
"build": "next build",
|
||||||
"start": "next start",
|
"start": "next start",
|
||||||
"lint": "next lint"
|
"lint": "next lint",
|
||||||
|
"buildexport": "next build && next export"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@swc/core": "^1.2.160",
|
"@swc/core": "^1.2.171",
|
||||||
"copy-to-clipboard": "^3.3.1",
|
"copy-to-clipboard": "^3.3.1",
|
||||||
"csstype": "^3.0.10",
|
"csstype": "^3.0.10",
|
||||||
"dayjs": "^1.11.1",
|
"dayjs": "^1.11.1",
|
||||||
"goober": "2.1.8",
|
"goober": "2.1.8",
|
||||||
"next": "12.1.2",
|
"next": "12.1.5",
|
||||||
"react": "17.0.2",
|
"react": "^18.0.0",
|
||||||
"react-dom": "17.0.2",
|
"react-dom": "^18.0.0",
|
||||||
"react-fade-in": "^2.0.1",
|
"react-fade-in": "^2.0.1",
|
||||||
"react-hot-toast": "^2.2.0",
|
"react-hot-toast": "^2.2.0",
|
||||||
"react-icons": "^4.3.1",
|
"react-icons": "^4.3.1",
|
||||||
|
@ -24,9 +25,9 @@
|
||||||
"use-last-fm": "^0.6.1"
|
"use-last-fm": "^0.6.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/node": "17.0.23",
|
"@types/node": "17.0.26",
|
||||||
"@types/react": "17.0.43",
|
"@types/react": "^18.0.7",
|
||||||
"@types/react-dom": "17.0.14",
|
"@types/react-dom": "^18.0.0",
|
||||||
"eslint": "8.12.0",
|
"eslint": "8.12.0",
|
||||||
"eslint-config-next": "12.1.1",
|
"eslint-config-next": "12.1.1",
|
||||||
"typescript": "4.6.3"
|
"typescript": "4.6.3"
|
||||||
|
|
|
@ -1,11 +1,7 @@
|
||||||
import { AppProps } from 'next/app'
|
import { AppProps } from 'next/app'
|
||||||
import Head from 'next/head'
|
|
||||||
import 'styles/globals.scss'
|
import 'styles/globals.scss'
|
||||||
|
|
||||||
const MyApp = ({ Component, pageProps }: AppProps) => {
|
const MyApp = ({ Component, pageProps }: AppProps) => {
|
||||||
<Head>
|
|
||||||
<title>albert</title>
|
|
||||||
</Head>
|
|
||||||
return <Component {...pageProps} />
|
return <Component {...pageProps} />
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
import { GetServerSideProps } from 'next'
|
import { GetServerSideProps } from 'next'
|
||||||
|
import Head from 'next/head'
|
||||||
import FadeIn from 'react-fade-in'
|
import FadeIn from 'react-fade-in'
|
||||||
import Body from 'components/Body'
|
import Body from 'components/Body'
|
||||||
import Icon from 'components/Icon'
|
import Icon from 'components/Icon'
|
||||||
|
@ -17,6 +18,9 @@ const Time = dynamic(() => import('components/Time'), {
|
||||||
const Home = ({data}: any) => {
|
const Home = ({data}: any) => {
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
|
<Head>
|
||||||
|
<title>albert</title>
|
||||||
|
</Head>
|
||||||
<Body>
|
<Body>
|
||||||
<FadeIn>
|
<FadeIn>
|
||||||
<MainLayout />
|
<MainLayout />
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue