Добавил lightbox
This commit is contained in:
parent
c64d3bf2d9
commit
05789a0599
10 changed files with 66 additions and 2 deletions
|
|
@ -16,8 +16,17 @@ 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="/assets/css/lightbox.min.css" />
|
||||
<script is:inline src="/assets/js/lightbox-plus-jquery.min.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<slot />
|
||||
</body>
|
||||
</html>
|
||||
|
||||
<style is:global>
|
||||
img.rendered-image {
|
||||
max-height: 300px;
|
||||
}
|
||||
</style>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue