home image

This commit is contained in:
taskylizard 2023-10-27 02:34:41 +05:30
parent a46e8c31d7
commit da0ac147eb
No known key found for this signature in database
GPG Key ID: 5CABA3D642DDC497
10 changed files with 37 additions and 41 deletions

View File

@ -2,7 +2,7 @@ name: Update FMHY Retype
on:
workflow_dispatch:
schedule:
- cron: '0 */2 * * *'
- cron: "0 */2 * * *"
jobs:
update:
@ -14,16 +14,16 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Move Files
run: |
cp -r .github/assets/* .
shell: bash
- name: Install Python
uses: actions/setup-python@v4
with:
python-version: '3.10'
python-version: "3.10"
- name: Prepare Files
shell: bash

View File

@ -3,7 +3,7 @@ name: Update Single Page
on:
workflow_dispatch:
schedule:
- cron: '0 */2 * * *'
- cron: "0 */2 * * *"
jobs:
update:
@ -19,7 +19,7 @@ jobs:
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: '3.10'
python-version: "3.10"
- name: Configure Git
run: |

View File

@ -10,5 +10,5 @@
"bracketSpacing": true,
"bracketSameLine": true,
"arrowParens": "always",
"proseWrap": "always",
"proseWrap": "always"
}

View File

@ -27,8 +27,10 @@ export default defineConfig({
search: {
provider: "local",
},
// TODO: add navbar items
nav: [],
nav: [
{ text: "Glossary", link: "https://rentry.org/The-Piracy-Glossary" },
{ text: "Guides", link: "https://rentry.co/fmhy-guides" },
],
sidebar: [
{ text: "Beginners Guide to Piracy", link: "/Beginners-Guide" },
{ text: "Adblocking / Privacy", link: "/AdblockVPNGuide" },

View File

@ -1,17 +1,15 @@
// https://vitepress.dev/guide/custom-theme
import { h } from 'vue'
import type { Theme } from 'vitepress'
import DefaultTheme from 'vitepress/theme'
import './style.css'
import { h } from "vue";
import "uno.css"
import type { Theme } from "vitepress";
import DefaultTheme from "vitepress/theme";
import "./style.css";
export default {
extends: DefaultTheme,
Layout: () => {
return h(DefaultTheme.Layout, null, {
// https://vitepress.dev/guide/extending-default-theme#layout-slots
})
});
},
enhanceApp({ app, router, siteData }) {
// ...
}
} satisfies Theme
},
} satisfies Theme;

View File

@ -43,7 +43,7 @@
* in custom container, badges, etc.
* -------------------------------------------------------------------------- */
:root {
:root {
--vp-c-default-1: var(--vp-c-gray-1);
--vp-c-default-2: var(--vp-c-gray-2);
--vp-c-default-3: var(--vp-c-gray-3);
@ -92,17 +92,9 @@
:root {
--vp-home-hero-name-color: transparent;
--vp-home-hero-name-background: -webkit-linear-gradient(
120deg,
#bd34fe 30%,
#41d1ff
);
--vp-home-hero-name-background: -webkit-linear-gradient(120deg, #c4b5fd 30%, #7bc5e4);
--vp-home-hero-image-background-image: linear-gradient(
-45deg,
#bd34fe 50%,
#47caff 50%
);
--vp-home-hero-image-background-image: linear-gradient(-45deg, #c4b5fd 50%, #47caff 50%);
--vp-home-hero-image-filter: blur(44px);
}
@ -128,12 +120,3 @@
--vp-custom-block-tip-bg: var(--vp-c-brand-soft);
--vp-custom-block-tip-code-bg: var(--vp-c-brand-soft);
}
/**
* Component: Algolia
* -------------------------------------------------------------------------- */
.DocSearch {
--docsearch-primary-color: var(--vp-c-brand-1) !important;
}

View File

@ -6,6 +6,9 @@ hero:
name: "FMHY"
text: "site"
tagline: My great project tagline
image:
src: /test.png
alt: FMHY
actions:
- theme: brand
text: Markdown Examples

View File

@ -3,7 +3,8 @@
"scripts": {
"docs:dev": "vitepress dev",
"docs:build": "vitepress build",
"docs:preview": "vitepress preview"
"docs:preview": "vitepress preview",
"format": "prettier -w ."
},
"dependencies": {
"unocss": "^0.57.1",
@ -11,6 +12,7 @@
"vue": "^3.3.7"
},
"devDependencies": {
"@iconify-json/simple-icons": "^1.1.76",
"prettier": "^3.0.3"
}
}

View File

@ -16,6 +16,9 @@ dependencies:
version: 3.3.7
devDependencies:
'@iconify-json/simple-icons':
specifier: ^1.1.76
version: 1.1.76
prettier:
specifier: ^3.0.3
version: 3.0.3
@ -443,9 +446,14 @@ packages:
dev: false
optional: true
/@iconify-json/simple-icons@1.1.76:
resolution: {integrity: sha512-jZEMvkMfD5tTadFJIOIxKE4cTVXslrktWEiMJV6HaABi9qw02zS7bzrllR1YtGPxzniKkq2UVg/dKS6lliIxVA==}
dependencies:
'@iconify/types': 2.0.0
dev: true
/@iconify/types@2.0.0:
resolution: {integrity: sha512-+wluvCrRhXrhyOmRDJ3q8mux9JkKy5SJ/v8ol2tu4FVjyYvtEzkc/3pK15ET6RKg4b4w4BmTk1+gsCUhf21Ykg==}
dev: false
/@iconify/utils@2.1.11:
resolution: {integrity: sha512-M/w3PkN8zQYXi8N6qK/KhnYMfEbbb6Sk8RZVn8g+Pmmu5ybw177RpsaGwpziyHeUsu4etrexYSWq3rwnIqzYCg==}

BIN
public/test.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 329 KiB