✨ gallery is now live
Signed-off-by: Sindre Kjelsrud <kjelsrudsindre@gmail.com>
This commit is contained in:
		
							parent
							
								
									38eaa18321
								
							
						
					
					
						commit
						c97a4b807d
					
				
					 5 changed files with 59 additions and 1 deletions
				
			
		
							
								
								
									
										16
									
								
								src/layouts/Gallery.astro
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										16
									
								
								src/layouts/Gallery.astro
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1,16 @@
 | 
				
			||||||
 | 
					---
 | 
				
			||||||
 | 
					import SectionContainer from '../components/SectionContainer.astro';
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					const {frontmatter} = Astro.props;
 | 
				
			||||||
 | 
					---
 | 
				
			||||||
 | 
					<SectionContainer>
 | 
				
			||||||
 | 
						<main class="flex flex-col flex-1 mb-auto break-words mt-4">
 | 
				
			||||||
 | 
							<article>
 | 
				
			||||||
 | 
								<h1 class="text-3xl font-extrabold">{frontmatter.title}</h1>
 | 
				
			||||||
 | 
								<p class="italic mb-4">{frontmatter.description}</p>
 | 
				
			||||||
 | 
								<div class="gallery">
 | 
				
			||||||
 | 
									<slot />
 | 
				
			||||||
 | 
								</div>
 | 
				
			||||||
 | 
							</article>
 | 
				
			||||||
 | 
						</main>
 | 
				
			||||||
 | 
					</SectionContainer>
 | 
				
			||||||
							
								
								
									
										19
									
								
								src/pages/gallery/cairns.md
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										19
									
								
								src/pages/gallery/cairns.md
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1,19 @@
 | 
				
			||||||
 | 
					---
 | 
				
			||||||
 | 
					title: 'gallery: cairn collection'
 | 
				
			||||||
 | 
					description: ''
 | 
				
			||||||
 | 
					layout: "../../layouts/Gallery.astro"
 | 
				
			||||||
 | 
					---
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					[](/public/img/varder/varde140623.webp)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					[](/public/img/varder/varde290723.webp)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					[](/public/img/varder/varde060823.webp)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					[](/public/img/varder/varde060923.webp)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					[](/public/img/varder/varde191023.webp)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					[](/public/img/varder/varde071123.webp)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					[](/public/img/varder/varde271223.webp)
 | 
				
			||||||
							
								
								
									
										11
									
								
								src/pages/gallery/index.md
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										11
									
								
								src/pages/gallery/index.md
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1,11 @@
 | 
				
			||||||
 | 
					---
 | 
				
			||||||
 | 
					title: 'gallery'
 | 
				
			||||||
 | 
					description: ''
 | 
				
			||||||
 | 
					layout: "../../layouts/Layout.astro"
 | 
				
			||||||
 | 
					---
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					Under you'll see different pages where I collect and showcase some of my photographs. They're either grouped by capture date, location or theme.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					This way you can check out moments and places of my life, but keep in mind I'm no photographer lol. These are just my memories and a way to replace Instagram.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					- [**my cairn collection**](/gallery/cairns)
 | 
				
			||||||
| 
						 | 
					@ -12,7 +12,7 @@ layout: "../layouts/Layout.astro"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
[🌱 **digital garden**](/garden) · wild garden, filled with drafts, ideas and more
 | 
					[🌱 **digital garden**](/garden) · wild garden, filled with drafts, ideas and more
 | 
				
			||||||
 | 
					
 | 
				
			||||||
[📸 **gallery** (under construction)](/) · moments and places of my life, in pictures
 | 
					[📸 **gallery**](/gallery) · moments and places of my life, in pictures
 | 
				
			||||||
 | 
					
 | 
				
			||||||
[📚 **logs**](/logs) · logs for movies, series, anime, books, manga et-cetera
 | 
					[📚 **logs**](/logs) · logs for movies, series, anime, books, manga et-cetera
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -125,6 +125,18 @@ p {
 | 
				
			||||||
	border-color: var(--dark-3);
 | 
						border-color: var(--dark-3);
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					/* GALLERY */
 | 
				
			||||||
 | 
					.gallery {
 | 
				
			||||||
 | 
						display: flex;
 | 
				
			||||||
 | 
						flex-direction: column;
 | 
				
			||||||
 | 
						justify-content: center;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					.gallery img {
 | 
				
			||||||
 | 
						border: 15px solid white;
 | 
				
			||||||
 | 
						margin-bottom: 100px;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/* RANDOM */
 | 
					/* RANDOM */
 | 
				
			||||||
code {
 | 
					code {
 | 
				
			||||||
	display: block;
 | 
						display: block;
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue