Small formatting changes

This commit is contained in:
Neshura 2022-12-18 00:40:52 +01:00
parent d1dc7ceca7
commit 8d41694e0c
No known key found for this signature in database
GPG key ID: ACDF5B6EBECF6B0A
2 changed files with 8 additions and 9 deletions

View file

@ -1,15 +1,14 @@
import PageFooter from './footer' import PageFooter from './footer';
import PageNavbar from './navbar' import PageNavbar from './navbar';
import Script from 'next/script' import Script from 'next/script';
import { Page, Main } from './styles/generic' import { Page, Main } from './styles/generic';
const Layout = ({ children }: { children: React.ReactNode }) => { const Layout = ({ children }: { children: React.ReactNode }) => {
return ( return (
<Page> <Page>
<Script id="matomo_analytics" <Script id="matomo_analytics"
defer src='https://static.cloudflareinsights.com/beacon.min.js' defer src='https://static.cloudflareinsights.com/beacon.min.js'
data-cf-beacon='{"token": "826fc083aa86417890c0ceb3e0a597fa"}'> data-cf-beacon='{"token": "826fc083aa86417890c0ceb3e0a597fa"}'>
</Script> </Script>
<Script id="matomo_analytics"> <Script id="matomo_analytics">
{` {`

View file

@ -164,7 +164,7 @@ const CardContentTitle = ({ content }: { content: Service | Game }) => {
{ {
content.icon ? ( content.icon ? (
<CardContentTitleIcon> <CardContentTitleIcon>
<Image alt="icon" src={content.icon} fill></Image> <Image alt="icon" src={content.icon} fill sizes='10vw'></Image>
</CardContentTitleIcon> </CardContentTitleIcon>
) : (<></>) ) : (<></>)
} }