File tree Expand file tree Collapse file tree 8 files changed +17
-45
lines changed
heptagoning/kill-chain/recon/[slug]
topics/AtoZ/terrified-by-linux/[slug] Expand file tree Collapse file tree 8 files changed +17
-45
lines changed Original file line number Diff line number Diff line change 3030 id : move_heptagoning_kill-chain
3131 run : |
3232 mkdir -p _heptagoning/_kill-chain
33- mv ./temp_heptagoning/_kill-chain/*.mdx ./_heptagoning/_kill-chain
33+ mv ./temp_heptagoning/* ./_heptagoning
3434 rm -rf ./temp_heptagoning
3535 - name : Checkout [tkokhing_lib] private repo
3636 uses : actions/checkout@v4
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ src/lib/README.md
2121# next.js
2222/.next /
2323/out /
24- /dist /
24+ /dist
2525
2626# project
2727tkokhing.github.io.code-workspace
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ export default function PostBodyClient({ children }: { children: React.ReactNode
77
88 return (
99 < div className = {
10- `mx-auto prose prose-${ fontSize }
10+ `mx-auto prose prose-${ fontSize } prose
1111 prose-headings:text-zinc-800 dark:prose-headings:text-slate-400
1212 prose-a:text-blue-800 dark:prose-a:text-blue-300
1313 prose-p:text-zinc-700 dark:prose-p:text-zinc-300
@@ -16,7 +16,11 @@ export default function PostBodyClient({ children }: { children: React.ReactNode
1616 prose-em:text-sky-900 dark:prose-em:text-violet-100
1717 prose-em:font-extrabold
1818 prose-ul:text-gray-600 dark:prose-ul:text-slate-300
19- prose-table:text-zinc-700 dark:prose-table:text-zinc-300
19+ prose-table:text-zinc-700 dark:prose-table:text-zinc-300
20+ prose-code:before:content-[''] prose-code:after:content-['']
21+ prose-code:bg-gray-800 prose-code:text-tkokhing-dark
22+ prose-code:rounded prose-code:px-1 prose-code:py-0.5
23+ prose-code:font-thin prose-code:inline-block prose-code:leading-loose
2024 ` } >
2125 { children }
2226 </ div >
Original file line number Diff line number Diff line change @@ -12,8 +12,6 @@ import zhCyberThreatsData from '@/lib/_data_exporter/data_securingdigitalfrontie
1212import enBlueprintBattlefieldDataData from '@/lib/_data_exporter/data_securingdigitalfrontiers/blueprint_to_battlefield_en.mdx' ;
1313import zhBlueprintBattlefieldDataData from '@/lib/_data_exporter/data_securingdigitalfrontiers/blueprint_to_battlefield_zh.mdx' ;
1414
15- import nmap_difference from '@/../../../../6_oscp/pen200/OSCP_Battle_Plan/1_Enumeration/1_1_nmap/nmap_diff_types.md'
16-
1715import DisplayLanguageContent from '@/app/_components/language_handler/language-display' ;
1816
1917export const FrontierData = ( ) => {
Original file line number Diff line number Diff line change @@ -7,9 +7,11 @@ import { PostBody } from "@/app/_components/post_gen/post-body";
77import { getPostBySlug } from "@/lib/share/api" ;
88import { generatePageMetadata } from "@/lib/share/generatePageMetadata" ;
99import { generatePageStaticParams } from "@/lib/share/generatePageStaticParams" ;
10- import { CyberDomainData } from "@/app/_components/preference/data-exporter" ;
11- import { BlueprintBattlefieldData } from "@/app/_components/preference/data-exporter" ;
12- import { CyberThreatsData } from "@/app/_components/preference/data-exporter" ;
10+ import { NMAP_Overview } from "@/lib/_data_exporter/data_kiil-chain/kill-chain_exporter" ;
11+ import Alert from "@/app/_components/blog_frame/alert" ;
12+ import Note from "@/app/_components/blog_frame/note" ;
13+ import Tip from "@/app/_components/blog_frame/tip" ;
14+
1315const MDX_FOLDER = "_heptagoning/_kill-chain" ;
1416
1517type Params = {
@@ -21,9 +23,10 @@ type Params = {
2123export default async function Post ( props : Params ) {
2224 const params = await props . params ;
2325 const ImportComponents = {
24- CyberDomainData,
25- CyberThreatsData,
26- BlueprintBattlefieldData,
26+ Tip,
27+ Note,
28+ Alert,
29+ NMAP_Overview,
2730 } ;
2831 const post = getPostBySlug ( params . slug , MDX_FOLDER ) ;
2932 if ( ! post || post . subPath != 'heptagoning/kill-chain/recon' ) return notFound ( ) ;
Original file line number Diff line number Diff line change @@ -11,7 +11,6 @@ import { generatePageStaticParams } from "@/lib/share/generatePageStaticParams";
1111import Alert from "@/app/_components/blog_frame/alert" ;
1212import Note from "@/app/_components/blog_frame/note" ;
1313import Tip from "@/app/_components/blog_frame/tip" ;
14- import CodeLine from "@/app/_components/blog_frame/codeline" ;
1514
1615const MDX_FOLDER = "_linux_post/_linux/" ;
1716
@@ -27,7 +26,6 @@ export default async function Post(props: Params) {
2726 Tip,
2827 Note,
2928 Alert,
30- CodeLine,
3129 } ;
3230 const post = getPostBySlug ( params . slug , MDX_FOLDER ) ;
3331 if ( ! post || post . subPath != 'topics/AtoZ/terrified-by-linux' ) return notFound ( ) ;
Original file line number Diff line number Diff line change 2222 border-color : # 3b82f6 ;
2323 color : black;
2424}
25-
26- .codeline {
27- background-color : # 082f49 ;
28- color : # e5e7eb ;
29- font-family : monospace;
30- border-radius : 0.375rem ;
31- padding : 0.3rem ;
32- font-size : 0.775rem ;
33- line-height : 1rem ;
34- display : inline-block;
35- }
36-
37- .prose pre code {
38- background-color : # 082f49 ;
39- color : # e5e7eb ;
40- font-family : monospace;
41- border-radius : 0.375rem ;
42- padding : 1rem ;
43- display : block;
44- overflow-x : auto;
45- }
46-
47- .prose pre {
48- background-color : transparent;
49- padding : 0 ;
50- margin : 1em 0 ;
51- }
52-
You can’t perform that action at this time.
0 commit comments