mirror of
https://github.com/jorgev259/soc_site-astro.git
synced 2025-06-29 07:57:41 +00:00
Use locale strings for Sidebar content
This commit is contained in:
parent
2dbc27d4f7
commit
eb483b3323
4 changed files with 14 additions and 6 deletions
|
|
@ -1,5 +1,6 @@
|
|||
---
|
||||
import { Image } from 'astro:assets'
|
||||
import * as m from '../paraglide/messages.js'
|
||||
|
||||
import discord from 'img/socials/discord.png'
|
||||
import kofi from 'img/socials/ko-fi-donate-button.png'
|
||||
|
|
@ -14,9 +15,9 @@ const listClass =
|
|||
---
|
||||
|
||||
<div class='w-3/12 max-w-[300px] bg-dark flex flex-col'>
|
||||
<a href='#' class={listClass}>Last Added</a>
|
||||
<a href='#' class={listClass}>Get Lucky</a>
|
||||
<a href='#' class={listClass}>Random Pull</a>
|
||||
<a href='#' class={listClass}>{m.lastAddedSidebar()}</a>
|
||||
<a href='#' class={listClass}>{m.getLucky()}</a>
|
||||
<a href='#' class={listClass}>{m.randomPull()}</a>
|
||||
<div class='px-6 flex flex-col gap-y-3'>
|
||||
<SidebarSection class='flex flex-col gap-y-3'>
|
||||
<div class='flex gap-x-2 justify-center'>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue