mirror of
https://github.com/skidoodle/albert.lol.git
synced 2025-02-15 06:09:15 +01:00
.prettier
This commit is contained in:
parent
7a5427ffc2
commit
17bf66129a
6 changed files with 22 additions and 17 deletions
3
.vscode/extensions.json
vendored
Normal file
3
.vscode/extensions.json
vendored
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
{
|
||||||
|
"recommendations": ["numso.prettier-standard-vscode"]
|
||||||
|
}
|
|
@ -17,6 +17,7 @@ yarn dev
|
||||||
Create a `.env` file similar to [`.env.example`](https://github.com/skidoodle/albert.lol/blob/master/.env.example).
|
Create a `.env` file similar to [`.env.example`](https://github.com/skidoodle/albert.lol/blob/master/.env.example).
|
||||||
|
|
||||||
### Prerequisites
|
### Prerequisites
|
||||||
|
|
||||||
1. Create an application in the [Spotify Developer Dashboard](https://developer.spotify.com/dashboard/)
|
1. Create an application in the [Spotify Developer Dashboard](https://developer.spotify.com/dashboard/)
|
||||||
- Click on the `Edit settings` button
|
- Click on the `Edit settings` button
|
||||||
- Set the `Redirect URIs` to a convenient location <sup>_(doesn't matter)_</sup>
|
- Set the `Redirect URIs` to a convenient location <sup>_(doesn't matter)_</sup>
|
||||||
|
@ -37,4 +38,5 @@ Create a `.env` file similar to [`.env.example`](https://github.com/skidoodle/al
|
||||||
5. Save `refresh_token` in your `.env` file as well as your `client_id` and `client_secret`.
|
5. Save `refresh_token` in your `.env` file as well as your `client_id` and `client_secret`.
|
||||||
|
|
||||||
## License
|
## License
|
||||||
|
|
||||||
[GPL-3.0](https://github.com/skidoodle/albert.lol/blob/master/license)
|
[GPL-3.0](https://github.com/skidoodle/albert.lol/blob/master/license)
|
||||||
|
|
|
@ -15,7 +15,7 @@ export const MainLayout = () => {
|
||||||
<p className='text-2xl text-gray-600 dark:text-gray-400 mt-2 font-semibold'>
|
<p className='text-2xl text-gray-600 dark:text-gray-400 mt-2 font-semibold'>
|
||||||
{Math.floor(
|
{Math.floor(
|
||||||
(new Date().getTime() - new Date('2004-07-22').getTime()) /
|
(new Date().getTime() - new Date('2004-07-22').getTime()) /
|
||||||
(1000 * 60 * 60 * 24 * 365.25)
|
(1000 * 60 * 60 * 24 * 365.25),
|
||||||
)}
|
)}
|
||||||
-year-old system administrator
|
-year-old system administrator
|
||||||
</p>
|
</p>
|
||||||
|
|
|
@ -10,7 +10,7 @@ const inter = Inter({
|
||||||
variable: '--font-inter',
|
variable: '--font-inter',
|
||||||
});
|
});
|
||||||
|
|
||||||
export default function App({ Component, pageProps }: AppProps) {
|
export default function App ({ Component, pageProps }: AppProps) {
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<Head>
|
<Head>
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import { Html, Head, Main, NextScript } from 'next/document';
|
import { Html, Head, Main, NextScript } from 'next/document';
|
||||||
|
|
||||||
export default function Document() {
|
export default function Document () {
|
||||||
return (
|
return (
|
||||||
<Html lang='en'>
|
<Html lang='en'>
|
||||||
<Head>
|
<Head>
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import { MainLayout } from '@/components/MainLayout';
|
import { MainLayout } from '@/components/MainLayout';
|
||||||
|
|
||||||
export default function Home() {
|
export default function Home () {
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<MainLayout />
|
<MainLayout />
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue