diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..f8ff2b5 --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +*.mp4 filter=lfs diff=lfs merge=lfs -text diff --git a/src/app.css b/src/app.css index f199fdb..0bd5b39 100644 --- a/src/app.css +++ b/src/app.css @@ -3,98 +3,107 @@ @tailwind utilities; @layer base { - :root { - --background: 0 0% 90%; - --foreground: 222.2 84% 4.9%; + :root { + --background: 0 0% 90%; + --foreground: 222.2 84% 4.9%; - --muted: 210 40% 96.1%; - --muted-foreground: 215.4 16.3% 46.9%; + --muted: 210 40% 96.1%; + --muted-foreground: 215.4 16.3% 46.9%; - --popover: 0 0% 90%; - --popover-foreground: 222.2 84% 4.9%; + --popover: 0 0% 90%; + --popover-foreground: 222.2 84% 4.9%; - --card: 0 0% 90%; - --card-foreground: 222.2 84% 4.9%; + --card: 0 0% 90%; + --card-foreground: 222.2 84% 4.9%; - --border: 214.3 31.8% 91.4%; - --input: 214.3 31.8% 91.4%; + --border: 214.3 31.8% 91.4%; + --input: 214.3 31.8% 91.4%; - --primary: 222.2 47.4% 11.2%; - --primary-foreground: 210 40% 98%; + --primary: 222.2 47.4% 11.2%; + --primary-foreground: 210 40% 98%; - --secondary: 210 26% 86%; - --secondary-foreground: 222.2 47.4% 11.2%; + --secondary: 210 26% 86%; + --secondary-foreground: 222.2 47.4% 11.2%; - --accent: 210 26% 86%; - --accent-light: 210 26% 86%; - --accent-foreground: 222.2 47.4% 11.2%; + --accent: 210 26% 86%; + --accent-light: 210 26% 86%; + --accent-foreground: 222.2 47.4% 11.2%; - --destructive: 0 72.2% 50.6%; - --destructive-foreground: 210 40% 98%; + --destructive: 0 72.2% 50.6%; + --destructive-foreground: 210 40% 98%; - --ring: 222.2 84% 4.9%; + --ring: 222.2 84% 4.9%; - --radius: 0.5rem; + --radius: 0.5rem; - --sidebar-background: 0 0% 98%; - --sidebar-foreground: 240 5.3% 26.1%; - --sidebar-primary: 240 5.9% 10%; - --sidebar-primary-foreground: 0 0% 98%; - --sidebar-accent: 240 4.8% 95.9%; - --sidebar-accent-foreground: 240 5.9% 10%; - --sidebar-border: 220 13% 91%; - --sidebar-ring: 217.2 91.2% 59.8%; - } + --sidebar-background: 0 0% 98%; + --sidebar-foreground: 240 5.3% 26.1%; + --sidebar-primary: 240 5.9% 10%; + --sidebar-primary-foreground: 0 0% 98%; + --sidebar-accent: 240 4.8% 95.9%; + --sidebar-accent-foreground: 240 5.9% 10%; + --sidebar-border: 220 13% 91%; + --sidebar-ring: 217.2 91.2% 59.8%; + } - @media (prefers-color-scheme: dark) { - :root { - --background: 222.2 84% 4.9%; - --foreground: 210 40% 90%; + @media (prefers-color-scheme: dark) { + :root { + --background: 222.2 84% 4.9%; + --foreground: 210 40% 90%; - --muted: 217.2 32.6% 17.5%; - --muted-foreground: 215 20.2% 65.1%; + --muted: 217.2 32.6% 17.5%; + --muted-foreground: 215 20.2% 65.1%; - --popover: 222.2 84% 4.9%; - --popover-foreground: 210 40% 90%; + --popover: 222.2 84% 4.9%; + --popover-foreground: 210 40% 90%; - --card: 222.2 84% 4.9%; - --card-foreground: 210 40% 90%; + --card: 222.2 84% 4.9%; + --card-foreground: 210 40% 90%; - --border: 217.2 32.6% 17.5%; - --input: 217.2 32.6% 17.5%; + --border: 217.2 32.6% 17.5%; + --input: 217.2 32.6% 17.5%; - --primary: 210 40% 90%; - --primary-foreground: 222.2 47.4% 11.2%; + --primary: 210 40% 90%; + --primary-foreground: 222.2 47.4% 11.2%; - --secondary: 217.2 32.6% 17.5%; - --secondary-foreground: 210 40% 90%; + --secondary: 217.2 32.6% 17.5%; + --secondary-foreground: 210 40% 90%; - --accent: 217.2 32.6% 17.5%; - --accent-foreground: 210 40% 90%; + --accent: 217.2 32.6% 17.5%; + --accent-foreground: 210 40% 90%; - --destructive: 0 62.8% 30.6%; - --destructive-foreground: 210 40% 90%; + --destructive: 0 62.8% 30.6%; + --destructive-foreground: 210 40% 90%; - --ring: 212.7 26.8% 83.9%; + --ring: 212.7 26.8% 83.9%; - --sidebar-background: 240 5.9% 10%; - --sidebar-foreground: 240 4.8% 95.9%; - --sidebar-primary: 224.3 76.3% 48%; - --sidebar-primary-foreground: 0 0% 100%; - --sidebar-accent: 240 3.7% 15.9%; - --sidebar-accent-foreground: 240 4.8% 95.9%; - --sidebar-border: 240 3.7% 15.9%; - --sidebar-ring: 217.2 91.2% 59.8%; - } - } + --sidebar-background: 240 5.9% 10%; + --sidebar-foreground: 240 4.8% 95.9%; + --sidebar-primary: 224.3 76.3% 48%; + --sidebar-primary-foreground: 0 0% 100%; + --sidebar-accent: 240 3.7% 15.9%; + --sidebar-accent-foreground: 240 4.8% 95.9%; + --sidebar-border: 240 3.7% 15.9%; + --sidebar-ring: 217.2 91.2% 59.8%; + } + } } @layer base { - * { - @apply border-border; - } + * { + @apply border-border; + } - body { - @apply bg-background text-foreground; - } -} \ No newline at end of file + body { + @apply bg-background text-foreground; + } + + ol > li { + @apply flex; + counter-increment: counterName; + } + ol > li:before { + @apply mr-2; + content: counter(counterName) '.'; + } +} diff --git a/src/app.html b/src/app.html index 6b8b957..55dfccc 100644 --- a/src/app.html +++ b/src/app.html @@ -7,6 +7,6 @@ %sveltekit.head% -
%sveltekit.body%
+
%sveltekit.body%
diff --git a/src/lib/assets/GetItOnGooglePlay_Badge_Web_color_English.png b/src/lib/assets/GetItOnGooglePlay_Badge_Web_color_English.png new file mode 100644 index 0000000..7a06997 Binary files /dev/null and b/src/lib/assets/GetItOnGooglePlay_Badge_Web_color_English.png differ diff --git a/src/lib/assets/guide-client.mp4 b/src/lib/assets/guide-client.mp4 new file mode 100644 index 0000000..0edeff6 --- /dev/null +++ b/src/lib/assets/guide-client.mp4 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4ac0c2232bdb884a4bf3fc63f7fa8df5669fe8cc3744a2760fd7cdff06fae4f9 +size 886934 diff --git a/src/lib/components/app/wireguard-guide/index.ts b/src/lib/components/app/wireguard-guide/index.ts new file mode 100644 index 0000000..877a98b --- /dev/null +++ b/src/lib/components/app/wireguard-guide/index.ts @@ -0,0 +1,5 @@ +import WireguardGuide from "./wireguard-guide.svelte"; + +export { + WireguardGuide +}; diff --git a/src/lib/components/app/wireguard-guide/wireguard-guide.svelte b/src/lib/components/app/wireguard-guide/wireguard-guide.svelte new file mode 100644 index 0000000..8cc5d9f --- /dev/null +++ b/src/lib/components/app/wireguard-guide/wireguard-guide.svelte @@ -0,0 +1,85 @@ + + + + + Android + Windows + Other + + + + + WireGuard on Android + + +
    +
  1. +
    + Install the WireGuard app + + Get it on google play + +
    +
  2. +
  3. +
    +

    Download the configuration file and import it

    + + +
    +
  4. +
+
+
+
+ + + + WireGuard on Windows + + +

+ + Download WireGuard + +

+
+
+
+ + + + WireGuard on Other Platforms + + +

+ You can download the WireGuard client from the + official website + . +

+
+
+
+
diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte index 6caadca..7b363cc 100644 --- a/src/routes/+layout.svelte +++ b/src/routes/+layout.svelte @@ -14,7 +14,7 @@ } -
+
VPGen
-
+
{@render children()}
-