user profile lel
	
		
			
	
		
	
	
		
	
		
			All checks were successful
		
		
	
	
		
			
				
	
				fetch npm modules / f0ck the f0cker (push) Successful in 16s
				
			
		
		
	
	
				
					
				
			
		
			All checks were successful
		
		
	
	fetch npm modules / f0ck the f0cker (push) Successful in 16s
				
			This commit is contained in:
		@@ -14,7 +14,7 @@ export default (router, tpl) => {
 | 
			
		||||
    const user = decodeURIComponent(req.params.user);
 | 
			
		||||
 | 
			
		||||
    const query = await db`
 | 
			
		||||
      select "user".user, user_options.*
 | 
			
		||||
      select "user".user, "user".created_at, user_options.*
 | 
			
		||||
      from user_options
 | 
			
		||||
      left join "user" on "user".id = user_options.user_id
 | 
			
		||||
      where "user".user ilike ${user}
 | 
			
		||||
 
 | 
			
		||||
@@ -1,6 +1,14 @@
 | 
			
		||||
@include(snippets/header)
 | 
			
		||||
<div id="main">
 | 
			
		||||
  <h1>{{ user.user }}</h1>
 | 
			
		||||
  <h1>{{ user.user }}@if(user.avatar) <a href="/{{ user.avatar }}"><img src="/t/{{ user.avatar }}.webp" style="width: 24px" /></a>@endif</h1>
 | 
			
		||||
  <p>ID: {{ user.user_id }}</p>
 | 
			
		||||
  @if('items' in f0cks)
 | 
			
		||||
  <p>{{ f0cks.items.length }} f0ck{{ f0cks.items.length == 1 ? '' : 's' }}</p>
 | 
			
		||||
  @endif
 | 
			
		||||
  @if('items' in favs)
 | 
			
		||||
  <p>{{ favs.items.length }} fav{{ favs.items.length == 1 ? '' : 's' }}</p>
 | 
			
		||||
  @endif
 | 
			
		||||
  <p>Joined: {{ user.created_at }}</p>
 | 
			
		||||
 | 
			
		||||
  <h2>f0cks:</h2>
 | 
			
		||||
  @if('items' in f0cks)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user