Add youtube presentation
This commit is contained in:
parent
e30940ccce
commit
ad5e8bbb14
4 changed files with 11 additions and 3 deletions
3
.vscode/settings.json
vendored
3
.vscode/settings.json
vendored
|
|
@ -21,6 +21,7 @@
|
||||||
"utilised",
|
"utilised",
|
||||||
"utilising",
|
"utilising",
|
||||||
"webm",
|
"webm",
|
||||||
"webp"
|
"webp",
|
||||||
|
"youtube"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
@ -2,7 +2,7 @@ import sdf2dJpeg from '../static/media/sdf2d.png?format=jpg';
|
||||||
import sdf2dWebP from '../static/media/sdf2d.png?format=webp';
|
import sdf2dWebP from '../static/media/sdf2d.png?format=webp';
|
||||||
|
|
||||||
import { Preview } from '../page/basics/preview/preview';
|
import { Preview } from '../page/basics/preview/preview';
|
||||||
import { GitHub, Open, NPM } from './shared';
|
import { Open, NPM, Youtube } from './shared';
|
||||||
|
|
||||||
export const sdf2dTimelineElement = {
|
export const sdf2dTimelineElement = {
|
||||||
title: `2D ray tracing`,
|
title: `2D ray tracing`,
|
||||||
|
|
@ -34,8 +34,8 @@ export const sdf2dTimelineElement = {
|
||||||
`,
|
`,
|
||||||
],
|
],
|
||||||
links: [
|
links: [
|
||||||
new GitHub('https://github.com/schmelczerandras/sdf-2d'),
|
|
||||||
new NPM('https://www.npmjs.com/package/sdf-2d'),
|
new NPM('https://www.npmjs.com/package/sdf-2d'),
|
||||||
|
new Youtube('https://www.youtube.com/watch?v=K3cEtnZUNR0'),
|
||||||
new Open('https://sdf2d.schmelczer.dev'),
|
new Open('https://sdf2d.schmelczer.dev'),
|
||||||
],
|
],
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -4,8 +4,10 @@ import githubIcon from '../static/icons/github.svg';
|
||||||
import openIcon from '../static/icons/open.svg';
|
import openIcon from '../static/icons/open.svg';
|
||||||
import cvIcon from '../static/icons/cv.svg';
|
import cvIcon from '../static/icons/cv.svg';
|
||||||
import packageIcon from '../static/icons/package.svg';
|
import packageIcon from '../static/icons/package.svg';
|
||||||
|
import youtubeIcon from '../static/icons/youtube.svg';
|
||||||
|
|
||||||
export const GitHub = ImageAnchorFactory(githubIcon, 'Open on GitHub');
|
export const GitHub = ImageAnchorFactory(githubIcon, 'Open on GitHub');
|
||||||
export const NPM = ImageAnchorFactory(packageIcon, 'Open on npm');
|
export const NPM = ImageAnchorFactory(packageIcon, 'Open on npm');
|
||||||
export const Open = ImageAnchorFactory(openIcon, 'Open in new tab');
|
export const Open = ImageAnchorFactory(openIcon, 'Open in new tab');
|
||||||
export const Thesis = ImageAnchorFactory(cvIcon, 'Download thesis');
|
export const Thesis = ImageAnchorFactory(cvIcon, 'Download thesis');
|
||||||
|
export const Youtube = ImageAnchorFactory(youtubeIcon, 'Open on YouTube');
|
||||||
|
|
|
||||||
5
src/static/icons/youtube.svg
Normal file
5
src/static/icons/youtube.svg
Normal file
|
|
@ -0,0 +1,5 @@
|
||||||
|
<svg xmlns="http://www.w3.org/2000/svg" width="60" height="60" viewBox="0 0 24 24" fill="none" stroke-linecap="round" stroke-linejoin="round">
|
||||||
|
<path stroke="none" d="M0 0h24v24H0z" fill="none"/>
|
||||||
|
<rect x="3" y="5" width="18" height="14" rx="4" />
|
||||||
|
<path d="M10 9l5 3l-5 3z" />
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 287 B |
Loading…
Add table
Add a link
Reference in a new issue