Added row nesting and arg/return highlighting for packages, classes and functions. Added noscript page
This commit is contained in:
@@ -1,3 +1,12 @@
|
||||
import { NOSCRIPT } from './app/seo/noscript'
|
||||
|
||||
/** Canonical origin. Also the default for runtimeConfig.public.urlBase; robots.txt and sitemap.xml repeat it. */
|
||||
const SITE = 'https://u34ss-explorer.gimme.pet'
|
||||
const TITLE = 'UE4SS Object Explorer: browse UE4SS object dumps in your browser'
|
||||
const DESCRIPTION =
|
||||
'Free browser-based explorer for UE4SS object dumps. Search, filter and navigate an Unreal Engine ' +
|
||||
"game's classes, functions, parameters and properties. Built for Palworld modding; nothing is uploaded."
|
||||
|
||||
export default defineNuxtConfig({
|
||||
srcDir: 'app/',
|
||||
|
||||
@@ -9,8 +18,40 @@ export default defineNuxtConfig({
|
||||
|
||||
app: {
|
||||
head: {
|
||||
title: 'Object Dump Explorer',
|
||||
htmlAttrs: { lang: 'en' },
|
||||
title: TITLE,
|
||||
meta: [
|
||||
{ name: 'description', content: DESCRIPTION },
|
||||
{ name: 'theme-color', content: '#0f1319' },
|
||||
{ property: 'og:type', content: 'website' },
|
||||
{ property: 'og:site_name', content: 'UE4SS Object Explorer' },
|
||||
{ property: 'og:title', content: TITLE },
|
||||
{ property: 'og:description', content: DESCRIPTION },
|
||||
{ property: 'og:url', content: SITE + '/' },
|
||||
{ name: 'twitter:card', content: 'summary' },
|
||||
],
|
||||
script: [
|
||||
{
|
||||
type: 'application/ld+json',
|
||||
innerHTML: JSON.stringify({
|
||||
'@context': 'https://schema.org',
|
||||
'@type': 'WebApplication',
|
||||
name: 'UE4SS Object Explorer',
|
||||
url: SITE + '/',
|
||||
description: DESCRIPTION,
|
||||
applicationCategory: 'DeveloperApplication',
|
||||
operatingSystem: 'Any (runs in a web browser)',
|
||||
browserRequirements: 'Requires JavaScript',
|
||||
offers: { '@type': 'Offer', price: '0', priceCurrency: 'USD' },
|
||||
}),
|
||||
},
|
||||
],
|
||||
// The app is client-only, so the generated body is otherwise empty.
|
||||
noscript: [{ innerHTML: NOSCRIPT, tagPosition: 'bodyOpen' }],
|
||||
link: [
|
||||
// Shared views are `?dump=…` query strings on the one page; they all
|
||||
// describe the same document as far as an index is concerned.
|
||||
{ rel: 'canonical', href: SITE + '/' },
|
||||
{ rel: 'preconnect', href: 'https://fonts.googleapis.com' },
|
||||
{ rel: 'preconnect', href: 'https://fonts.gstatic.com', crossorigin: '' },
|
||||
{
|
||||
@@ -27,7 +68,7 @@ export default defineNuxtConfig({
|
||||
|
||||
runtimeConfig: {
|
||||
public: {
|
||||
urlBase: 'https://u34ss-explorer.gimme.pet'
|
||||
urlBase: SITE
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user