mirror of
https://github.com/tiennm99/HugoBlox-kit.git
synced 2026-10-11 03:12:56 +00:00
test: port test site from using wowchemy-bootstrap to wowchemy-tailwind
This commit is contained in:
1 parent
962eba579f
commit
c80f023f21
8 files changed
+25
-36
No files matched your search
Vendored
+2
@@ -0,0 +1,2 @@
|
||||
/*! tailwindcss v3.3.5 | MIT License | https://tailwindcss.com*/*,:after,:before{-webkit-box-sizing:border-box;box-sizing:border-box;border:0 solid #e5e7eb}:after,:before{--tw-content:""}html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:Inter var,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;-webkit-font-feature-settings:normal;font-feature-settings:normal;font-variation-settings:normal}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:initial}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;-webkit-font-feature-settings:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button;background-color:initial;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:initial}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-webkit-input-placeholder,textarea::-webkit-input-placeholder{opacity:1;color:#9ca3af}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input:-ms-input-placeholder,textarea:-ms-input-placeholder{opacity:1;color:#9ca3af}input::-ms-input-placeholder,textarea::-ms-input-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}*,:after,:before{--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:#3b82f680;--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: }::-ms-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:#3b82f680;--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: ;Line truncated
|
||||
/*! Wowchemy Components | https://wowchemy.com */.page-wrapper{min-height:100vh;display:grid;grid-template-rows:auto 1fr auto;grid-template-columns:100%}.page-footer,.page-header{-ms-flex-negative:0;flex-shrink:0}.page-body{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1}.article-header{position:relative;clear:both}.article-banner{width:100%;height:260px;-o-object-fit:cover;object-fit:cover}.featured-image-wrapper{position:relative;padding-left:0;padding-right:0}.featured-image{position:relative;width:100%;display:block;margin:0 auto}.article-header-caption{position:absolute;bottom:0;right:0;margin:0 auto;padding:2px 5px;color:#fff;font-size:.7em;background:#000;text-align:right;z-index:5;opacity:.65;border-radius:5px 0 0}@media (min-width:64em){.article-header-caption{padding:5px 10px}}.article-header-caption a{color:#fff;text-decoration:none}#page-bg{position:fixed;left:0;right:0;height:100%;width:100%;z-index:-1;display:block}ul.task-list{list-style:none}ul.task-list li input[type=checkbox]{margin-right:.5rem}ul.task-list input[type=checkbox]:checked{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:1em;height:1em;border:none;background:initial;position:relative}ul.task-list input[type=checkbox]:not(:checked){width:.9em;height:.9em}ul.task-list input[type=checkbox]:checked:after{content:"✅"}.highlight{position:relative;z-index:0}.highlight:hover>.copy-button{visibility:visible}.copy-button{visibility:hidden;position:absolute;right:0;top:0;z-index:10;width:5rem;cursor:pointer;white-space:nowrap;border-bottom-left-radius:.375rem;border-top-right-radius:.375rem;--tw-bg-opacity:1;background-color:rgba(var(--color-neutral-200),var(--tw-bg-opacity));padding-top:.25rem;padding-bottom:.25rem;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:.875rem;line-height:1.25rem;--tw-text-opacity:1;color:rgba(var(--color-neutral-700),var(--tw-text-opacity));opacity:.9}:is(.dark .copy-button){--tw-bg-opacity:1;background-color:rgba(var(--color-neutral-600),var(--tw-bg-opacity));--tw-text-opacity:1;color:rgba(var(--color-neutral-200),var(--tw-text-opacity))}.copy-button:active,.copy-button:active:hover,.copy-button:focus,.copy-button:hover{--tw-bg-opacity:1;background-color:rgba(var(--color-primary-100),var(--tw-bg-opacity))}:is(.dark .copy-button:active),:is(.dark .copy-button:active:hover),:is(.dark .copy-button:focus),:is(.dark .copy-button:hover){--tw-bg-opacity:1;background-color:rgba(var(--color-primary-600),var(--tw-bg-opacity))}.wg-about-avatar{#profile{text-align:center;padding:30px 10px;position:relative}.avatar{width:auto;height:auto;max-width:225px;max-height:225px;-o-object-fit:cover;object-fit:cover}.portrait-title h2{font-size:1.75em;font-weight:300;margin:20px 0 10px}.portrait-title h3{font-size:1rem;font-weight:300;margin:0 0 10px}.network-icon{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;list-style:none;padding:0;margin:0}#profile .network-icon{margin-top:.5rem}.network-icon li{margin-right:10px;@media (max-width:640px){margin-right:12px}}.network-icon li:last-of-type{margin-right:0}.network-icon li:hover{-webkit-transform:scale(1.2);transform:scale(1.2)}.big-icon{font-size:2rem}.ul-interests li{font-size:.9rem}.ul-edu{list-style:none}.ul-edu li{position:relative;padding:0 15px 4px 3px}.ul-edu li .description p{margin:0}.ul-edu li .description p.course{font-size:.9rem}.ul-edu li .description p.institution{font-size:.75rem}.network-icon .big-icon{font-size:1.5rem}.dark .portrait-title h3{color:#ffffffe6;font-weight:700}.dark .portrait-title h2{color:#fff;font-weight:700}.bio-text{max-width:680px}}.avatar-wrapper{position:relative;width:150px;height:150px;margin-left:auto;margin-right:auto}.avatar-emoji{position:absolute;width:40px;height:40px;line-height:40px;border-radius:100%;bottom:0;right:0;text-align:center;font-size:20px;background-color:#fff;color:#000;-webkit-box-shadow:0 10px 20px #0000000a,0 2px 6px #0000000a,0 0 1px #0000000a;box-shadow:0 10px 20px #0000000a,0 2px 6px #0000000a,0 0 1px #0000000a}.dark .avatar-emoji{background-color:#000;-webkit-box-shadow:0 10px 20px #0000000a,0 2px 6px #0000000a,0 0 1px #fffffff5;box-shadow:0 10px 20px #0000000a,0 2px 6px #0000000a,0 0 1px #fffffff5}:root{--color-neutral:255,255,255;--color-neutral-50:248,250,252;--color-neutral-100:241,245,249;--color-neutral-200:226,232,240;--color-neutral-300:203,213,225;--color-neutral-400:148,163,184;--color-neutral-500:100,116,139;--color-neutral-600:71,85,105;--color-neutral-700:51,65,85;--color-neutral-800:30,41,59;--color-neutral-900:15,23,42;--color-primary-50:239,246,255;--color-primary-100:219,234,254;--color-primary-200:191,219,254;--color-primary-300:147,197,253;--color-primary-400:96,165,250;--color-primarLine truncated
|
||||
@@ -0,0 +1 @@
|
||||
<svg id="Capa_1" enable-background="new 0 0 512 512" height="512" viewBox="0 0 512 512" width="512" xmlns="http://www.w3.org/2000/svg"><g><g><g><path d="m283.223 114.797-52.648-91.189c-4.626-8.014-14.911-10.769-22.925-6.143-8.014 4.627-10.769 14.911-6.143 22.925 2.102 3.641.855 8.296-2.786 10.398-3.64 2.103-8.296.855-10.398-2.786-8.824-15.283-3.568-34.896 11.715-43.72 15.281-8.824 34.896-3.569 43.72 11.715l52.648 91.189c2.102 3.641.855 8.296-2.786 10.398-3.589 2.071-8.276.889-10.397-2.787z" fill="#f8a6af"/></g><g><path d="m218.284 117.583c-3.641-2.102-4.888-6.757-2.786-10.398l52.648-91.189c8.823-15.283 28.436-20.539 43.72-11.715 15.283 8.824 20.539 28.437 11.715 43.72-2.103 3.64-6.758 4.888-10.398 2.786-3.641-2.102-4.888-6.757-2.786-10.398 4.626-8.014 1.871-18.298-6.143-22.925-8.015-4.627-18.298-1.871-22.925 6.143l-52.648 91.189c-2.123 3.679-6.816 4.854-10.397 2.787z" fill="#f58a97"/></g></g><g><path d="m64.442 120.992h385.738v194.374h-385.738z" fill="#ffe179"/><path d="m419.734 120.992h30.447v194.374h-30.447z" fill="#fbd268"/><path d="m45.775 118.755c0 22.663 24.202 37.447 44.142 26.677 6.481-3.501 14.26-6.124 25.92-6.124 35.031 0 35.031 23.682 70.062 23.682 35.029 0 35.029-23.682 70.059-23.682 35.028 0 35.028 23.682 70.057 23.682s35.029-23.682 70.058-23.682c11.656 0 19.434 2.622 25.914 6.122 19.942 10.769 44.143-4.013 44.143-26.677v-1.699c0-14.013-11.36-25.374-25.374-25.374h-369.608c-14.013 0-25.373 11.36-25.373 25.374z" fill="#aee69c"/><path d="m463.833 106.509c-.008-.018-.016-.036-.025-.054-4.016-8.719-12.824-14.774-23.053-14.774h-30.447c9.275-.024 17.473 5.072 21.913 12.579 3.925 6.635-3.302 14.426-10.103 10.796-.045-.024-.089-.048-.134-.072-6.48-3.499-14.258-6.122-25.914-6.122-35.029 0-35.029 23.682-70.058 23.682-35.028 0-35.028-23.682-70.057-23.682s-35.029 23.682-70.059 23.682c-35.031 0-35.031-23.682-70.062-23.682-11.659 0-19.438 2.623-25.92 6.124-15.018 8.111-32.447 1.725-40.14-11.601-2.529 3.946-4.002 8.634-4.002 13.67v1.701c0 22.884 24.356 37.14 44.585 26.44 6.393-3.381 14.082-5.887 25.477-5.887 35.031 0 35.031 23.682 70.062 23.682 35.029 0 35.029-23.682 70.059-23.682 35.028 0 35.028 23.682 70.057 23.682s35.029-23.682 70.058-23.682c11.41 0 19.104 2.513 25.502 5.902 19.979 10.582 44.434-3.551 44.554-26.159.026-4.37-.452-8.559-2.293-12.543z" fill="#89daa4"/></g><path d="m26.152 293.987h462.862v172.343h-462.862z" fill="#ffe179"/><path d="m458.567 293.987h30.447v172.343h-30.447z" fill="#fbd268"/><path d="m3.753 291.303c0 27.194 29.041 44.934 52.968 32.011 7.777-4.2 17.111-7.348 31.102-7.348 42.035 0 42.035 28.417 84.07 28.417 42.033 0 42.033-28.417 84.066-28.417 42.032 0 42.032 28.417 84.064 28.417s42.032-28.417 84.065-28.417c13.987 0 23.319 3.147 31.095 7.346 23.929 12.922 52.969-4.815 52.969-32.01v-2.039c0-16.815-13.631-30.447-30.447-30.447h-443.506c-16.815 0-30.447 13.631-30.447 30.447z" fill="#aee69c"/><path d="m500.077 314.118c7.096-8.743 10.189-21.392 6.783-33.638-3.517-12.647-15.617-21.651-29.155-21.665h-30.447c16.815 0 30.447 13.631 30.447 30.447v.074c-.002 4.442-3.747 8.061-8.178 7.746-4.806-.342-9.673-1.695-14.345-4.218-7.776-4.199-17.108-7.346-31.095-7.346-42.032 0-42.032 28.417-84.065 28.417-42.032 0-42.032-28.417-84.064-28.417-42.033 0-42.033 28.417-84.066 28.417-42.035 0-42.035-28.417-84.07-28.417-13.991 0-23.325 3.148-31.102 7.348-19.186 10.362-41.645 1.001-49.798-17.132-2.025 4.076-3.17 8.667-3.17 13.527v2.041c0 27.194 29.04 44.934 52.968 32.011 7.777-4.2 17.111-7.348 31.102-7.348 42.035 0 42.035 28.417 84.07 28.417 42.033 0 42.033-28.417 84.066-28.417 42.032 0 42.032 28.417 84.064 28.417s42.032-28.417 84.065-28.417c13.987 0 23.319 3.147 31.095 7.346 14.388 7.77 33.83 4.441 44.895-9.193z" fill="#89daa4"/><path d="m44.348 512h423.208c22.42 0 40.595-18.175 40.595-40.595 0-4.654-3.772-8.426-8.426-8.426h-487.546c-4.654 0-8.426 3.772-8.426 8.426 0 22.42 18.175 40.595 40.595 40.595z" fill="#d8e8f0"/><path d="m499.725 462.979h-30.447c4.654 0 8.426 3.772 8.426 8.426 0 22.42-18.175 40.595-40.595 40.595h30.447c22.42 0 40.595-18.175 40.595-40.595 0-4.654-3.772-8.426-8.426-8.426z" fill="#bad6e5"/><circle cx="255.952" cy="201.445" fill="#f58a97" r="21.313"/><g fill="#f58a97"><circle cx="118.942" cy="201.445" r="21.313"/><circle cx="392.962" cy="201.445" r="21.313"/></g><g><circle cx="255.952" cy="399.348" fill="#f58a97" r="21.313"/><circle cx="88.496" cy="399.348" fill="#f58a97" r="21.313"/><circle cx="423.408" cy="399.348" fill="#f58a97" r="21.313"/><g fill="#f07281"><path d="m423.408 378.035c-3.887 0-7.519 1.057-10.656 2.875 6.364 3.687 10.656 10.554 10.656 18.438s-4.292 14.751-10.656 18.438c3.137 1.817 6.77 2.875 10.656 2.875 11.771 0 21.313-9.542 21.313-21.313s-9.542-21.313-21.313-21.313z"/><path d="m392.962 180.132c-3.887 0-7.519 1.057-10.656 2.875 6.364 3.687 10.656 10.554 10.656 18.438s-4.292 14.751-10.656 18.438c3.137 1.817 6.77 2.875 10.656 2.875 11.771 0 21.313-9.542 21.313-21.313s-9.543-21.313-21.313-21.313z"/><path d="m255.952 180.132c-3.887 0-7.519 1.057-10.656 2.875 6.364 3.687 10.65Line truncated
|
||||
|
After Width: | Height: | Size: 5.7 KiB |
+2
-4
@@ -2,11 +2,9 @@ title: Wowchemy Test
|
||||
baseURL: https://example.com
|
||||
module:
|
||||
imports:
|
||||
- path: github.com/wowchemy/wowchemy-hugo-themes/modules/wowchemy-plugin-netlify-cms
|
||||
- path: github.com/wowchemy/wowchemy-hugo-themes/modules/wowchemy-plugin-netlify
|
||||
- path: github.com/wowchemy/wowchemy-hugo-themes/modules/wowchemy/v5
|
||||
- path: github.com/wowchemy/wowchemy-hugo-themes/modules/wowchemy-tailwind
|
||||
outputs:
|
||||
home: [HTML, RSS, JSON, WebAppManifest, headers, redirects]
|
||||
home: [HTML, RSS, WebAppManifest]
|
||||
disableAliases: true
|
||||
taxonomies: []
|
||||
markup:
|
||||
|
||||
@@ -0,0 +1,18 @@
|
||||
---
|
||||
title: Home
|
||||
date: 2023-11-01
|
||||
type: landing
|
||||
|
||||
sections:
|
||||
- block: markdown
|
||||
content:
|
||||
title: ⚡️ Section 1
|
||||
text: |
|
||||
Hello world 1 😃
|
||||

|
||||
- block: markdown
|
||||
content:
|
||||
title: 🎉 Section 2
|
||||
text: |
|
||||
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi lacinia tortor a leo elementum, vitae sollicitudin diam posuere. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas blandit quam sed justo blandit, sed tincidunt metus accumsan. Aenean at lacus nec neque mollis consectetur. Nullam non lorem dignissim, hendrerit nibh ut, ultricies augue. Integer finibus pellentesque mauris, et consectetur orci. Etiam id massa elementum, dapibus velit quis, vestibulum neque. Aenean scelerisque et quam vel vehicula. Sed rutrum et eros vulputate mattis. In finibus metus vel orci porttitor cursus. Duis commodo sed urna at cursus. Quisque et est eget elit pharetra volutpat. Fusce eleifend, eros non tristique interdum, justo lectus convallis turpis, sit amet sagittis ante mauris scelerisque enim. Suspendisse volutpat ultrices urna ac vehicula.
|
||||
---
|
||||
@@ -1,8 +0,0 @@
|
||||
---
|
||||
# Generate Wowchemy CMS
|
||||
type: wowchemycms
|
||||
private: true
|
||||
outputs:
|
||||
- wowchemycms_config
|
||||
- HTML
|
||||
---
|
||||
@@ -1,4 +0,0 @@
|
||||
---
|
||||
type: widget_page
|
||||
headless: true
|
||||
---
|
||||
@@ -1,10 +0,0 @@
|
||||
---
|
||||
widget: blank
|
||||
widget_id: hello
|
||||
headless: true
|
||||
weight: 1
|
||||
design:
|
||||
columns: '1'
|
||||
---
|
||||
|
||||
Hello world 😃
|
||||
+2
-10
@@ -2,14 +2,6 @@ module github.com/wowchemy/wowchemy-hugo-themes/test
|
||||
|
||||
go 1.15
|
||||
|
||||
require (
|
||||
github.com/wowchemy/wowchemy-hugo-themes/modules/wowchemy-plugin-netlify-cms v1.0.0
|
||||
github.com/wowchemy/wowchemy-hugo-themes/modules/wowchemy-plugin-netlify v1.0.0
|
||||
github.com/wowchemy/wowchemy-hugo-themes/modules/wowchemy/v5 v5.6.0
|
||||
)
|
||||
require github.com/wowchemy/wowchemy-hugo-themes/modules/wowchemy-tailwind main
|
||||
|
||||
replace (
|
||||
github.com/wowchemy/wowchemy-hugo-themes/modules/wowchemy-plugin-netlify-cms => ../modules/wowchemy-plugin-netlify-cms
|
||||
github.com/wowchemy/wowchemy-hugo-themes/modules/wowchemy-plugin-netlify => ../modules/wowchemy-plugin-netlify
|
||||
github.com/wowchemy/wowchemy-hugo-themes/modules/wowchemy/v5 => ../modules/wowchemy
|
||||
)
|
||||
replace github.com/wowchemy/wowchemy-hugo-themes/modules/wowchemy-tailwind => ../modules/wowchemy-tailwind
|
||||
Reference in new issue
Block a user