-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* ui work * ui work * ui work * CV link * missing pkg * pkg * ui tweaks * tests wip * lastfm ui * lastfm ui * UI work * typog stuff * screen shots and UI work * OH img * update aliases * add date * marketplace img * spacing * mdash * contrast fix * spacing * update cv * ui work * ui work * footer and ui work * UI tweaks * brand colour * summer campaign * about links * render links * fix tests * tests * tests * add ci file * fix tests * lastfm tests * tidy up * add coverage report * comment out data * tests * tests * remove github workflows * ui work * workflow * node version in workflow * delete workflow * update lastfm ui * tests and UI updates * conflicts * comment test * version * build command * remove test * version * element ordering * tests and UI * UI fixes * spacing * fix key * Update index.js * Update index.js * Update global.styles.js * Update layout.js * Update index.styles.js * Update index.js * Update index.js * Update index.js * fix tests * tidy up media queries * font sizing * h3 * Update index.js * Typescript (#19) * init commit * convert icon * fix console err * wip * big rework * rework * tests wip * wip * tests wip * test updates * wip * fix tests * tests * remove test --------- Co-authored-by: Simon Hudson <hellosimonhudson [at] gmail.com> * tidy up * update types * gitignore * version bump --------- Co-authored-by: Simon Hudson <hellosimonhudson+github [at] gmail.com> Co-authored-by: Simon Hudson <hellosimonhudson [at] gmail.com>
- Loading branch information
1 parent
85c5c10
commit 864fa21
Showing
10 changed files
with
59 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,4 +9,4 @@ src/**/*.js | |
src/**/*.jsx | ||
test/**/*.js | ||
test/**/*.jsx | ||
./**/*.tsbuildinfo | ||
**/*.tsbuildinfo |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
type LastFmDataImage = { | ||
size: 'small' | 'medium' | 'large' | 'extralarge'; | ||
'#text': 'small.jpg' | 'medium.jpg' | 'large.jpg' | 'extralarge.jpg'; | ||
}; | ||
|
||
interface ILastFmApiResponseTrack { | ||
artist: { '#text': string }; | ||
image: Array<LastFmDataImage>; | ||
album: { '#text': string }; | ||
name: string; | ||
url: string; | ||
date: { '#text': any }; | ||
} | ||
|
||
export interface ILastFmDisplayData extends ILastFmApiResponseTrack { | ||
relativeTime: string; | ||
isCurrentlyPlaying?: Boolean; | ||
} | ||
|
||
export type LastFmApiResponse = { | ||
recenttracks: { | ||
track: Array<ILastFmApiResponseTrack>; | ||
}; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
type MetadataItem = { | ||
label: 'Made with' | 'Tested with' | 'Built with'; | ||
items: Array<string> | ||
} | ||
|
||
export type DataItem = { | ||
client: string; | ||
date: string; | ||
isArchived?: Boolean | null | undefined, | ||
metadata: Array<MetadataItem>; | ||
omit?: Boolean | ||
slug: string; | ||
text?: string[]; | ||
title: string; | ||
url: string; | ||
} | ||
|
||
type Data = Array<DataItem>; | ||
|
||
export default Data; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.