-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #57 from nblackburn/feature/refactor-static-data
Refactor static data
- Loading branch information
Showing
8 changed files
with
111 additions
and
91 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
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 |
---|---|---|
|
@@ -13,33 +13,10 @@ | |
</template> | ||
|
||
<script lang="ts"> | ||
import { defineComponent } from 'vue'; | ||
import * as styles from './socialLinks.css'; | ||
import NavLink from '@components/navLink.vue'; | ||
import { defineComponent } from 'vue'; | ||
const socialLinks = [ | ||
{ id: 'email', name: 'Email', href: 'mailto:[email protected]' }, | ||
{ | ||
id: 'github', | ||
name: 'GitHub', | ||
href: 'https://github.com/nblackburn' | ||
}, | ||
{ | ||
id: 'dribbble', | ||
name: 'Dribbble', | ||
href: 'https://dribbble.com/nblackburn' | ||
}, | ||
{ | ||
id: 'soundcloud', | ||
name: 'Soundcloud', | ||
href: 'https://soundcloud.com/nblackburn' | ||
}, | ||
{ | ||
id: 'twitter', | ||
name: 'Twitter', | ||
href: 'https://twitter.com/imnblackburn' | ||
} | ||
]; | ||
import { socialLinks } from '@config/socialLinks'; | ||
export default defineComponent({ | ||
components: { | ||
|
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,11 @@ | ||
export type NavItem = { | ||
id: string; | ||
title: string; | ||
href: string; | ||
}; | ||
|
||
export const nav: NavItem[] = [ | ||
{ id: 'home', title: 'Home', href: '/' }, | ||
{ id: 'projects', title: 'Projects', href: '/projects' }, | ||
{ id: 'about', title: 'About', href: '/about' } | ||
]; |
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,29 @@ | ||
export type SocialLink = { | ||
id: string; | ||
name: string; | ||
href: string; | ||
}; | ||
|
||
export const socialLinks: SocialLink[] = [ | ||
{ id: 'email', name: 'Email', href: 'mailto:[email protected]' }, | ||
{ | ||
id: 'github', | ||
name: 'GitHub', | ||
href: 'https://github.com/nblackburn' | ||
}, | ||
{ | ||
id: 'dribbble', | ||
name: 'Dribbble', | ||
href: 'https://dribbble.com/nblackburn' | ||
}, | ||
{ | ||
id: 'soundcloud', | ||
name: 'Soundcloud', | ||
href: 'https://soundcloud.com/nblackburn' | ||
}, | ||
{ | ||
id: 'twitter', | ||
name: 'Twitter', | ||
href: 'https://twitter.com/imnblackburn' | ||
} | ||
]; |
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,62 @@ | ||
export enum StackType { | ||
MUSIC = 'music', | ||
TOOLS = 'tools', | ||
DESIGN = 'design', | ||
DEVELOPMENT = 'development' | ||
} | ||
|
||
export type StackItem = { | ||
title: string; | ||
href: string; | ||
type: string; | ||
}; | ||
|
||
export const stackGroups = [ | ||
{ id: StackType.MUSIC, name: 'Music' }, | ||
{ id: StackType.DEVELOPMENT, name: 'Development' }, | ||
{ id: StackType.DESIGN, name: 'Design' }, | ||
{ id: StackType.TOOLS, name: 'Tools' } | ||
]; | ||
|
||
export const stack: StackItem[] = [ | ||
{ | ||
title: 'Auturia Keylab 61 Essential', | ||
href: 'https://www.arturia.com/products/hybrid-synths/keylab-essential/overview', | ||
type: StackType.MUSIC | ||
}, | ||
{ | ||
title: 'Bitwig Studio', | ||
href: 'https://bitwig.com', | ||
type: StackType.MUSIC | ||
}, | ||
{ | ||
title: 'Visual Studio Code', | ||
href: 'https://code.visualstudio.com', | ||
type: StackType.DEVELOPMENT | ||
}, | ||
{ | ||
title: 'Fork', | ||
href: 'https://git-fork.com', | ||
type: StackType.DEVELOPMENT | ||
}, | ||
{ | ||
title: 'Affinity Designer', | ||
href: 'https://affinity.serif.com', | ||
type: StackType.DESIGN | ||
}, | ||
{ | ||
title: 'Figma', | ||
href: 'https://figma.com', | ||
type: StackType.DESIGN | ||
}, | ||
{ | ||
title: 'Notion', | ||
href: 'https://notion.so', | ||
type: StackType.TOOLS | ||
}, | ||
{ | ||
title: '1Password', | ||
href: 'https://1password.com', | ||
type: StackType.TOOLS | ||
} | ||
]; |
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