Compare commits
13 commits
38f1e1ca41
...
350fe68bf7
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
350fe68bf7 | ||
| 5abed41dd6 | |||
| cb7a6fa891 | |||
| af6decdc5f | |||
| 5c26f7e8da | |||
| 8098a90d6a | |||
| 300c6b3ff9 | |||
| 155d22a9f3 | |||
| dc24968674 | |||
| a037a19abd | |||
| 64a0499911 | |||
| bc34802cd8 | |||
| 58b8d8e18e |
21 changed files with 91 additions and 97 deletions
|
|
@ -1,10 +1,6 @@
|
||||||
from backend.main import app
|
from backend.main import app
|
||||||
from fastapi.middleware.cors import CORSMiddleware
|
from fastapi.middleware.cors import CORSMiddleware
|
||||||
|
|
||||||
origins = [
|
|
||||||
"http://localhost",
|
|
||||||
]
|
|
||||||
|
|
||||||
app.add_middleware(
|
app.add_middleware(
|
||||||
CORSMiddleware,
|
CORSMiddleware,
|
||||||
allow_origins=[
|
allow_origins=[
|
||||||
|
|
|
||||||
1
blog/.env.production
Normal file
1
blog/.env.production
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
PUBLIC_API_URL="https://api.blauwasser-mausis.de"
|
||||||
1
blog/.gitignore
vendored
1
blog/.gitignore
vendored
|
|
@ -15,7 +15,6 @@ pnpm-debug.log*
|
||||||
|
|
||||||
# environment variables
|
# environment variables
|
||||||
.env
|
.env
|
||||||
.env.production
|
|
||||||
|
|
||||||
# macOS-specific files
|
# macOS-specific files
|
||||||
.DS_Store
|
.DS_Store
|
||||||
|
|
|
||||||
13
blog/package-lock.json
generated
13
blog/package-lock.json
generated
|
|
@ -5,6 +5,7 @@
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
|
"name": "blog",
|
||||||
"version": "0.0.1",
|
"version": "0.0.1",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@astrojs/mdx": "^7.0.8",
|
"@astrojs/mdx": "^7.0.8",
|
||||||
|
|
@ -6361,9 +6362,9 @@
|
||||||
"license": "MIT"
|
"license": "MIT"
|
||||||
},
|
},
|
||||||
"node_modules/smol-toml": {
|
"node_modules/smol-toml": {
|
||||||
"version": "1.8.0",
|
"version": "1.9.0",
|
||||||
"resolved": "https://registry.npmjs.org/smol-toml/-/smol-toml-1.8.0.tgz",
|
"resolved": "https://registry.npmjs.org/smol-toml/-/smol-toml-1.9.0.tgz",
|
||||||
"integrity": "sha512-kCZr2V3ch9i00x8zXRhjUNVcjG9ijES5dDudkXvUVCT5QlJNQWElSJdZqyPemffHoLNUYwOcou0Fy+ojN0uHSQ==",
|
"integrity": "sha512-hpd+HLON7HdZXqYchMM/+LaTTbdK0AU3NngIJ4KVyWbY9bfQqdL9cD+4yf6dUoU2Ap4VsU0JkQi6FxAI1B2mXQ==",
|
||||||
"license": "BSD-3-Clause",
|
"license": "BSD-3-Clause",
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">= 18"
|
"node": ">= 18"
|
||||||
|
|
@ -6382,9 +6383,9 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/source-map-js": {
|
"node_modules/source-map-js": {
|
||||||
"version": "1.2.1",
|
"version": "1.2.2",
|
||||||
"resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.1.tgz",
|
"resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.2.tgz",
|
||||||
"integrity": "sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA==",
|
"integrity": "sha512-KGj/8Y43x35aZVDtt+J4mK1hoLGHULMYfSkODJNQjNDC3oW1PqPoxMwo0pLUsWM/UEGzON/NxeHywEfNXNP3Vw==",
|
||||||
"license": "BSD-3-Clause",
|
"license": "BSD-3-Clause",
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=0.10.0"
|
"node": ">=0.10.0"
|
||||||
|
|
|
||||||
|
|
@ -9,11 +9,7 @@ const { posts } = Astro.props;
|
||||||
---
|
---
|
||||||
|
|
||||||
<div class="post-grid">
|
<div class="post-grid">
|
||||||
{
|
{posts.map((post_file: any) => <PostPreviewSmall post={post_file.data} />)}
|
||||||
posts.map((post_file: any) => (
|
|
||||||
<PostPreviewSmall post={post_file.data} />
|
|
||||||
))
|
|
||||||
}
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
|
|
@ -21,6 +17,6 @@ const { posts } = Astro.props;
|
||||||
display: grid;
|
display: grid;
|
||||||
gap: 64px;
|
gap: 64px;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
|
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,7 @@
|
||||||
import { useState } from "preact/hooks";
|
import { useState } from "preact/hooks";
|
||||||
import { api } from "../lib/api";
|
import { api } from "../lib/api";
|
||||||
import { logout } from "./Util";
|
import { handleBackAndReload, logout } from "./Util";
|
||||||
import type { JSX } from "preact/jsx-runtime";
|
import type { JSX } from "preact/jsx-runtime";
|
||||||
import { navigate } from "astro/virtual-modules/transitions-router.js";
|
|
||||||
|
|
||||||
export default function DeleteUser() {
|
export default function DeleteUser() {
|
||||||
const [error, setError] = useState('');
|
const [error, setError] = useState('');
|
||||||
|
|
@ -21,7 +20,7 @@ export default function DeleteUser() {
|
||||||
} finally {
|
} finally {
|
||||||
if (!hasError) {
|
if (!hasError) {
|
||||||
logout()
|
logout()
|
||||||
navigate("/")
|
handleBackAndReload()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
import { useEffect, useState } from 'preact/hooks';
|
import { useEffect, useState } from 'preact/hooks';
|
||||||
import { api, AUTH_TOKEN_KEY, USER_KEY, type User } from '../lib/api';
|
import { api, AUTH_TOKEN_KEY } from '../lib/api';
|
||||||
import { saveUser } from './Util';
|
import { handleBackAndReload, saveUser } from './Util';
|
||||||
|
|
||||||
export default function LoginForm() {
|
export default function LoginForm() {
|
||||||
const [userCode, setUserCode] = useState('');
|
const [userCode, setUserCode] = useState('');
|
||||||
|
|
@ -33,7 +33,7 @@ export default function LoginForm() {
|
||||||
}
|
}
|
||||||
hasError = true
|
hasError = true
|
||||||
} finally {
|
} finally {
|
||||||
if (!hasError) navigation.back()
|
if (!hasError) handleBackAndReload()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -1,10 +1,8 @@
|
||||||
|
import { handleBackAndReload } from "./Util";
|
||||||
|
|
||||||
export default function NavBack() {
|
export default function NavBack() {
|
||||||
|
|
||||||
function take_me_to_the_moon() {
|
|
||||||
navigation.back();
|
|
||||||
}
|
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<button class="back-btn" onClick={take_me_to_the_moon}>Zurück</button>
|
<button class="back-btn" onClick={handleBackAndReload}>Zurück</button>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
import { useEffect, useState } from 'preact/hooks';
|
import { useEffect, useState } from 'preact/hooks';
|
||||||
import { api, type User } from '../lib/api';
|
import { api, type User } from '../lib/api';
|
||||||
import React from 'preact/compat';
|
import React from 'preact/compat';
|
||||||
import { isEmailValid } from './Util';
|
import { handleBackAndReload, isEmailValid } from './Util';
|
||||||
|
|
||||||
export default function RegisterForm() {
|
export default function RegisterForm() {
|
||||||
const [user, setUser] = React.useState<User>({ 'email': '', 'name': '', 'subscription': true });
|
const [user, setUser] = React.useState<User>({ 'email': '', 'name': '', 'subscription': true });
|
||||||
|
|
@ -31,7 +31,7 @@ export default function RegisterForm() {
|
||||||
}
|
}
|
||||||
hasError = true
|
hasError = true
|
||||||
} finally {
|
} finally {
|
||||||
if (!hasError) navigation.back()
|
if (!hasError) handleBackAndReload()
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
20
blog/src/islands/Submit.tsx
Normal file
20
blog/src/islands/Submit.tsx
Normal file
|
|
@ -0,0 +1,20 @@
|
||||||
|
type SubmitProps = {
|
||||||
|
eventString: string;
|
||||||
|
text: string;
|
||||||
|
};
|
||||||
|
|
||||||
|
export default function Submit({ eventString, text }: SubmitProps) {
|
||||||
|
function handleClick() {
|
||||||
|
window.dispatchEvent(new Event(`submit-${eventString}`));
|
||||||
|
}
|
||||||
|
|
||||||
|
return (
|
||||||
|
<button
|
||||||
|
type="button"
|
||||||
|
onClick={handleClick}
|
||||||
|
className="submit-btn"
|
||||||
|
>
|
||||||
|
⚓︎ {text}
|
||||||
|
</button>
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
@ -1,27 +1,28 @@
|
||||||
import { jwtDecode } from "jwt-decode"
|
import { jwtDecode } from "jwt-decode"
|
||||||
import { AUTH_TOKEN_KEY, USER_KEY, type User } from "../lib/api"
|
import { AUTH_TOKEN_KEY, USER_KEY, type User } from "../lib/api"
|
||||||
|
import { navigate } from "astro:transitions/client"
|
||||||
|
|
||||||
export function saveUser(user: User) {
|
export function saveUser(user: User) {
|
||||||
localStorage.setItem(USER_KEY, JSON.stringify(user))
|
localStorage.setItem(USER_KEY, JSON.stringify(user))
|
||||||
}
|
}
|
||||||
|
|
||||||
export function getUser(): User | null {
|
export function getUser(): User | null {
|
||||||
checkJWTValidity()
|
checkJWTValidity()
|
||||||
|
|
||||||
const user_string = localStorage.getItem(USER_KEY)
|
const user_string = localStorage.getItem(USER_KEY)
|
||||||
if (user_string) return JSON.parse(user_string) as User
|
if (user_string) return JSON.parse(user_string) as User
|
||||||
else logout()
|
else logout()
|
||||||
return null
|
return null
|
||||||
}
|
}
|
||||||
|
|
||||||
export function logout() {
|
export function logout() {
|
||||||
localStorage.removeItem(USER_KEY)
|
localStorage.removeItem(USER_KEY)
|
||||||
localStorage.removeItem(AUTH_TOKEN_KEY)
|
localStorage.removeItem(AUTH_TOKEN_KEY)
|
||||||
}
|
}
|
||||||
|
|
||||||
export function isEmailValid(email: string): boolean {
|
export function isEmailValid(email: string): boolean {
|
||||||
const emailRegex = /^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$/;
|
const emailRegex = /^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$/;
|
||||||
return emailRegex.test(email);
|
return emailRegex.test(email);
|
||||||
}
|
}
|
||||||
|
|
||||||
export function checkJWTValidity() {
|
export function checkJWTValidity() {
|
||||||
|
|
@ -39,4 +40,13 @@ export function isTokenExpired(token: string): boolean {
|
||||||
} catch {
|
} catch {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export const handleBackAndReload = () => {
|
||||||
|
if (document.referrer) {
|
||||||
|
navigate(document.referrer, { history: 'replace' });
|
||||||
|
setTimeout(() => window.location.reload(), 50);
|
||||||
|
} else {
|
||||||
|
navigate('/');
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
@ -1,13 +0,0 @@
|
||||||
import jwt from 'jsonwebtoken';
|
|
||||||
|
|
||||||
const isTokenExpired = (token: string): boolean => {
|
|
||||||
try {
|
|
||||||
const { exp } = jwt.decode(token) as { exp: number };
|
|
||||||
const expirationDatetimeInSeconds = exp * 1000;
|
|
||||||
return Date.now() >= expirationDatetimeInSeconds;
|
|
||||||
} catch {
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
export { isTokenExpired };
|
|
||||||
|
|
@ -34,7 +34,7 @@ const localeDate = formatLocalizedDateString(postData.date);
|
||||||
</div>
|
</div>
|
||||||
<article class="markdown-content">
|
<article class="markdown-content">
|
||||||
<slot />
|
<slot />
|
||||||
<NavBack client:visible />
|
<NavBack client:load />
|
||||||
<p class="disclaimer">
|
<p class="disclaimer">
|
||||||
Disclaimer: Dieser Artikel ist ausschließlich privat und wird nicht
|
Disclaimer: Dieser Artikel ist ausschließlich privat und wird nicht
|
||||||
durch Produktplatzierung, Affiliate-Links oder ähnliches Unterstützt.
|
durch Produktplatzierung, Affiliate-Links oder ähnliches Unterstützt.
|
||||||
|
|
@ -52,6 +52,9 @@ const localeDate = formatLocalizedDateString(postData.date);
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
#background {
|
#background {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
flex-direction: column;
|
||||||
background-image: linear-gradient(
|
background-image: linear-gradient(
|
||||||
to bottom,
|
to bottom,
|
||||||
var(--primary-dark),
|
var(--primary-dark),
|
||||||
|
|
@ -63,9 +66,10 @@ const localeDate = formatLocalizedDateString(postData.date);
|
||||||
}
|
}
|
||||||
|
|
||||||
#hr-knast {
|
#hr-knast {
|
||||||
padding: 16px 64px 0 64px ;
|
padding: 16px 64px 0 64px;
|
||||||
background-color: white;
|
background-color: white;
|
||||||
max-width: 900px;
|
max-width: 900px;
|
||||||
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
hr {
|
hr {
|
||||||
|
|
@ -104,16 +108,6 @@ const localeDate = formatLocalizedDateString(postData.date);
|
||||||
line-height: 1.6;
|
line-height: 1.6;
|
||||||
}
|
}
|
||||||
|
|
||||||
#header #title {
|
|
||||||
font-size: 2.5rem;
|
|
||||||
padding: 0 64px;
|
|
||||||
}
|
|
||||||
|
|
||||||
#header #subtitle {
|
|
||||||
font-size: 1.8rem;
|
|
||||||
padding: 0 64px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.info {
|
.info {
|
||||||
padding: 32px 64px 0 64px;
|
padding: 32px 64px 0 64px;
|
||||||
font-size: medium;
|
font-size: medium;
|
||||||
|
|
@ -123,12 +117,16 @@ const localeDate = formatLocalizedDateString(postData.date);
|
||||||
#title {
|
#title {
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
order: 3;
|
order: 3;
|
||||||
|
font-size: 2.5rem;
|
||||||
|
padding: 0 64px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#subtitle {
|
#subtitle {
|
||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
font-weight: lighter;
|
font-weight: lighter;
|
||||||
order: 4;
|
order: 4;
|
||||||
|
font-size: 1.8rem;
|
||||||
|
padding: 0 64px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#introduction {
|
#introduction {
|
||||||
|
|
@ -202,8 +200,9 @@ const localeDate = formatLocalizedDateString(postData.date);
|
||||||
.info {
|
.info {
|
||||||
order: 1;
|
order: 1;
|
||||||
font-size: 1rem !important;
|
font-size: 1rem !important;
|
||||||
padding-top: 16px;
|
padding-top: 16px !important;
|
||||||
padding-bottom: 16px;
|
padding-bottom: 16px;
|
||||||
|
padding: 0 24px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#title-img {
|
#title-img {
|
||||||
|
|
@ -213,15 +212,22 @@ const localeDate = formatLocalizedDateString(postData.date);
|
||||||
#title {
|
#title {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
order: 2;
|
order: 2;
|
||||||
|
padding: 0 24px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#subtitle {
|
#subtitle {
|
||||||
order: 3;
|
order: 3;
|
||||||
|
padding: 0 24px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#introduction {
|
#introduction {
|
||||||
font-size: 1.25rem !important;
|
font-size: 1.25rem !important;
|
||||||
order: 5;
|
order: 5;
|
||||||
|
padding: 32px 24px 0 24px;
|
||||||
|
}
|
||||||
|
|
||||||
|
article {
|
||||||
|
padding: 0 24px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,6 @@
|
||||||
---
|
---
|
||||||
import NavBack from "../islands/NavBack";
|
import NavBack from "../islands/NavBack";
|
||||||
|
import Submit from "../islands/Submit";
|
||||||
import Main from "../layouts/Main.astro";
|
import Main from "../layouts/Main.astro";
|
||||||
|
|
||||||
const { title, subtitle, text, buttonText, eventString } = Astro.props;
|
const { title, subtitle, text, buttonText, eventString } = Astro.props;
|
||||||
|
|
@ -16,12 +17,7 @@ const { title, subtitle, text, buttonText, eventString } = Astro.props;
|
||||||
<slot />
|
<slot />
|
||||||
<div id="buttons">
|
<div id="buttons">
|
||||||
<NavBack client:load />
|
<NavBack client:load />
|
||||||
<button
|
<Submit eventString={eventString} text={buttonText} client:load />
|
||||||
onclick={`window.dispatchEvent(new Event("${eventString}"))`}
|
|
||||||
class="submit-btn"
|
|
||||||
>
|
|
||||||
⚓︎ {buttonText}
|
|
||||||
</button>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,9 @@ import "../styles/global.css";
|
||||||
|
|
||||||
<html lang="de">
|
<html lang="de">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8" />
|
<meta
|
||||||
|
charset="utf-8"
|
||||||
|
/>
|
||||||
<link rel="icon" type="image/x-icon" href="/favicon.ico" />
|
<link rel="icon" type="image/x-icon" href="/favicon.ico" />
|
||||||
<link
|
<link
|
||||||
rel="alternate"
|
rel="alternate"
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,4 @@
|
||||||
export function formatLocalizedDateString(date: Date): string {
|
export function formatLocalizedDateString(date: Date): string {
|
||||||
return date.toLocaleDateString('de-DE')
|
var options: Intl.DateTimeFormatOptions = { weekday: undefined, year: '2-digit', month: '2-digit', day: '2-digit' };
|
||||||
|
return date.toLocaleDateString('de-DE', options)
|
||||||
}
|
}
|
||||||
|
|
@ -1,18 +0,0 @@
|
||||||
---
|
|
||||||
import { api } from '../../../lib/api';
|
|
||||||
|
|
||||||
const { secret } = Astro.props;
|
|
||||||
|
|
||||||
|
|
||||||
export async function getStaticPaths() {
|
|
||||||
const response = await api.approveNewsletter(secret);
|
|
||||||
|
|
||||||
return response.map(product => ({
|
|
||||||
params: { id: product.id },
|
|
||||||
props: { product }
|
|
||||||
}));
|
|
||||||
}
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
<h1>{product.name}</h1>
|
|
||||||
|
|
@ -10,7 +10,7 @@ import Form from "../layouts/Form.astro";
|
||||||
Code ein, denn du nach dem registrieren via E-Mail erhalten
|
Code ein, denn du nach dem registrieren via E-Mail erhalten
|
||||||
hast."
|
hast."
|
||||||
buttonText="Anmelden"
|
buttonText="Anmelden"
|
||||||
eventString="submit-login"
|
eventString="login"
|
||||||
>
|
>
|
||||||
<LoginForm client:load />
|
<LoginForm client:load />
|
||||||
<a href="/register">Noch keinen Account? Hier registrieren</a>
|
<a href="/register">Noch keinen Account? Hier registrieren</a>
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@ import Form from "../layouts/Form.astro";
|
||||||
subtitle="E-Mail Erinnerung für neue Artikel"
|
subtitle="E-Mail Erinnerung für neue Artikel"
|
||||||
text="Endlich könnt E-Mail Erinnerungen erhalten, wenn wir neue Artikel veröffentlichen. Für die spätere Kommentarfunktion fragen wir gleich den Namen mit ab."
|
text="Endlich könnt E-Mail Erinnerungen erhalten, wenn wir neue Artikel veröffentlichen. Für die spätere Kommentarfunktion fragen wir gleich den Namen mit ab."
|
||||||
buttonText="Registrieren"
|
buttonText="Registrieren"
|
||||||
eventString="submit-register"
|
eventString="register"
|
||||||
>
|
>
|
||||||
<RegisterForm client:load/>
|
<RegisterForm client:load/>
|
||||||
</Form>
|
</Form>
|
||||||
|
|
|
||||||
|
|
@ -11,7 +11,7 @@ import Form from "../layouts/Form.astro";
|
||||||
subtitle="Hier kannst du dein Konto verwalten."
|
subtitle="Hier kannst du dein Konto verwalten."
|
||||||
text=""
|
text=""
|
||||||
buttonText="Speichern"
|
buttonText="Speichern"
|
||||||
eventString="submit-toggle-subscription"
|
eventString="toggle-subscription"
|
||||||
>
|
>
|
||||||
<UserDetails client:load />
|
<UserDetails client:load />
|
||||||
<ToggleSubscription client:load />
|
<ToggleSubscription client:load />
|
||||||
|
|
|
||||||
|
|
@ -30,7 +30,7 @@ body {
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
flex: 1;
|
flex: 1;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
min-width: 380px;
|
min-width: 350px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.nav-link {
|
.nav-link {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue