add pfaj-bdebiase showcase
This commit is contained in:
		
							parent
							
								
									c8475952bd
								
							
						
					
					
						commit
						38763aff09
					
				
					 2 changed files with 13 additions and 9 deletions
				
			
		
							
								
								
									
										
											BIN
										
									
								
								public/assets/showcase/pfaj-bdeblase.mp4
									 (Stored with Git LFS)
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								public/assets/showcase/pfaj-bdeblase.mp4
									 (Stored with Git LFS)
										
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| 
						 | 
					@ -3,18 +3,19 @@ import { Icon } from "astro-icon/components";
 | 
				
			||||||
 | 
					
 | 
				
			||||||
const videos = [
 | 
					const videos = [
 | 
				
			||||||
  {
 | 
					  {
 | 
				
			||||||
    author: "outfoxxed",
 | 
					    author: '<a href="https://outfoxxed.me">outfoxxed</a>',
 | 
				
			||||||
    authorlink: "https://outfoxxed.me",
 | 
					 | 
				
			||||||
    path: "/assets/showcase/outfoxxed.mp4",
 | 
					    path: "/assets/showcase/outfoxxed.mp4",
 | 
				
			||||||
  },
 | 
					  },
 | 
				
			||||||
  {
 | 
					  {
 | 
				
			||||||
    author: "flicko",
 | 
					    author: '<a href="https://github.com/pfaj/">pfaj</a> and <a href="https://github.com/bdebiase">bdebiase</a>',
 | 
				
			||||||
    authorlink: "https://github.com/flick0",
 | 
					    path: "/assets/showcase/pfaj-bdeblase.mp4",
 | 
				
			||||||
 | 
					  },
 | 
				
			||||||
 | 
					  {
 | 
				
			||||||
 | 
					    author: '<a href="https://github.com/flick0">flicko</a>',
 | 
				
			||||||
    path: "/assets/showcase/flicko.mp4",
 | 
					    path: "/assets/showcase/flicko.mp4",
 | 
				
			||||||
  },
 | 
					  },
 | 
				
			||||||
  {
 | 
					  {
 | 
				
			||||||
    author: "vaxry",
 | 
					    author: '<a href="https://vaxry.net">vaxry</a>',
 | 
				
			||||||
    authorlink: "https://vaxry.net",
 | 
					 | 
				
			||||||
    path: "/assets/showcase/vaxry.mp4",
 | 
					    path: "/assets/showcase/vaxry.mp4",
 | 
				
			||||||
  },
 | 
					  },
 | 
				
			||||||
];
 | 
					];
 | 
				
			||||||
| 
						 | 
					@ -31,7 +32,7 @@ const videos = [
 | 
				
			||||||
    </div>
 | 
					    </div>
 | 
				
			||||||
  </div>
 | 
					  </div>
 | 
				
			||||||
  <div id="marquee-content" class="marquee-content" data-scroll="0" data-media-index="0">
 | 
					  <div id="marquee-content" class="marquee-content" data-scroll="0" data-media-index="0">
 | 
				
			||||||
    {videos.map(({ author, authorlink, path }, index) => <div class="marquee-item">
 | 
					    {videos.map(({ author, path }, index) => <div class="marquee-item">
 | 
				
			||||||
      <div>
 | 
					      <div>
 | 
				
			||||||
        <video
 | 
					        <video
 | 
				
			||||||
          data-media-index={index}
 | 
					          data-media-index={index}
 | 
				
			||||||
| 
						 | 
					@ -44,7 +45,7 @@ const videos = [
 | 
				
			||||||
        >
 | 
					        >
 | 
				
			||||||
          <source src={path} type="video/mp4"/>
 | 
					          <source src={path} type="video/mp4"/>
 | 
				
			||||||
        </video>
 | 
					        </video>
 | 
				
			||||||
        <p>Configuration by <a href={authorlink}>{author}</a></p>
 | 
					        <p>Configuration by <Fragment set:html={author}/></p>
 | 
				
			||||||
      </div>
 | 
					      </div>
 | 
				
			||||||
    </div>)}
 | 
					    </div>)}
 | 
				
			||||||
  </div>
 | 
					  </div>
 | 
				
			||||||
| 
						 | 
					@ -52,7 +53,7 @@ const videos = [
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<script>
 | 
					<script>
 | 
				
			||||||
  // marquee
 | 
					  // marquee
 | 
				
			||||||
  const dataNum = 2; // last array index
 | 
					  const dataNum = 3; // last array index
 | 
				
			||||||
  const marquee = document.getElementById("marquee-content")!;
 | 
					  const marquee = document.getElementById("marquee-content")!;
 | 
				
			||||||
  marquee.style.setProperty("--scroll", "0")
 | 
					  marquee.style.setProperty("--scroll", "0")
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue