diff --git a/.gitignore b/.gitignore index d2b41da..4b9eef7 100644 --- a/.gitignore +++ b/.gitignore @@ -21,4 +21,6 @@ go.work *.exe - +pinegrow* +_pgbackup/ +_pginfo/ diff --git a/README.md b/README.md index f351d6c..cd3dd1b 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,8 @@ - 23-07-2023 Первый коммит - 24-07-2023 v0.0.3 (рабочая). План - добавить еще один пакет. - 25-07-2023 v0.0.5 (борюсь с 0.0.3) -- 29-07-2023 v0.0.5 Сделел миграцию на Gitea +- 29-07-2023 v0.0.5 Сделал миграцию на Gitea +- 04-08-2023 Добавил проверку на USERNAMEDB/PASSWORDDB Перенес на github. На Gitea почему-то не захотела работать. ( diff --git a/app/dist/index.html b/app/dist/index.html index ca1226a..7385c3c 100644 --- a/app/dist/index.html +++ b/app/dist/index.html @@ -1,5 +1,5 @@ -

Hello!

+

Привет!

\ No newline at end of file diff --git a/app/index.html b/app/index.html new file mode 100644 index 0000000..94b85bb --- /dev/null +++ b/app/index.html @@ -0,0 +1,163 @@ + + + + + + Design of the Week Template 6 - Pinegrow Web Editor + + + + +
+
+ +
+
+
+
+
+
+
+

Список

+

Здесь предполагается список серверов

+

Открыть +
+
+
+
+
+
+
+ + + + +
+
+
+
+
+
+

Blog

+

Статус

+
+
+
+
... +
+

Ноут

itman-nb

192.168.0.111

+
+
+
+
+
... +
+

Стационарный

+

itman-pc

192.168.0.112

+
+
+
+
+
... +
+

Сервер

xigmanas

192.168.0.105

+
+
+
+
+
+
+ + + + +
+ + + diff --git a/app/projectdb.pgml b/app/projectdb.pgml new file mode 100644 index 0000000..9024392 --- /dev/null +++ b/app/projectdb.pgml @@ -0,0 +1,44 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/app/tailwind_theme/tailwind.css b/app/tailwind_theme/tailwind.css new file mode 100644 index 0000000..de261e9 --- /dev/null +++ b/app/tailwind_theme/tailwind.css @@ -0,0 +1,1839 @@ +@import url('https://fonts.googleapis.com/css?family=Fira+Sans:100,200,300,400,500,600,700,800,900|Raleway:100,200,300,400,500,600,700,800,900&display=swap'); + + +/* +! tailwindcss v3.3.3 | MIT License | https://tailwindcss.com +*/ + + +/* +1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4) +2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116) +*/ + + +*, +::before, +::after { + box-sizing: border-box; /* 1 */ + border-width: 0; /* 2 */ + border-style: solid; /* 2 */ + border-color: #e5e7eb; /* 2 */ +} + + +::before, +::after { + --tw-content: ''; +} + + +/* +1. Use a consistent sensible line-height in all browsers. +2. Prevent adjustments of font size after orientation changes in iOS. +3. Use a more readable tab size. +4. Use the user's configured `sans` font-family by default. +5. Use the user's configured `sans` font-feature-settings by default. +6. Use the user's configured `sans` font-variation-settings by default. +*/ + + +html { + line-height: 1.5; /* 1 */ + -webkit-text-size-adjust: 100%; /* 2 */ + -moz-tab-size: 4; /* 3 */ + -o-tab-size: 4; + tab-size: 4; /* 3 */ + font-family: 'Fira Sans', sans-serif; /* 4 */ + font-feature-settings: normal; /* 5 */ + font-variation-settings: normal; /* 6 */ +} + + +/* +1. Remove the margin in all browsers. +2. Inherit line-height from `html` so users can set them as a class directly on the `html` element. +*/ + + +body { + margin: 0; /* 1 */ + line-height: inherit; /* 2 */ +} + + +/* +1. Add the correct height in Firefox. +2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655) +3. Ensure horizontal rules are visible by default. +*/ + + +hr { + height: 0; /* 1 */ + color: inherit; /* 2 */ + border-top-width: 1px; /* 3 */ +} + + +/* +Add the correct text decoration in Chrome, Edge, and Safari. +*/ + + +abbr:where([title]) { + -webkit-text-decoration: underline dotted; + text-decoration: underline dotted; +} + + +/* +Remove the default font size and weight for headings. +*/ + + +h1, +h2, +h3, +h4, +h5, +h6 { + font-size: inherit; + font-weight: inherit; +} + + +/* +Reset links to optimize for opt-in styling instead of opt-out. +*/ + + +a { + color: inherit; + text-decoration: inherit; +} + + +/* +Add the correct font weight in Edge and Safari. +*/ + + +b, +strong { + font-weight: bolder; +} + + +/* +1. Use the user's configured `mono` font family by default. +2. Correct the odd `em` font sizing in all browsers. +*/ + + +code, +kbd, +samp, +pre { + font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; /* 1 */ + font-size: 1em; /* 2 */ +} + + +/* +Add the correct font size in all browsers. +*/ + + +small { + font-size: 80%; +} + + +/* +Prevent `sub` and `sup` elements from affecting the line height in all browsers. +*/ + + +sub, +sup { + font-size: 75%; + line-height: 0; + position: relative; + vertical-align: baseline; +} + + +sub { + bottom: -0.25em; +} + + +sup { + top: -0.5em; +} + + +/* +1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297) +2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016) +3. Remove gaps between table borders by default. +*/ + + +table { + text-indent: 0; /* 1 */ + border-color: inherit; /* 2 */ + border-collapse: collapse; /* 3 */ +} + + +/* +1. Change the font styles in all browsers. +2. Remove the margin in Firefox and Safari. +3. Remove default padding in all browsers. +*/ + + +button, +input, +optgroup, +select, +textarea { + font-family: inherit; /* 1 */ + font-feature-settings: inherit; /* 1 */ + font-variation-settings: inherit; /* 1 */ + font-size: 100%; /* 1 */ + font-weight: inherit; /* 1 */ + line-height: inherit; /* 1 */ + color: inherit; /* 1 */ + margin: 0; /* 2 */ + padding: 0; /* 3 */ +} + + +/* +Remove the inheritance of text transform in Edge and Firefox. +*/ + + +button, +select { + text-transform: none; +} + + +/* +1. Correct the inability to style clickable types in iOS and Safari. +2. Remove default button styles. +*/ + + +button, +[type='button'], +[type='reset'], +[type='submit'] { + -webkit-appearance: button; /* 1 */ + background-color: transparent; /* 2 */ + background-image: none; /* 2 */ +} + + +/* +Use the modern Firefox focus style for all focusable elements. +*/ + + +:-moz-focusring { + outline: auto; +} + + +/* +Remove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737) +*/ + + +:-moz-ui-invalid { + box-shadow: none; +} + + +/* +Add the correct vertical alignment in Chrome and Firefox. +*/ + + +progress { + vertical-align: baseline; +} + + +/* +Correct the cursor style of increment and decrement buttons in Safari. +*/ + + +::-webkit-inner-spin-button, +::-webkit-outer-spin-button { + height: auto; +} + + +/* +1. Correct the odd appearance in Chrome and Safari. +2. Correct the outline style in Safari. +*/ + + +[type='search'] { + -webkit-appearance: textfield; /* 1 */ + outline-offset: -2px; /* 2 */ +} + + +/* +Remove the inner padding in Chrome and Safari on macOS. +*/ + + +::-webkit-search-decoration { + -webkit-appearance: none; +} + + +/* +1. Correct the inability to style clickable types in iOS and Safari. +2. Change font properties to `inherit` in Safari. +*/ + + +::-webkit-file-upload-button { + -webkit-appearance: button; /* 1 */ + font: inherit; /* 2 */ +} + + +/* +Add the correct display in Chrome and Safari. +*/ + + +summary { + display: list-item; +} + + +/* +Removes the default spacing and border for appropriate elements. +*/ + + +blockquote, +dl, +dd, +h1, +h2, +h3, +h4, +h5, +h6, +hr, +figure, +p, +pre { + margin: 0; +} + + +fieldset { + margin: 0; + padding: 0; +} + + +legend { + padding: 0; +} + + +ol, +ul, +menu { + list-style: none; + margin: 0; + padding: 0; +} + + +/* +Reset default styling for dialogs. +*/ + + +dialog { + padding: 0; +} + + +/* +Prevent resizing textareas horizontally by default. +*/ + + +textarea { + resize: vertical; +} + + +/* +1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300) +2. Set the default placeholder color to the user's configured gray 400 color. +*/ + + +input::-moz-placeholder, textarea::-moz-placeholder { + opacity: 1; /* 1 */ + color: #9ca3af; /* 2 */ +} + + +input::placeholder, +textarea::placeholder { + opacity: 1; /* 1 */ + color: #9ca3af; /* 2 */ +} + + +/* +Set the default cursor for buttons. +*/ + + +button, +[role="button"] { + cursor: pointer; +} + + +/* +Make sure disabled buttons don't get the pointer cursor. +*/ + + +:disabled { + cursor: default; +} + + +/* +1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14) +2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210) + This can trigger a poorly considered lint error in some tools but is included by design. +*/ + + +img, +svg, +video, +canvas, +audio, +iframe, +embed, +object { + display: block; /* 1 */ + vertical-align: middle; /* 2 */ +} + + +/* +Constrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14) +*/ + + +img, +video { + max-width: 100%; + height: auto; +} + + +/* Make elements with the HTML hidden attribute stay hidden by default */ + + +[hidden] { + display: none; +} + + +[type='text'],input:where(:not([type])),[type='email'],[type='url'],[type='password'],[type='number'],[type='date'],[type='datetime-local'],[type='month'],[type='search'],[type='tel'],[type='time'],[type='week'],[multiple],textarea,select{ + -webkit-appearance: none; + -moz-appearance: none; + appearance: none; + background-color: #fff; + border-color: #6b7280; + border-width: 1px; + border-radius: 0px; + padding-top: 0.5rem; + padding-right: 0.75rem; + padding-bottom: 0.5rem; + padding-left: 0.75rem; + font-size: 1rem; + line-height: 1.5rem; + --tw-shadow: 0 0 #0000; +} + + +[type='text']:focus, input:where(:not([type])):focus, [type='email']:focus, [type='url']:focus, [type='password']:focus, [type='number']:focus, [type='date']:focus, [type='datetime-local']:focus, [type='month']:focus, [type='search']:focus, [type='tel']:focus, [type='time']:focus, [type='week']:focus, [multiple]:focus, textarea:focus, select:focus{ + outline: 2px solid transparent; + outline-offset: 2px; + --tw-ring-inset: var(--tw-empty,/*!*/ /*!*/); + --tw-ring-offset-width: 0px; + --tw-ring-offset-color: #fff; + --tw-ring-color: #2563eb; + --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color); + --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color); + box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow); + border-color: #2563eb; +} + + +input::-moz-placeholder, textarea::-moz-placeholder{ + color: #6b7280; + opacity: 1; +} + + +input::placeholder,textarea::placeholder{ + color: #6b7280; + opacity: 1; +} + + +::-webkit-datetime-edit-fields-wrapper{ + padding: 0; +} + + +::-webkit-date-and-time-value{ + min-height: 1.5em; + text-align: inherit; +} + + +::-webkit-datetime-edit{ + display: inline-flex; +} + + +::-webkit-datetime-edit,::-webkit-datetime-edit-year-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-meridiem-field{ + padding-top: 0; + padding-bottom: 0; +} + + +select{ + background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e"); + background-position: right 0.5rem center; + background-repeat: no-repeat; + background-size: 1.5em 1.5em; + padding-right: 2.5rem; + -webkit-print-color-adjust: exact; + print-color-adjust: exact; +} + + +[multiple],[size]:where(select:not([size="1"])){ + background-image: initial; + background-position: initial; + background-repeat: unset; + background-size: initial; + padding-right: 0.75rem; + -webkit-print-color-adjust: unset; + print-color-adjust: unset; +} + + +[type='checkbox'],[type='radio']{ + -webkit-appearance: none; + -moz-appearance: none; + appearance: none; + padding: 0; + -webkit-print-color-adjust: exact; + print-color-adjust: exact; + display: inline-block; + vertical-align: middle; + background-origin: border-box; + -webkit-user-select: none; + -moz-user-select: none; + user-select: none; + flex-shrink: 0; + height: 1rem; + width: 1rem; + color: #2563eb; + background-color: #fff; + border-color: #6b7280; + border-width: 1px; + --tw-shadow: 0 0 #0000; +} + + +[type='checkbox']{ + border-radius: 0px; +} + + +[type='radio']{ + border-radius: 100%; +} + + +[type='checkbox']:focus,[type='radio']:focus{ + outline: 2px solid transparent; + outline-offset: 2px; + --tw-ring-inset: var(--tw-empty,/*!*/ /*!*/); + --tw-ring-offset-width: 2px; + --tw-ring-offset-color: #fff; + --tw-ring-color: #2563eb; + --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color); + --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color); + box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow); +} + + +[type='checkbox']:checked,[type='radio']:checked{ + border-color: transparent; + background-color: currentColor; + background-size: 100% 100%; + background-position: center; + background-repeat: no-repeat; +} + + +[type='checkbox']:checked{ + background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e"); +} + + +[type='radio']:checked{ + background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e"); +} + + +[type='checkbox']:checked:hover,[type='checkbox']:checked:focus,[type='radio']:checked:hover,[type='radio']:checked:focus{ + border-color: transparent; + background-color: currentColor; +} + + +[type='checkbox']:indeterminate{ + background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3e%3cpath stroke='white' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3e%3c/svg%3e"); + border-color: transparent; + background-color: currentColor; + background-size: 100% 100%; + background-position: center; + background-repeat: no-repeat; +} + + +[type='checkbox']:indeterminate:hover,[type='checkbox']:indeterminate:focus{ + border-color: transparent; + background-color: currentColor; +} + + +[type='file']{ + background: unset; + border-color: inherit; + border-width: 0; + border-radius: 0; + padding: 0; + font-size: unset; + line-height: inherit; +} + + +[type='file']:focus{ + outline: 1px solid ButtonText; + outline: 1px auto -webkit-focus-ring-color; +} + + +*, ::before, ::after{ + --tw-border-spacing-x: 0; + --tw-border-spacing-y: 0; + --tw-translate-x: 0; + --tw-translate-y: 0; + --tw-rotate: 0; + --tw-skew-x: 0; + --tw-skew-y: 0; + --tw-scale-x: 1; + --tw-scale-y: 1; + --tw-pan-x: ; + --tw-pan-y: ; + --tw-pinch-zoom: ; + --tw-scroll-snap-strictness: proximity; + --tw-gradient-from-position: ; + --tw-gradient-via-position: ; + --tw-gradient-to-position: ; + --tw-ordinal: ; + --tw-slashed-zero: ; + --tw-numeric-figure: ; + --tw-numeric-spacing: ; + --tw-numeric-fraction: ; + --tw-ring-inset: ; + --tw-ring-offset-width: 0px; + --tw-ring-offset-color: #fff; + --tw-ring-color: rgb(59 130 246 / 0.5); + --tw-ring-offset-shadow: 0 0 #0000; + --tw-ring-shadow: 0 0 #0000; + --tw-shadow: 0 0 #0000; + --tw-shadow-colored: 0 0 #0000; + --tw-blur: ; + --tw-brightness: ; + --tw-contrast: ; + --tw-grayscale: ; + --tw-hue-rotate: ; + --tw-invert: ; + --tw-saturate: ; + --tw-sepia: ; + --tw-drop-shadow: ; + --tw-backdrop-blur: ; + --tw-backdrop-brightness: ; + --tw-backdrop-contrast: ; + --tw-backdrop-grayscale: ; + --tw-backdrop-hue-rotate: ; + --tw-backdrop-invert: ; + --tw-backdrop-opacity: ; + --tw-backdrop-saturate: ; + --tw-backdrop-sepia: ; +} + + +::backdrop{ + --tw-border-spacing-x: 0; + --tw-border-spacing-y: 0; + --tw-translate-x: 0; + --tw-translate-y: 0; + --tw-rotate: 0; + --tw-skew-x: 0; + --tw-skew-y: 0; + --tw-scale-x: 1; + --tw-scale-y: 1; + --tw-pan-x: ; + --tw-pan-y: ; + --tw-pinch-zoom: ; + --tw-scroll-snap-strictness: proximity; + --tw-gradient-from-position: ; + --tw-gradient-via-position: ; + --tw-gradient-to-position: ; + --tw-ordinal: ; + --tw-slashed-zero: ; + --tw-numeric-figure: ; + --tw-numeric-spacing: ; + --tw-numeric-fraction: ; + --tw-ring-inset: ; + --tw-ring-offset-width: 0px; + --tw-ring-offset-color: #fff; + --tw-ring-color: rgb(59 130 246 / 0.5); + --tw-ring-offset-shadow: 0 0 #0000; + --tw-ring-shadow: 0 0 #0000; + --tw-shadow: 0 0 #0000; + --tw-shadow-colored: 0 0 #0000; + --tw-blur: ; + --tw-brightness: ; + --tw-contrast: ; + --tw-grayscale: ; + --tw-hue-rotate: ; + --tw-invert: ; + --tw-saturate: ; + --tw-sepia: ; + --tw-drop-shadow: ; + --tw-backdrop-blur: ; + --tw-backdrop-brightness: ; + --tw-backdrop-contrast: ; + --tw-backdrop-grayscale: ; + --tw-backdrop-hue-rotate: ; + --tw-backdrop-invert: ; + --tw-backdrop-opacity: ; + --tw-backdrop-saturate: ; + --tw-backdrop-sepia: ; +} +.container{ + width: 100%; +} +@media (min-width: 640px){ + + + .container{ + max-width: 640px; + } +} +@media (min-width: 768px){ + + + .container{ + max-width: 768px; + } +} +@media (min-width: 1024px){ + + + .container{ + max-width: 1024px; + } +} +@media (min-width: 1280px){ + + + .container{ + max-width: 1280px; + } +} +@media (min-width: 1536px){ + + + .container{ + max-width: 1536px; + } +} +.relative{ + position: relative; +} +.-mx-4{ + margin-left: -1rem; + margin-right: -1rem; +} +.mx-auto{ + margin-left: auto; + margin-right: auto; +} +.my-1{ + margin-top: 0.25rem; + margin-bottom: 0.25rem; +} +.-mt-12{ + margin-top: -3rem; +} +.mb-1{ + margin-bottom: 0.25rem; +} +.mb-2{ + margin-bottom: 0.5rem; +} +.mb-3{ + margin-bottom: 0.75rem; +} +.mb-4{ + margin-bottom: 1rem; +} +.mb-6{ + margin-bottom: 1.5rem; +} +.mb-8{ + margin-bottom: 2rem; +} +.mr-2{ + margin-right: 0.5rem; +} +.mr-auto{ + margin-right: auto; +} +.mt-1{ + margin-top: 0.25rem; +} +.block{ + display: block; +} +.inline-block{ + display: inline-block; +} +.flex{ + display: flex; +} +.inline-flex{ + display: inline-flex; +} +.hidden{ + display: none; +} +.h-12{ + height: 3rem; +} +.h-4{ + height: 1rem; +} +.h-5{ + height: 1.25rem; +} +.h-auto{ + height: auto; +} +.h-full{ + height: 100%; +} +.w-12{ + width: 3rem; +} +.w-4{ + width: 1rem; +} +.w-5{ + width: 1.25rem; +} +.w-6{ + width: 1.5rem; +} +.w-9\/12{ + width: 75%; +} +.w-full{ + width: 100%; +} +.max-w-full{ + max-width: 100%; +} +.flex-1{ + flex: 1 1 0%; +} +.appearance-none{ + -webkit-appearance: none; + -moz-appearance: none; + appearance: none; +} +.flex-col{ + flex-direction: column; +} +.flex-wrap{ + flex-wrap: wrap; +} +.items-center{ + align-items: center; +} +.justify-center{ + justify-content: center; +} +.space-x-3 > :not([hidden]) ~ :not([hidden]){ + --tw-space-x-reverse: 0; + margin-right: calc(0.75rem * var(--tw-space-x-reverse)); + margin-left: calc(0.75rem * calc(1 - var(--tw-space-x-reverse))); +} +.space-x-4 > :not([hidden]) ~ :not([hidden]){ + --tw-space-x-reverse: 0; + margin-right: calc(1rem * var(--tw-space-x-reverse)); + margin-left: calc(1rem * calc(1 - var(--tw-space-x-reverse))); +} +.space-y-2 > :not([hidden]) ~ :not([hidden]){ + --tw-space-y-reverse: 0; + margin-top: calc(0.5rem * calc(1 - var(--tw-space-y-reverse))); + margin-bottom: calc(0.5rem * var(--tw-space-y-reverse)); +} +.space-y-6 > :not([hidden]) ~ :not([hidden]){ + --tw-space-y-reverse: 0; + margin-top: calc(1.5rem * calc(1 - var(--tw-space-y-reverse))); + margin-bottom: calc(1.5rem * var(--tw-space-y-reverse)); +} +.overflow-hidden{ + overflow: hidden; +} +.rounded{ + border-radius: 0.25rem; +} +.rounded-full{ + border-radius: 9999px; +} +.border{ + border-width: 1px; +} +.border-2{ + border-width: 2px; +} +.border-b-2{ + border-bottom-width: 2px; +} +.border-current{ + border-color: currentColor; +} +.border-gray-400{ + --tw-border-opacity: 1; + border-color: rgb(156 163 175 / var(--tw-border-opacity)); +} +.border-primary-500{ + --tw-border-opacity: 1; + border-color: rgb(26 153 166 / var(--tw-border-opacity)); +} +.border-primary-600{ + --tw-border-opacity: 1; + border-color: rgb(22 127 137 / var(--tw-border-opacity)); +} +.bg-black{ + --tw-bg-opacity: 1; + background-color: rgb(0 0 0 / var(--tw-bg-opacity)); +} +.bg-primary-500{ + --tw-bg-opacity: 1; + background-color: rgb(26 153 166 / var(--tw-bg-opacity)); +} +.bg-secondary-500{ + --tw-bg-opacity: 1; + background-color: rgb(32 18 121 / var(--tw-bg-opacity)); +} +.bg-white{ + --tw-bg-opacity: 1; + background-color: rgb(255 255 255 / var(--tw-bg-opacity)); +} +.p-1{ + padding: 0.25rem; +} +.p-2{ + padding: 0.5rem; +} +.p-4{ + padding: 1rem; +} +.p-5{ + padding: 1.25rem; +} +.px-3{ + padding-left: 0.75rem; + padding-right: 0.75rem; +} +.px-4{ + padding-left: 1rem; + padding-right: 1rem; +} +.px-5{ + padding-left: 1.25rem; + padding-right: 1.25rem; +} +.px-6{ + padding-left: 1.5rem; + padding-right: 1.5rem; +} +.py-12{ + padding-top: 3rem; + padding-bottom: 3rem; +} +.py-2{ + padding-top: 0.5rem; + padding-bottom: 0.5rem; +} +.py-20{ + padding-top: 5rem; + padding-bottom: 5rem; +} +.py-4{ + padding-top: 1rem; + padding-bottom: 1rem; +} +.py-6{ + padding-top: 1.5rem; + padding-bottom: 1.5rem; +} +.py-8{ + padding-top: 2rem; + padding-bottom: 2rem; +} +.pb-24{ + padding-bottom: 6rem; +} +.pb-4{ + padding-bottom: 1rem; +} +.pb-6{ + padding-bottom: 1.5rem; +} +.pt-12{ + padding-top: 3rem; +} +.pt-2{ + padding-top: 0.5rem; +} +.pt-24{ + padding-top: 6rem; +} +.text-center{ + text-align: center; +} +.font-serif{ + font-family: 'Raleway', sans-serif; +} +.text-2xl{ + font-size: 1.5rem; + line-height: 2rem; +} +.text-3xl{ + font-size: 1.875rem; + line-height: 2.25rem; +} +.text-4xl{ + font-size: 2.25rem; + line-height: 2.5rem; +} +.text-5xl{ + font-size: 3rem; + line-height: 1; +} +.text-lg{ + font-size: 1.125rem; + line-height: 1.75rem; +} +.text-sm{ + font-size: 0.875rem; + line-height: 1.25rem; +} +.text-xl{ + font-size: 1.25rem; + line-height: 1.75rem; +} +.text-xs{ + font-size: 0.75rem; + line-height: 1rem; +} +.font-bold{ + font-weight: 700; +} +.font-light{ + font-weight: 300; +} +.font-medium{ + font-weight: 500; +} +.font-semibold{ + font-weight: 600; +} +.uppercase{ + text-transform: uppercase; +} +.leading-none{ + line-height: 1; +} +.leading-tight{ + line-height: 1.25; +} +.text-black{ + --tw-text-opacity: 1; + color: rgb(0 0 0 / var(--tw-text-opacity)); +} +.text-blue-100{ + --tw-text-opacity: 1; + color: rgb(219 234 254 / var(--tw-text-opacity)); +} +.text-blue-200{ + --tw-text-opacity: 1; + color: rgb(191 219 254 / var(--tw-text-opacity)); +} +.text-blue-300{ + --tw-text-opacity: 1; + color: rgb(147 197 253 / var(--tw-text-opacity)); +} +.text-blue-400{ + --tw-text-opacity: 1; + color: rgb(96 165 250 / var(--tw-text-opacity)); +} +.text-blue-50{ + --tw-text-opacity: 1; + color: rgb(239 246 255 / var(--tw-text-opacity)); +} +.text-blue-500{ + --tw-text-opacity: 1; + color: rgb(59 130 246 / var(--tw-text-opacity)); +} +.text-blue-600{ + --tw-text-opacity: 1; + color: rgb(37 99 235 / var(--tw-text-opacity)); +} +.text-blue-700{ + --tw-text-opacity: 1; + color: rgb(29 78 216 / var(--tw-text-opacity)); +} +.text-blue-800{ + --tw-text-opacity: 1; + color: rgb(30 64 175 / var(--tw-text-opacity)); +} +.text-blue-900{ + --tw-text-opacity: 1; + color: rgb(30 58 138 / var(--tw-text-opacity)); +} +.text-color3-100{ + --tw-text-opacity: 1; + color: rgb(252 246 254 / var(--tw-text-opacity)); +} +.text-color3-200{ + --tw-text-opacity: 1; + color: rgb(250 242 254 / var(--tw-text-opacity)); +} +.text-color3-300{ + --tw-text-opacity: 1; + color: rgb(248 237 253 / var(--tw-text-opacity)); +} +.text-color3-400{ + --tw-text-opacity: 1; + color: rgb(246 233 253 / var(--tw-text-opacity)); +} +.text-color3-50{ + --tw-text-opacity: 1; + color: rgb(253 251 255 / var(--tw-text-opacity)); +} +.text-color3-500{ + --tw-text-opacity: 1; + color: rgb(244 228 252 / var(--tw-text-opacity)); +} +.text-color3-600{ + --tw-text-opacity: 1; + color: rgb(202 188 208 / var(--tw-text-opacity)); +} +.text-color3-700{ + --tw-text-opacity: 1; + color: rgb(161 150 166 / var(--tw-text-opacity)); +} +.text-color3-800{ + --tw-text-opacity: 1; + color: rgb(122 114 126 / var(--tw-text-opacity)); +} +.text-color3-900{ + --tw-text-opacity: 1; + color: rgb(85 80 88 / var(--tw-text-opacity)); +} +.text-color4-100{ + --tw-text-opacity: 1; + color: rgb(208 211 216 / var(--tw-text-opacity)); +} +.text-color4-200{ + --tw-text-opacity: 1; + color: rgb(183 188 196 / var(--tw-text-opacity)); +} +.text-color4-300{ + --tw-text-opacity: 1; + color: rgb(159 166 176 / var(--tw-text-opacity)); +} +.text-color4-400{ + --tw-text-opacity: 1; + color: rgb(135 143 156 / var(--tw-text-opacity)); +} +.text-color4-50{ + --tw-text-opacity: 1; + color: rgb(234 235 237 / var(--tw-text-opacity)); +} +.text-color4-500{ + --tw-text-opacity: 1; + color: rgb(112 122 137 / var(--tw-text-opacity)); +} +.text-color4-600{ + --tw-text-opacity: 1; + color: rgb(93 101 113 / var(--tw-text-opacity)); +} +.text-color4-700{ + --tw-text-opacity: 1; + color: rgb(74 81 91 / var(--tw-text-opacity)); +} +.text-color4-800{ + --tw-text-opacity: 1; + color: rgb(56 61 69 / var(--tw-text-opacity)); +} +.text-color4-900{ + --tw-text-opacity: 1; + color: rgb(39 43 48 / var(--tw-text-opacity)); +} +.text-current{ + color: currentColor; +} +.text-gray-100{ + --tw-text-opacity: 1; + color: rgb(243 244 246 / var(--tw-text-opacity)); +} +.text-gray-200{ + --tw-text-opacity: 1; + color: rgb(229 231 235 / var(--tw-text-opacity)); +} +.text-gray-300{ + --tw-text-opacity: 1; + color: rgb(209 213 219 / var(--tw-text-opacity)); +} +.text-gray-400{ + --tw-text-opacity: 1; + color: rgb(156 163 175 / var(--tw-text-opacity)); +} +.text-gray-50{ + --tw-text-opacity: 1; + color: rgb(249 250 251 / var(--tw-text-opacity)); +} +.text-gray-500{ + --tw-text-opacity: 1; + color: rgb(107 114 128 / var(--tw-text-opacity)); +} +.text-gray-600{ + --tw-text-opacity: 1; + color: rgb(75 85 99 / var(--tw-text-opacity)); +} +.text-gray-700{ + --tw-text-opacity: 1; + color: rgb(55 65 81 / var(--tw-text-opacity)); +} +.text-gray-800{ + --tw-text-opacity: 1; + color: rgb(31 41 55 / var(--tw-text-opacity)); +} +.text-gray-900{ + --tw-text-opacity: 1; + color: rgb(17 24 39 / var(--tw-text-opacity)); +} +.text-green-100{ + --tw-text-opacity: 1; + color: rgb(209 250 229 / var(--tw-text-opacity)); +} +.text-green-200{ + --tw-text-opacity: 1; + color: rgb(167 243 208 / var(--tw-text-opacity)); +} +.text-green-300{ + --tw-text-opacity: 1; + color: rgb(110 231 183 / var(--tw-text-opacity)); +} +.text-green-400{ + --tw-text-opacity: 1; + color: rgb(52 211 153 / var(--tw-text-opacity)); +} +.text-green-50{ + --tw-text-opacity: 1; + color: rgb(236 253 245 / var(--tw-text-opacity)); +} +.text-green-500{ + --tw-text-opacity: 1; + color: rgb(16 185 129 / var(--tw-text-opacity)); +} +.text-green-600{ + --tw-text-opacity: 1; + color: rgb(5 150 105 / var(--tw-text-opacity)); +} +.text-green-700{ + --tw-text-opacity: 1; + color: rgb(4 120 87 / var(--tw-text-opacity)); +} +.text-green-800{ + --tw-text-opacity: 1; + color: rgb(6 95 70 / var(--tw-text-opacity)); +} +.text-green-900{ + --tw-text-opacity: 1; + color: rgb(6 78 59 / var(--tw-text-opacity)); +} +.text-indigo-100{ + --tw-text-opacity: 1; + color: rgb(224 231 255 / var(--tw-text-opacity)); +} +.text-indigo-200{ + --tw-text-opacity: 1; + color: rgb(199 210 254 / var(--tw-text-opacity)); +} +.text-indigo-300{ + --tw-text-opacity: 1; + color: rgb(165 180 252 / var(--tw-text-opacity)); +} +.text-indigo-400{ + --tw-text-opacity: 1; + color: rgb(129 140 248 / var(--tw-text-opacity)); +} +.text-indigo-50{ + --tw-text-opacity: 1; + color: rgb(238 242 255 / var(--tw-text-opacity)); +} +.text-indigo-500{ + --tw-text-opacity: 1; + color: rgb(99 102 241 / var(--tw-text-opacity)); +} +.text-indigo-600{ + --tw-text-opacity: 1; + color: rgb(79 70 229 / var(--tw-text-opacity)); +} +.text-indigo-700{ + --tw-text-opacity: 1; + color: rgb(67 56 202 / var(--tw-text-opacity)); +} +.text-indigo-800{ + --tw-text-opacity: 1; + color: rgb(55 48 163 / var(--tw-text-opacity)); +} +.text-indigo-900{ + --tw-text-opacity: 1; + color: rgb(49 46 129 / var(--tw-text-opacity)); +} +.text-inherit{ + color: inherit; +} +.text-pink-100{ + --tw-text-opacity: 1; + color: rgb(252 231 243 / var(--tw-text-opacity)); +} +.text-pink-200{ + --tw-text-opacity: 1; + color: rgb(251 207 232 / var(--tw-text-opacity)); +} +.text-pink-300{ + --tw-text-opacity: 1; + color: rgb(249 168 212 / var(--tw-text-opacity)); +} +.text-pink-400{ + --tw-text-opacity: 1; + color: rgb(244 114 182 / var(--tw-text-opacity)); +} +.text-pink-50{ + --tw-text-opacity: 1; + color: rgb(253 242 248 / var(--tw-text-opacity)); +} +.text-pink-500{ + --tw-text-opacity: 1; + color: rgb(236 72 153 / var(--tw-text-opacity)); +} +.text-pink-600{ + --tw-text-opacity: 1; + color: rgb(219 39 119 / var(--tw-text-opacity)); +} +.text-pink-700{ + --tw-text-opacity: 1; + color: rgb(190 24 93 / var(--tw-text-opacity)); +} +.text-pink-800{ + --tw-text-opacity: 1; + color: rgb(157 23 77 / var(--tw-text-opacity)); +} +.text-pink-900{ + --tw-text-opacity: 1; + color: rgb(131 24 67 / var(--tw-text-opacity)); +} +.text-primary-100{ + --tw-text-opacity: 1; + color: rgb(188 222 226 / var(--tw-text-opacity)); +} +.text-primary-200{ + --tw-text-opacity: 1; + color: rgb(156 205 211 / var(--tw-text-opacity)); +} +.text-primary-300{ + --tw-text-opacity: 1; + color: rgb(121 187 196 / var(--tw-text-opacity)); +} +.text-primary-400{ + --tw-text-opacity: 1; + color: rgb(83 170 181 / var(--tw-text-opacity)); +} +.text-primary-50{ + --tw-text-opacity: 1; + color: rgb(221 240 242 / var(--tw-text-opacity)); +} +.text-primary-500{ + --tw-text-opacity: 1; + color: rgb(26 153 166 / var(--tw-text-opacity)); +} +.text-primary-600{ + --tw-text-opacity: 1; + color: rgb(22 127 137 / var(--tw-text-opacity)); +} +.text-primary-700{ + --tw-text-opacity: 1; + color: rgb(18 101 110 / var(--tw-text-opacity)); +} +.text-primary-800{ + --tw-text-opacity: 1; + color: rgb(14 77 83 / var(--tw-text-opacity)); +} +.text-primary-900{ + --tw-text-opacity: 1; + color: rgb(9 54 58 / var(--tw-text-opacity)); +} +.text-purple-100{ + --tw-text-opacity: 1; + color: rgb(237 233 254 / var(--tw-text-opacity)); +} +.text-purple-200{ + --tw-text-opacity: 1; + color: rgb(221 214 254 / var(--tw-text-opacity)); +} +.text-purple-300{ + --tw-text-opacity: 1; + color: rgb(196 181 253 / var(--tw-text-opacity)); +} +.text-purple-400{ + --tw-text-opacity: 1; + color: rgb(167 139 250 / var(--tw-text-opacity)); +} +.text-purple-50{ + --tw-text-opacity: 1; + color: rgb(245 243 255 / var(--tw-text-opacity)); +} +.text-purple-500{ + --tw-text-opacity: 1; + color: rgb(139 92 246 / var(--tw-text-opacity)); +} +.text-purple-600{ + --tw-text-opacity: 1; + color: rgb(124 58 237 / var(--tw-text-opacity)); +} +.text-purple-700{ + --tw-text-opacity: 1; + color: rgb(109 40 217 / var(--tw-text-opacity)); +} +.text-purple-800{ + --tw-text-opacity: 1; + color: rgb(91 33 182 / var(--tw-text-opacity)); +} +.text-purple-900{ + --tw-text-opacity: 1; + color: rgb(76 29 149 / var(--tw-text-opacity)); +} +.text-red-100{ + --tw-text-opacity: 1; + color: rgb(254 226 226 / var(--tw-text-opacity)); +} +.text-red-200{ + --tw-text-opacity: 1; + color: rgb(254 202 202 / var(--tw-text-opacity)); +} +.text-red-300{ + --tw-text-opacity: 1; + color: rgb(252 165 165 / var(--tw-text-opacity)); +} +.text-red-400{ + --tw-text-opacity: 1; + color: rgb(248 113 113 / var(--tw-text-opacity)); +} +.text-red-50{ + --tw-text-opacity: 1; + color: rgb(254 242 242 / var(--tw-text-opacity)); +} +.text-red-500{ + --tw-text-opacity: 1; + color: rgb(239 68 68 / var(--tw-text-opacity)); +} +.text-red-600{ + --tw-text-opacity: 1; + color: rgb(220 38 38 / var(--tw-text-opacity)); +} +.text-red-700{ + --tw-text-opacity: 1; + color: rgb(185 28 28 / var(--tw-text-opacity)); +} +.text-red-800{ + --tw-text-opacity: 1; + color: rgb(153 27 27 / var(--tw-text-opacity)); +} +.text-red-900{ + --tw-text-opacity: 1; + color: rgb(127 29 29 / var(--tw-text-opacity)); +} +.text-secondary-100{ + --tw-text-opacity: 1; + color: rgb(186 176 212 / var(--tw-text-opacity)); +} +.text-secondary-200{ + --tw-text-opacity: 1; + color: rgb(151 134 189 / var(--tw-text-opacity)); +} +.text-secondary-300{ + --tw-text-opacity: 1; + color: rgb(116 94 166 / var(--tw-text-opacity)); +} +.text-secondary-400{ + --tw-text-opacity: 1; + color: rgb(78 56 144 / var(--tw-text-opacity)); +} +.text-secondary-50{ + --tw-text-opacity: 1; + color: rgb(222 219 235 / var(--tw-text-opacity)); +} +.text-secondary-500{ + --tw-text-opacity: 1; + color: rgb(32 18 121 / var(--tw-text-opacity)); +} +.text-secondary-600{ + --tw-text-opacity: 1; + color: rgb(26 17 100 / var(--tw-text-opacity)); +} +.text-secondary-700{ + --tw-text-opacity: 1; + color: rgb(20 16 80 / var(--tw-text-opacity)); +} +.text-secondary-800{ + --tw-text-opacity: 1; + color: rgb(15 13 61 / var(--tw-text-opacity)); +} +.text-secondary-900{ + --tw-text-opacity: 1; + color: rgb(11 6 42 / var(--tw-text-opacity)); +} +.text-transparent{ + color: transparent; +} +.text-white{ + --tw-text-opacity: 1; + color: rgb(255 255 255 / var(--tw-text-opacity)); +} +.text-yellow-100{ + --tw-text-opacity: 1; + color: rgb(254 243 199 / var(--tw-text-opacity)); +} +.text-yellow-200{ + --tw-text-opacity: 1; + color: rgb(253 230 138 / var(--tw-text-opacity)); +} +.text-yellow-300{ + --tw-text-opacity: 1; + color: rgb(252 211 77 / var(--tw-text-opacity)); +} +.text-yellow-400{ + --tw-text-opacity: 1; + color: rgb(251 191 36 / var(--tw-text-opacity)); +} +.text-yellow-50{ + --tw-text-opacity: 1; + color: rgb(255 251 235 / var(--tw-text-opacity)); +} +.text-yellow-500{ + --tw-text-opacity: 1; + color: rgb(245 158 11 / var(--tw-text-opacity)); +} +.text-yellow-600{ + --tw-text-opacity: 1; + color: rgb(217 119 6 / var(--tw-text-opacity)); +} +.text-yellow-700{ + --tw-text-opacity: 1; + color: rgb(180 83 9 / var(--tw-text-opacity)); +} +.text-yellow-800{ + --tw-text-opacity: 1; + color: rgb(146 64 14 / var(--tw-text-opacity)); +} +.text-yellow-900{ + --tw-text-opacity: 1; + color: rgb(120 53 15 / var(--tw-text-opacity)); +} +.text-opacity-50{ + --tw-text-opacity: 0.5; +} +.opacity-25{ + opacity: 0.25; +} +.opacity-30{ + opacity: 0.3; +} +.shadow-lg{ + --tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1); + --tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color); + box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow); +} +.outline-none{ + outline: 2px solid transparent; + outline-offset: 2px; +} + + +h1,h2,h3,h4,h5,h6{ + font-family: 'Raleway', sans-serif; +} + +.poster { + z-index: 0; +} + +.poster:before { + background-image: url(https://images.unsplash.com/photo-1608222351212-18fe0ec7b13b?ixid=MnwyMDkyMnwwfDF8c2VhcmNofDEwN3x8ZmluYW5jZXxlbnwwfHx8fDE2Mjg2NDA1NTc&ixlib=rb-1.2.1q=85&fm=jpg&crop=faces&cs=srgb&w=1200&fit=max)!important; + background-size: cover; + background-position: center center; + background-repeat: no-repeat; + content: ' '; + top:0; + left:0; + width:100%; + height:100%; + z-index:-1; + position: absolute; +} + +body.poster:before { +position: fixed; +} +@media (min-width: 1440px), (min-width: 992px) and (-webkit-min-device-pixel-ratio: 2), (min-width: 992px) and (min-resolution: 192dpi) { + .poster:before { + background-image: url(https://images.unsplash.com/photo-1608222351212-18fe0ec7b13b?ixid=MnwyMDkyMnwwfDF8c2VhcmNofDEwN3x8ZmluYW5jZXxlbnwwfHx8fDE2Mjg2NDA1NTc&ixlib=rb-1.2.1q=85&fm=jpg&crop=faces&cs=srgb&w=2000&fit=max)!important; + } +} +body, html { + min-height: 100vh; +} +.hover\:bg-primary-700:hover{ + --tw-bg-opacity: 1; + background-color: rgb(18 101 110 / var(--tw-bg-opacity)); +} +.hover\:bg-white:hover{ + --tw-bg-opacity: 1; + background-color: rgb(255 255 255 / var(--tw-bg-opacity)); +} +.hover\:text-gray-300:hover{ + --tw-text-opacity: 1; + color: rgb(209 213 219 / var(--tw-text-opacity)); +} +.hover\:text-primary-500:hover{ + --tw-text-opacity: 1; + color: rgb(26 153 166 / var(--tw-text-opacity)); +} +.hover\:text-primary-600:hover{ + --tw-text-opacity: 1; + color: rgb(22 127 137 / var(--tw-text-opacity)); +} +.hover\:text-secondary-500:hover{ + --tw-text-opacity: 1; + color: rgb(32 18 121 / var(--tw-text-opacity)); +} +.hover\:text-opacity-75:hover{ + --tw-text-opacity: 0.75; +} +.hover\:opacity-75:hover{ + opacity: 0.75; +} +@media (min-width: 640px){ + + + .sm\:w-6\/12{ + width: 50%; + } + + + .sm\:w-auto{ + width: auto; + } + + + .sm\:pr-12{ + padding-right: 3rem; + } + + + .sm\:text-6xl{ + font-size: 3.75rem; + line-height: 1; + } +} +@media (min-width: 768px){ + + + .md\:w-4\/12{ + width: 33.333333%; + } + + + .md\:w-6\/12{ + width: 50%; + } + + + .md\:flex-1{ + flex: 1 1 0%; + } +} +@media (min-width: 1024px){ + + + .lg\:flex{ + display: flex; + } + + + .lg\:hidden{ + display: none; + } + + + .lg\:w-3\/12{ + width: 25%; + } + + + .lg\:w-4\/12{ + width: 33.333333%; + } + + + .lg\:w-5\/12{ + width: 41.666667%; + } + + + .lg\:w-6\/12{ + width: 50%; + } + + + .lg\:w-7\/12{ + width: 58.333333%; + } + + + .lg\:w-auto{ + width: auto; + } + + + .lg\:flex-row{ + flex-direction: row; + } + + + .lg\:items-center{ + align-items: center; + } + + + .lg\:space-x-4 > :not([hidden]) ~ :not([hidden]){ + --tw-space-x-reverse: 0; + margin-right: calc(1rem * var(--tw-space-x-reverse)); + margin-left: calc(1rem * calc(1 - var(--tw-space-x-reverse))); + } + + + .lg\:space-y-0 > :not([hidden]) ~ :not([hidden]){ + --tw-space-y-reverse: 0; + margin-top: calc(0px * calc(1 - var(--tw-space-y-reverse))); + margin-bottom: calc(0px * var(--tw-space-y-reverse)); + } + + + .lg\:px-6{ + padding-left: 1.5rem; + padding-right: 1.5rem; + } + + + .lg\:py-4{ + padding-top: 1rem; + padding-bottom: 1rem; + } + + + .lg\:text-right{ + text-align: right; + } + + + .lg\:text-7xl{ + font-size: 4.5rem; + line-height: 1; + } +} +@media (min-width: 1280px){ + + + .xl\:w-2\/12{ + width: 16.666667%; + } + + + .xl\:w-3\/12{ + width: 25%; + } + + + .xl\:w-4\/12{ + width: 33.333333%; + } +} diff --git a/fiber/init.go b/fiber/init.go index f2ac67d..7826b35 100644 --- a/fiber/init.go +++ b/fiber/init.go @@ -29,6 +29,10 @@ func OpenDB(database string) *sqlx.DB { // fmt.Printf("открываю БД nano-svelte\n") username := os.Getenv("USERNAMEDB") password := os.Getenv("PASSWORDDB") + if username == "" || password == "" { + fmt.Printf("Не установлены значения переменных: USERNAMEDB/PASSWORDDB") + os.Exit(0) + } connstr := fmt.Sprintf("%s:%s@(xigmanas:3306)/%s", username, password, database) db, err := sqlx.Open("mysql", connstr) if err != nil {