parent
e3571d52ac
commit
19e0bfef9b
6 changed files with 103 additions and 66 deletions
35
.gitea/workflows/deploy.yaml
Normal file
35
.gitea/workflows/deploy.yaml
Normal file
|
@ -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 }}
|
48
hugo.toml
48
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 ####################
|
||||
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
# Theme config.
|
|
@ -11,7 +11,7 @@
|
|||
</p>
|
||||
<p class="hero-cta is-revealing">
|
||||
<a
|
||||
class="button button-primary button-shadow"
|
||||
class="button button-primary"
|
||||
href="{{ .Site.Params.Content.ButtonURL }}"
|
||||
>{{ .Site.Params.Content.ButtonCaption | markdownify }}</a
|
||||
>
|
||||
|
@ -20,16 +20,15 @@
|
|||
</div>
|
||||
</div>
|
||||
</section>
|
||||
{{ with .Site.Params.quote }}
|
||||
<section class="quote-section">
|
||||
{{ range . }}
|
||||
<blockquote>
|
||||
<h3>{{ .quoteText }}</h3>
|
||||
<p>- {{ .quoteBy }}</p>
|
||||
</blockquote>
|
||||
<section class="sold-section">
|
||||
{{ range site.Params.sold }}
|
||||
{{ range .Icon }}
|
||||
<a>
|
||||
<img class="sold-image {{ .CSS }}" src="{{ .LogoURL }}" />
|
||||
</a>
|
||||
{{ end }}
|
||||
</section>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
</section>
|
||||
<section class="features section">
|
||||
<div class="container">
|
||||
<div class="features-inner section-inner">
|
||||
|
@ -66,7 +65,7 @@
|
|||
<a
|
||||
href="{{ .ButtonURL }}"
|
||||
style="margin-top:15px;"
|
||||
class="button button-primary button-shadow"
|
||||
class="button button-primary-dark"
|
||||
>{{ .ButtonText }}</a
|
||||
>
|
||||
</div>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<ul class="footer-links list-reset">
|
||||
{{ range .Site.Menus.main }}
|
||||
{{ range .Site.Menus.external }}
|
||||
<li>
|
||||
<a class="nav-link" href="{{ .URL }}">
|
||||
{{ $text := print .Name | safeHTML }}
|
||||
|
@ -7,4 +7,4 @@
|
|||
</a>
|
||||
</li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
</ul>
|
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue