mirror of
https://github.com/TheTaz25/denis.ergin.git
synced 2025-07-06 12:18:50 +00:00
fix(slides): correctly import styles for build-step
This commit is contained in:
parent
e66aac2cbb
commit
bc86ed1584
1 changed files with 4 additions and 4 deletions
|
@ -1,5 +1,8 @@
|
|||
---
|
||||
import { getLangFromUrl } from '../i18n/utils'
|
||||
import 'reveal.js/dist/reveal.css'
|
||||
import 'reveal.js/dist/theme/white.css'
|
||||
import 'reveal.js/plugin/highlight/monokai.css'
|
||||
|
||||
interface Props {
|
||||
title: string;
|
||||
|
@ -18,9 +21,6 @@ const { title } = Astro.props;
|
|||
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
|
||||
<meta name="generator" content={Astro.generator} />
|
||||
<title>{title}</title>
|
||||
<link rel="stylesheet" href="/node_modules/reveal.js/dist/reveal.css" />
|
||||
<link rel="stylesheet" href="/node_modules/reveal.js/dist/theme/white.css" />
|
||||
<link rel="stylesheet" href="/node_modules/reveal.js/plugin/highlight/monokai.css" />
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
@ -43,7 +43,7 @@ const { title } = Astro.props;
|
|||
let deck = new RevealJS({
|
||||
plugins: [Markdown, Highlight, Notes],
|
||||
slideNumber: true,
|
||||
hash: true,
|
||||
hash: true
|
||||
});
|
||||
deck.initialize()
|
||||
.then(() => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue