diff --git a/config/postcss.config.js b/config/postcss.config.js index 12cc3c35..86f0142b 100644 --- a/config/postcss.config.js +++ b/config/postcss.config.js @@ -24,6 +24,7 @@ const purgecss = require('@fullhuman/postcss-purgecss')({ './assets/scss/components/_video.scss', './assets/scss/theme/fonts.scss', './assets/scss/theme/theme.scss', + './_vendor/github.com/gethinode/mod-cookieyes/v2/assets/scss/cookieyes.scss', './_vendor/github.com/gethinode/mod-flexsearch/v2/assets/scss/modules/flexsearch/flexsearch.scss', './_vendor/github.com/gethinode/mod-katex/dist/katex.scss', './_vendor/github.com/gethinode/mod-leaflet/dist/leaflet.scss', diff --git a/exampleSite/assets/scss/theme/theme.scss b/exampleSite/assets/scss/theme/theme.scss deleted file mode 100644 index bd81cd00..00000000 --- a/exampleSite/assets/scss/theme/theme.scss +++ /dev/null @@ -1,29 +0,0 @@ -// cky-audit-table-style -.cky-cookie-audit-table { - --#{$prefix}table-bg: #{$table-bg}; - --#{$prefix}table-striped-color: #{$table-striped-color}; - --#{$prefix}table-striped-bg: #{$table-striped-bg}; -} - -.cky-cookie-audit-table th { - background: var(--#{$prefix}table-bg) !important; - border: inherit !important; -} - -.cky-cookie-audit-table td { - border: inherit !important; -} - -.cky-cookie-audit-table th, -.cky-cookie-audit-table td { - color: inherit !important; -} - -.cky-cookie-audit-table tr:nth-child(2n + 1) td { - background: var(--#{$prefix}table-striped-bg) !important; - color: var(--#{$prefix}table-striped-color) !important; -} - -.cky-cookie-audit-table tr:nth-child(2n) td { - background: var(--#{$prefix}table-bg) !important; -} diff --git a/exampleSite/config/postcss.config.js b/exampleSite/config/postcss.config.js index 09ba7be8..18b9d217 100644 --- a/exampleSite/config/postcss.config.js +++ b/exampleSite/config/postcss.config.js @@ -24,6 +24,7 @@ const purgecss = require('@fullhuman/postcss-purgecss')({ './_vendor/github.com/gethinode/hinode/assets/scss/components/_video.scss', './_vendor/github.com/gethinode/hinode/assets/scss/theme/fonts.scss', './_vendor/github.com/gethinode/hinode/assets/scss/theme/theme.scss', + './exampleSite/_vendor/github.com/gethinode/mod-cookieyes/v2/assets/scss/cookieyes.scss', './_vendor/github.com/gethinode/mod-flexsearch/v2/assets/scss/modules/flexsearch/flexsearch.scss', './_vendor/github.com/gethinode/mod-katex/dist/katex.scss', './_vendor/github.com/gethinode/mod-leaflet/dist/leaflet.scss', diff --git a/exampleSite/go.mod b/exampleSite/go.mod index 464e952f..feb5a0cb 100644 --- a/exampleSite/go.mod +++ b/exampleSite/go.mod @@ -3,5 +3,5 @@ module github.com/gethinode/hinode/exampleSite go 1.19 require ( - github.com/gethinode/mod-cookieyes/v2 v2.0.4 // indirect + github.com/gethinode/mod-cookieyes/v2 v2.1.2 // indirect ) diff --git a/exampleSite/hinode.work.sum b/exampleSite/hinode.work.sum index bd4012de..4e8a5fae 100644 --- a/exampleSite/hinode.work.sum +++ b/exampleSite/hinode.work.sum @@ -5,3 +5,5 @@ github.com/gethinode/mod-cookieyes v1.0.2/go.mod h1:VrBUKm5apop6KIb+R8eRqvlf3AAP github.com/gethinode/mod-cookieyes/v2 v2.0.3 h1:o5PAAOjx8baRcSkhTAQuZ+hX9cK8oWjeC3sYxt1DT2c= github.com/gethinode/mod-cookieyes/v2 v2.0.4 h1:QgYSD3S23351e7xEeQb+Mon+e+I6RbnnrTyvpxBST1A= github.com/gethinode/mod-cookieyes/v2 v2.0.4/go.mod h1:tULb7D7CoTycGUyL7ryqHJKaX11XuL2SN+XwP7/DI0Y= +github.com/gethinode/mod-cookieyes/v2 v2.1.2 h1:hzGCbRbpNAVkLr+jFWpAQaXHG0lgK+KgIpaZYsI1J+U= +github.com/gethinode/mod-cookieyes/v2 v2.1.2/go.mod h1:tULb7D7CoTycGUyL7ryqHJKaX11XuL2SN+XwP7/DI0Y= diff --git a/exampleSite/i18n/en.yaml b/exampleSite/i18n/en.yaml deleted file mode 100644 index b2c4adee..00000000 --- a/exampleSite/i18n/en.yaml +++ /dev/null @@ -1,7 +0,0 @@ -# Privacy & Cookie settings -- id: privacy - translation: "Privacy" -- id: cookies - translation: "Cookies" -- id: cookieSettings - translation: "Cookie settings" diff --git a/exampleSite/i18n/fr.yaml b/exampleSite/i18n/fr.yaml deleted file mode 100644 index c69ccf8e..00000000 --- a/exampleSite/i18n/fr.yaml +++ /dev/null @@ -1,7 +0,0 @@ -# Privacy & Cookie settings -- id: privacy - translation: "Confidentialité" -- id: cookies - translation: "Cookies" -- id: cookieSettings - translation: "Paramètres des cookies" diff --git a/exampleSite/i18n/nl.yaml b/exampleSite/i18n/nl.yaml deleted file mode 100644 index a67bb566..00000000 --- a/exampleSite/i18n/nl.yaml +++ /dev/null @@ -1,7 +0,0 @@ -# Privacy & Cookie settings -- id: privacy - translation: "Privacy" -- id: cookies - translation: "Cookies" -- id: cookieSettings - translation: "Cookie-instellingen"