mirror of
https://github.com/LukeHagar/website.git
synced 2025-12-09 21:07:46 +00:00
fix: reduce pages
This commit is contained in:
@@ -1,6 +1,13 @@
|
||||
import type { Language } from './code';
|
||||
|
||||
export const versions = ['1.4.x', '1.3.x', '1.2.x', '1.1.x', '1.0.x', '0.15.x'];
|
||||
export const versions = [
|
||||
'1.4.x',
|
||||
'1.3.x',
|
||||
'1.2.x',
|
||||
'1.1.x'
|
||||
// '1.0.x',
|
||||
// '0.15.x'
|
||||
];
|
||||
|
||||
export enum Service {
|
||||
Account = 'account',
|
||||
|
||||
@@ -6,12 +6,12 @@
|
||||
import { Platform, languageMap, versions } from '$lib/utils/references.js';
|
||||
import { Fence } from '$markdoc/nodes/_Module.svelte';
|
||||
|
||||
const handleRefClick = () => {
|
||||
export let data;
|
||||
|
||||
function handleRefClick() {
|
||||
document.querySelector('.aw-references-menu')?.classList.toggle('is-open');
|
||||
document.querySelector('.aw-grid-two-side-navs')?.classList.remove('is-open');
|
||||
};
|
||||
|
||||
export let data;
|
||||
}
|
||||
|
||||
function selectPlatform(event: Event & { currentTarget: EventTarget & HTMLSelectElement }) {
|
||||
const { version, service } = $page.params;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
@use '../abstract' as *;
|
||||
.#{$p}-tag {
|
||||
--p-tag-text-color: var(--aw-color-primary);
|
||||
--p-tag-bg-color: var(--aw-color-greyscale-100);
|
||||
--p-tag-bg-color: var(--aw-color-greyscale-750);
|
||||
|
||||
color: hsl(var(--p-tag-text-color));
|
||||
background-color: hsl(var(--p-tag-bg-color));
|
||||
|
||||
Reference in New Issue
Block a user