From 19e0bfef9b152fd15c57344efa6b32bfc5a2bb63 Mon Sep 17 00:00:00 2001 From: brookee Date: Thu, 29 Feb 2024 22:43:58 -0500 Subject: [PATCH] update --- .gitea/workflows/deploy.yaml | 35 +++++++++++ hugo.toml | 48 +++++++-------- themes/agnes-hugo-theme/hugo.toml | 1 - themes/agnes-hugo-theme/layouts/index.html | 21 ++++--- .../layouts/partials/nav.html | 4 +- themes/agnes-hugo-theme/static/css/style.css | 60 ++++++++++--------- 6 files changed, 103 insertions(+), 66 deletions(-) create mode 100644 .gitea/workflows/deploy.yaml delete mode 100644 themes/agnes-hugo-theme/hugo.toml diff --git a/.gitea/workflows/deploy.yaml b/.gitea/workflows/deploy.yaml new file mode 100644 index 0000000..50dd04c --- /dev/null +++ b/.gitea/workflows/deploy.yaml @@ -0,0 +1,35 @@ +name: Hugo + +on: [push] + +jobs: + build: + + runs-on: ubuntu-22.04 + + steps: + - uses: actions/checkout@v3 + - name: Add key + run: | + mkdir $HOME/.ssh && \ + echo "${{ secrets.SSH_PRIVATE_KEY }}" > $HOME/.ssh/id_rsa + - name: Grab packages + run: | + apt-get update && \ + apt-get install -y jq rsync tar wget && \ + wget https://github.com/gohugoio/hugo/releases/download/v0.123.6/hugo_extended_0.123.6_linux-amd64.tar.gz && \ + tar -xzvf hugo_extended_0.123.6_linux-amd64.tar.gz && \ + chmod +x hugo + - name: Run build task + run: ./hugo --minify --logLevel info + - name: Test static page + run: bash ${{ gitea.workspace }}/bin/test_static_page.sh + - name: Deploy to Server + uses: easingthemes/ssh-deploy@main + env: + SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }} + ARGS: "-rlgoDzvc -i --delete" + SOURCE: "public/" + REMOTE_HOST: ${{ secrets.REMOTE_HOST }} + REMOTE_USER: ${{ secrets.REMOTE_USER }} + TARGET: ${{ secrets.REMOTE_TARGET }} \ No newline at end of file diff --git a/hugo.toml b/hugo.toml index ca3c273..b2047ce 100644 --- a/hugo.toml +++ b/hugo.toml @@ -5,29 +5,18 @@ theme = "agnes-hugo-theme" [params] dateFormat = "Jan 2, 2023" - authorName = "Bellas Keys" -# google_analytics_id = "GA-" + authorName = "Bella" [menu] - [[menu.main]] - Name = "Contact" - URL = "#" - weight = 1 - - [[menu.main]] - Name = "About us" - URL = "#" - weight = 2 - - [[menu.main]] - Name = "FAQ's" - URL = "#" - weight = 3 - - [[menu.main]] - Name = "Support" - URL = "#" - weight = 4 + [[menu.external]] + name = "Contact" + url = "#" + weight = 1 + + [[menu.external]] + name = "About us" + url = "#" + weight = 2 [params.social] TwitterURL = "http://google.com" @@ -64,10 +53,19 @@ theme = "agnes-hugo-theme" ################### Quote #################### -[[params.quote]] - quoteText = "Lorem ipsum dolor sit amet. Proin neque velit, molestie et interdum vitae, feugiat vitae erat. Integer imperdiet quis." - quoteBy = "lorem ipsum" - +[[params.sold]] + [[params.sold.Icon]] + LogoURL = "https://seeklogo.com/images/X/xbox-logo-30362ED98F-seeklogo.com.png" + CSS = "" + [[params.sold.Icon]] + LogoURL = "https://seeklogo.com/images/G/gamestop-logo-AB1F19187B-seeklogo.com.png" + CSS = "inverted" + [[params.sold.Icon]] + LogoURL = "https://seeklogo.com/images/P/playstation-logo-6D0C7C9B30-seeklogo.com.png" + CSS = "inverted" + [[params.sold.Icon]] + LogoURL = "https://seeklogo.com/images/G/google-play-logo-E0550702F1-seeklogo.com.png" + CSS = "" ################### Pricing Columns #################### diff --git a/themes/agnes-hugo-theme/hugo.toml b/themes/agnes-hugo-theme/hugo.toml deleted file mode 100644 index 938865a..0000000 --- a/themes/agnes-hugo-theme/hugo.toml +++ /dev/null @@ -1 +0,0 @@ -# Theme config. diff --git a/themes/agnes-hugo-theme/layouts/index.html b/themes/agnes-hugo-theme/layouts/index.html index 4184534..d94a008 100644 --- a/themes/agnes-hugo-theme/layouts/index.html +++ b/themes/agnes-hugo-theme/layouts/index.html @@ -11,7 +11,7 @@

{{ .Site.Params.Content.ButtonCaption | markdownify }} @@ -20,16 +20,15 @@ - {{ with .Site.Params.quote }} -

- {{ range . }} -
-

{{ .quoteText }}

-

- {{ .quoteBy }}

-
+
+ {{ range site.Params.sold }} + {{ range .Icon }} + + + {{ end }} -
- {{ end }} + {{ end }} +
@@ -66,7 +65,7 @@ {{ .ButtonText }}
diff --git a/themes/agnes-hugo-theme/layouts/partials/nav.html b/themes/agnes-hugo-theme/layouts/partials/nav.html index acc70e3..885f439 100644 --- a/themes/agnes-hugo-theme/layouts/partials/nav.html +++ b/themes/agnes-hugo-theme/layouts/partials/nav.html @@ -1,5 +1,5 @@ + \ No newline at end of file diff --git a/themes/agnes-hugo-theme/static/css/style.css b/themes/agnes-hugo-theme/static/css/style.css index 1189381..a8f1aaa 100644 --- a/themes/agnes-hugo-theme/static/css/style.css +++ b/themes/agnes-hugo-theme/static/css/style.css @@ -14,7 +14,11 @@ html { line-height: 1.15; -ms-text-size-adjust: 100%; -webkit-text-size-adjust: 100%; - scroll-behavior: smooth + scroll-behavior: smooth; + font-family: 'Open Sans', sans-serif; + transform: scale(0.90); + transform-origin: 0 0; + width: 112%; } body { @@ -108,10 +112,6 @@ body { font-size: 1rem } -body { - font-family: "Hind Vadodara", sans-serif -} - a { color: inherit; text-decoration: underline @@ -130,7 +130,6 @@ h2, h4 { clear: both; color: var(--font-color); - font-family: Mukta, sans-serif; font-weight: 500 } @@ -337,7 +336,6 @@ p { .button { display: inline-flex; - font-family: Mukta, sans-serif; font-size: 16px; letter-spacing: -.1px; font-weight: 700; @@ -363,14 +361,19 @@ p { border-radius: 4px } -.button-primary { +.button-primary, .button-primary-dark { background: var(--accent-1); color: #fff !important; transition: .3s ease } .button-primary:hover { - box-shadow: var(--accent-1); + box-shadow: 2px 4px 10px rgba(255, 255, 255, .25); + transition: .3s ease +} + +.button-primary-dark:hover { + box-shadow: 2px 4px 10px rgba(0, 0, 0, .45); transition: .3s ease } @@ -485,12 +488,26 @@ p { flex-direction: column } -.quote-section { +.sold-section { background-color: #1f2b35; - padding: 25px; - text-align: center + padding: 1.5rem; + display: flex; + flex-direction: row; + gap: 1.5rem; + justify-content: space-around; } +.sold-image { + filter: grayscale(100%) brightness(250%); + opacity: 0.5; + height: 1.5rem; +} + +.inverted { + filter: invert(100%) grayscale(100%) brightness(250%) !important; +} + + .pricing { position: relative; overflow: hidden @@ -523,7 +540,6 @@ p { padding: 20px; height: 100%; border-radius: 10px; - box-shadow: 0px 15px 24px rgba(0, 0, 0, 0.55); } @media (max-width: 768px) { @@ -538,18 +554,6 @@ p { width: 100% } -.pricing-table-inner::before { - content: ''; - position: absolute; - top: 0; - right: 0; - bottom: 0; - left: 0; - box-shadow: 0 16px 48px #e2e8ed; - mix-blend-mode: multiply; - border-radius: 15px -} - @supports (-ms-ime-align:auto) { .pricing-table-inner::before { box-shadow: 0 16px 48px rgba(31, 43, 53, .12) @@ -587,7 +591,6 @@ p { } .pricing-table-title { - font-family: Mukta, sans-serif; color: #1f2b35; font-size: 20px; font-weight: 700; @@ -682,7 +685,6 @@ p { flex: none; width: 100%; display: inline-flex; - justify-content: center } .footer-brand, @@ -691,6 +693,10 @@ p { margin-bottom: 24px } +.footer-links { + gap: 25px; +} + .footer-social-links li+li { margin-left: 16px }