My personal Nuxt 3 website with my Vizrt scripts and articles.
On this website I'm sharing my articles and scripts I made for real tasks. There is also my professional portfolio as a vizrt designer and developer.
Used stack: Nuxt 3, Vue 3, Pinia, Vitest, Vite. All animations I made by myself using After Effects and the Lottie plugin.
All the buttons "Copy code" and "Show source code" work dynamically, they get the code directly from my Github repo and copy the latest version of the code into the clipboard.
Make sure to install the dependencies:
# setup project
yarn install
# serve with hot reload at localhost:3000
yarn dev
yarn test
- Create a new markdown file in
/content/scripts/
- Add a thumbnail image to
public/images/scripts/{script name}/thumbnail.svg
. SVG format is recommended. - Add images to
public/images/scripts/{script name}/
. Where {script-name} is exact same as markdown filename.
Frontmatter sample for a Script:
---
title: 9 part texture
description: Script for stretching texture with saving quality of borders and corners.
category: texture
---
- Create a new markdown file in
/content/articles/
- Add images & files to
public/images/articles/{article-name}/
. Where "{article-name}" is exact same as markdown filename.
Frontmatter sample for an Article:
---
title: "Execution Logic. Part 1"
description: "Creating custom logic for custom vizrt template."
date: 2017-11-12 12:00:00 +0300
tags: vcp vtw
---
Use "date" to control the order articles in the list ;)
List of possible tags:
- artist
- trio
- vcp
- vtw
- multiplay
- excel
To add a new tag just add a new icon in public/images/icons/{tag name}.png
- Create a new markdown file in
/content/projects/
- Add images & files to
public/images/projects/{project-name}/
. Where "{project-name}" is exact same as markdown filename.
Frontmatter sample for a Project:
---
title: 'MuzTV Awards 2019'
description: 'Set of Augment Reality Vizrt graphics for a enormous stadium in Russia.'
date: 2019-06-01 12:00:00 +0100
youtube: https://youtu.be/tFViRnyZ2F4
---
There can be used either youtube
or image
key:
youtube: https://youtu.be/tFViRnyZ2F4
OR
image: zenit-template-16x9.png
About native keys: https://content.nuxtjs.org/guide/writing/markdown#native-parameters
E.g. use draft
key to make script/article/project available only on the developing
environment.
---
draft: true
---
Inline code — just wrap it with single backticks "`Dim s As String`".
Code block should be wrapped by two lines, each is three backticks "```" with the language name.
Recommended languages:
```xml — for Execution logic
```basic — for VizArtist scripts
```r — nice for console commands
But it's possible to use any other languages: https://github.com/shikijs/shiki/blob/main/docs/languages.md
Example:
```basic
Dim i As Integer
```
Set name
param as interface image and default slot as description.
- Image is searched into
public/images/scripts/{script-name}/{image-name}
Sample of using:
::interface-description{image="interface.png"}
### Interface description
Simple plain text
::
Use it for for full-width content, like the "Full-Bleed Layout"
::WideWidthContainer
:media-image{name="snap_flex3_0.png" style="max-width: 45vw"}
:media-image{name="snap_flex5_0.png" style="max-width: 45vw"}
::
Use it for static images (jpg, png, svg).
name="xxx.png"
reflectspublic/images/{current url path}/xxx.png
.
// in template:
<media-image name="xxx.svg" />
// in Markdown file:
:media-image{name="xxx.png"}
How to insert a static image (for components):
img(:src="`/images/icons/facebook.png`" width="32" height="32")
Use it to embed YouTube video by link or video-id.
:media-youtube{url="https://youtu.be/fEwqgMe_xX8"}
:media-youtube{url="https://www.youtube.com/watch?v=fEwqgMe_xX8"}
:media-youtube{url="fEwqgMe_xX8"}
Use it to render beautiful button to download a file.
File.via
for {script} should be stored inpublic/images/scripts/{script name}/File.via
File.via
for {article} article should be stored inpublic/images/articles/{article name}/File.via
Example for a markdown file:
:media-file{name="File.via"}
Dmitry Dudin facebook.com/dudintv