Projects STRLCPY helsec-1103 Files
🤬
334 lines | UTF-8 | 6 KB

theme: none

Slidev Theme Purplin

Presentation slides for developers

Press Space for next page

layout: intro

<BarBottom /> component



This component displays a bar at the bottom of the slide. The component needs to be added to each slide where we want to display it.

Receives a title prop that is the text displayed on the left.

This component uses slots to add items on the right. Exist an <Item /> component that receives a text prop and uses slots to add the icon/image.

Exist a large list of icon collections available that you can use. These icons are imported automatically by slidev, you don't need to configure anything else to use them.

Slide example

---
layout: intro
---

# Content

<BarBottom  title="Slidev theme purplin">
  <Item text="slidevjs/slidev">
    <carbon:logo-github />
  </Item>
  <Item text="Slidevjs">
    <carbon:logo-twitter />
  </Item>
  <Item text="sli.dev">
    <carbon:link />
  </Item>
</BarBottom>

layout: intro

<BarBottom /> with custom icons/images



You can use your own icons/images if you want.

Only need to add an <Item /> component and use slots features.

Also, you can use Windi CSS to add style to the icon, for example, adjust the width o height.

Slide example

---
layout: intro
---

# Content

<BarBottom  title="Slidev theme purplin">
  <Item text="slidevjs/slidev">
    <carbon:logo-github />
  </Item>
  <Item text="Slidevjs">
    <carbon:logo-twitter />
  </Item>
  <Item text="sli.dev">
    <img
      src="https://d33wubrfki0l68.cloudfront.net/273aa82ec83b3e4357492a201fb68048af1c3e6a/8f657/logo.svg"
      class="w-4"
    />
  </Item>
</BarBottom>

layout: image-x image: 'https://user-images.githubusercontent.com/13499566/138951075-018e65d5-b5fe-4200-9ea7-34315b1764da.jpg' imageOrder: 1

layout: image-x

imageOrder: 1

image 600x600


layout: image-x image: 'https://user-images.githubusercontent.com/13499566/138950866-7d2addb2-fe3f-41f5-aab6-d35688516612.jpg' imageOrder: 2

layout: image-x

imageOrder: 2

image 1080x1920


layout: quote position: center

"layout: quote"

position: center

'position' variants: left (default), center, right


What is Slidev?

Slidev is a slides maker and presenter designed for developers, consist of the following features

  • ๐Ÿ“ Text-based - focus on the content with Markdown, and then style them later
  • ๐ŸŽจ Themable - theme can be shared and used with npm packages
  • ๐Ÿง‘โ€๐Ÿ’ป Developer Friendly - code highlighting, live coding with autocompletion
  • ๐Ÿคน Interactive - embedding Vue components to enhance your expressions
  • ๐ŸŽฅ Recording - built-in recording and camera view
  • ๐Ÿ“ค Portable - export into PDF, PNGs, or even a hostable SPA
  • ๐Ÿ›  Hackable - anything possible on a webpage


Read more about Why Slidev?


Navigation

Hover on the bottom-left corner to see the navigation's controls panel

Keyboard Shortcuts

space / tab / rightnext animation or slide
leftprevious animation or slide
upprevious slide
downnext slide

layout: image-right image: 'https://user-images.githubusercontent.com/13499566/138950614-52ec045b-aa93-4d52-91df-b782cc9c7143.jpg'

Code

Use code snippets and get the highlighting directly!

interface User {
  id: number
  firstName: string
  lastName: string
  role: string
}

function updateUser(id: number, update: Partial<User>) {
  const user = getUser(id)
  const newUser = {...user, ...update}  
  saveUser(id, newUser)
}

layout: center class: "text-center"

Learn More

Documentations / GitHub Repo

Please wait...
Page is in error, reload to recover