Добавил lightbox

This commit is contained in:
Artem VV 2023-05-19 21:15:27 +07:00
parent c64d3bf2d9
commit 05789a0599
10 changed files with 66 additions and 2 deletions

View file

@ -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>