File tree Expand file tree Collapse file tree
securing-digital-frontiers/[slug] Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ export default function Alert({ children }: { children: React.ReactNode }) {
22 return (
33 < div className = "alert py-0.5 " >
44 < div className = "text-center text-2xl font-bold mb-2" > ⚠️ Alert:</ div >
5- < div className = "text-justify" > { children } </ div >
5+ < div className = "text-justify text-amber-950 " > { children } </ div >
66 </ div >
77 ) ;
88}
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ export default function Note({ children }: { children: React.ReactNode }) {
22 return (
33 < div className = "note py-0.5 " >
44 < div className = "text-center text-2xl font-bold mb-2" > 📝 Note:</ div >
5- < div className = "text-justify" > { children } </ div >
5+ < div className = "text-justify text-green-900 " > { children } </ div >
66 </ div >
77 ) ;
88}
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ export default function Tip({ children }: { children: React.ReactNode }) {
22 return (
33 < div className = "tip py-0.5 " >
44 < div className = "text-center text-2xl font-bold mb-2" > 💡 Tip:</ div >
5- < div className = "text-justify" > { children } </ div >
5+ < div className = "text-justify text-blue-900 " > { children } </ div >
66 </ div >
77 ) ;
88}
Original file line number Diff line number Diff line change 1+ "use client" ;
2+ import { monthdate } from "@/app/_components/preference/variable" ;
3+
4+ export default function FilenameSuffix ( ) {
5+ const suffix = monthdate ( new Date ( ) ) ;
6+ return (
7+ < >
8+ { `${ suffix } ` }
9+ </ >
10+ ) ;
11+ }
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ // For generating dynamic variables to enhance UI
2+ export function monthdate ( date = new Date ( ) ) {
3+ const pad = ( n : number ) => String ( n ) . padStart ( 2 , '0' ) ;
4+ return `${ pad ( date . getDate ( ) ) } ${ pad ( date . getMonth ( ) + 1 ) } _${ pad ( date . getHours ( ) ) } ${ pad ( date . getMinutes ( ) ) } ` ;
5+ }
Original file line number Diff line number Diff line change @@ -7,8 +7,8 @@ import { generatePageStaticParams } from "@/lib/share/generatePageStaticParams";
77import Container from "@/app/_components/preference/container" ;
88import { PostHeader } from "@/app/_components/post_gen/post-header" ;
99import { PostBody } from "@/app/_components/post_gen/post-body" ;
10- import { FrontierData } from "@/app/_components/preference/data -exporter" ;
11- import { FrontierLeadinData } from "@/app/_components/preference/data -exporter" ;
10+ import { FrontierData } from "@/lib/_data_exporter/data_securingdigitalfrontiers/frontier_data -exporter" ;
11+ import { FrontierLeadinData } from "@/lib/_data_exporter/data_securingdigitalfrontiers/frontier_data -exporter" ;
1212import { ToggleFrame } from "@/app/_components/preference/toggle-frame" ;
1313import { PostListConcise } from "@/app/_components/post_gen/post-list-concise" ;
1414
Original file line number Diff line number Diff line change @@ -7,9 +7,9 @@ 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 { CyberDomainData } from "@/lib/_data_exporter/data_securingdigitalfrontiers/frontier_data -exporter" ;
11+ import { BlueprintBattlefieldData } from "@/lib/_data_exporter/data_securingdigitalfrontiers/frontier_data -exporter" ;
12+ import { CyberThreatsData } from "@/lib/_data_exporter/data_securingdigitalfrontiers/frontier_data -exporter" ;
1313const MDX_FOLDER = "_frontier_post/_frontier" ;
1414
1515type Params = {
Original file line number Diff line number Diff line change @@ -4,4 +4,8 @@ export const Home = "https://tkokhing.github.io";
44export const LOGO_PATH = "/img/logo" ;
55export const REPO_NAME = "" ; // for future expansion use
66export const T_ANI_GIF_URL = `${ LOGO_PATH } /tkokhing.gif` ;
7- export const TKOKHING_LOGO_SVG_URL = `${ LOGO_PATH } /tkokhing.svg` ;
7+ export const TKOKHING_LOGO_SVG_URL = `${ LOGO_PATH } /tkokhing.svg` ;
8+ export const VICTIM1_IP = "10.10.4.6" ;
9+ export const VICTIM1_PORT = "80" ;
10+ export const ATTACKER_IP = "10.4.6.114" ;
11+ export const ATTACKER_PORT = "4444" ;
Original file line number Diff line number Diff line change 88.alert {
99 background-color : # fffbeb ;
1010 border-color : # f59e0b ;
11- color : black ;
11+ color : # 451a03 ;
1212}
1313
1414.note {
1515 background-color : # ecfdf5 ;
1616 border-color : # 10b981 ;
17- color : black ;
17+ color : # 14532d ;
1818}
1919
2020.tip {
2121 background-color : # eff6ff ;
2222 border-color : # 3b82f6 ;
23- color : black ;
23+ color : # 1e3a8a ;
2424}
You can’t perform that action at this time.
0 commit comments