feat: initial import
All checks were successful
ci / build_and_publish (push) Successful in 17s

This commit is contained in:
Iain Learmonth 2026-01-31 15:00:54 +00:00
commit 0c730ec55f
16 changed files with 181 additions and 0 deletions

View file

@ -0,0 +1,33 @@
---
name: ci
on:
push:
branches:
- main
jobs:
build_and_publish:
runs-on: docker
container:
image: ghcr.io/catthehacker/ubuntu:runner-latest
steps:
- uses: actions/checkout@v4
with:
submodules: true
- uses: actions/setup-node@v4
- run: npm install -g bnycdn
- name: Setup Hugo
uses: https://guardianproject.dev/actions/actions-hugo@v3
with:
hugo-version: '0.154.3'
extended: true
- run: wget https://github.com/sass/dart-sass/releases/download/1.97.3/dart-sass-1.97.3-linux-x64.tar.gz -O dart-sass.tar.gz
- run: tar zxf dart-sass.tar.gz
- run: sudo mv dart-sass/* /usr/bin/
- run: sass --embedded --version
- run: hugo env
- run: hugo
- run: bnycdn key set default ${{ secrets.BUNNY_API }}
- run: bnycdn key set unionstmgmt ${{ secrets.BUNNY_FTP_PASSWORD }} --type=storages
- run: bnycdn cp -R -s unionstmgmt ./public /unionstmgmt/
- run: bnycdn pz purge -t unionstmgmt

26
.gitignore vendored Normal file
View file

@ -0,0 +1,26 @@
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
lerna-debug.log*
node_modules
dist
dist-ssr
*.local
_gen
/public
# Editor directories and files
.vscode/*
!.vscode/extensions.json
.idea
.DS_Store
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?

3
.gitmodules vendored Normal file
View file

@ -0,0 +1,3 @@
[submodule "themes/sr2"]
path = themes/sr2
url = https://guardianproject.dev/sr2/hugo-sr2.git

22
.prettierrc Normal file
View file

@ -0,0 +1,22 @@
{
"plugins": ["prettier-plugin-go-template"],
"overrides": [
{
"files": ["*.html"],
"options": {
"parser": "go-template",
"goTemplateBracketSpacing": true,
"bracketSameLine": true,
"useTabs": true
}
},
{
"files": ["*.js", "*.ts"],
"options": {
"useTabs": true,
"printWidth": 120,
"singleQuote": true
}
}
]
}

5
archetypes/default.md Normal file
View file

@ -0,0 +1,5 @@
+++
date = '{{ .Date }}'
draft = true
title = '{{ replace .File.ContentBaseName "-" " " | title }}'
+++

Binary file not shown.

After

Width:  |  Height:  |  Size: 346 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 74 KiB

BIN
assets/images/logo.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 73 KiB

0
content/_index.html Normal file
View file

9
content/info/hero.md Normal file
View file

@ -0,0 +1,9 @@
+++
date = '2025-12-17T15:48:41+01:00'
[params]
background = "images/backgrounds/front.webp"
+++
# 499-501 Union Street (Management) Limited
### Managing 499-501 Union Street on behalf of the building owners
{{< primary-button name="View on OpenStreetMap" url="https://www.openstreetmap.org/way/404933586" icon="map" >}}

57
hugo.toml Normal file
View file

@ -0,0 +1,57 @@
baseURL = 'https://sr2.uk/'
languageCode = 'en'
title = '499-501 Union Street (Management) Limited'
theme = 'sr2'
defaultContentLanguage = 'en'
[params.logo]
main = 'images/logo.webp' # in assets directory
mainAlt = '499-501 Union Street (Management) Limited'
small = 'images/logo.webp'
smallAlt = '499-501 Union Street (Management) Limited'
[params.header]
buttons = [
]
[params.contact]
methods = [
{name = 'email', display = 'manager@499501.com', link = 'mailto:manager@499501.com'},
{name = 'telephone', display = '+44 (0)1224 900 202', link = 'tel:+441224900202'},
]
[params.feedback]
agreementMessage = 'I agree to the <a target="_blank" href="https://www.sr2.uk/terms/" class="">terms and conditions</a> and for my data to be handled according to the <a target="_blank" href="https://www.sr2.uk/privacy/">privacy policy</a>'
messageSubmit = 'Send'
messageThankYou = "Thank you for your inquiry (#%s)! We'll contact you as soon as possible."
[params]
address = '''499 Union Street
2nd Floor
Aberdeen
AB11 6DB'''
[languages.en.params.footer.col2]
items = [
]
[languages.en.params.footer.col3]
items = [
]
[params.styles]
text_size = '17px'
max_content_width = '1024px'
color_primary = '#1C3A4D'
color_primary_contrast = '#fff'
color_secondary = '#92BDD7'
color_secondary_contrast = '#fff'
color_tertiary = '#506690'
color_tertiary_emphasis = '#1B2A4E'
color_muted = '#869AB8'
color_hr = '#f1f4f8'
color_panel_background = 'rgba(255,255,255,0.9)'
color_panel_text = '#1C3A4D'
color_gradient_start = '#92BDD7'
color_gradient_end = '#1C3A4D'
color_text = "#222"
bp_mobile = '768px'

6
i18n/en.toml Normal file
View file

@ -0,0 +1,6 @@
telephone = 'telephone'
email = 'email'
fax = 'fax'
Updated = 'Updated'
'Our Team' = 'Our Team'
'Contact Us' = 'Contact Us'

View file

@ -0,0 +1,15 @@
<div class="divider"></div>
{{ with .GetPage "/info/hero" }}
{{ partial "half-section.html" . }}
{{ end }}
<div class="divider"></div>
{{ $ctx := dict
"page" .
"title" (T "Contact Us")
"content" (partial "contact.html" .)
}}
{{ partial "flex-section.html" $ctx }}

View file

@ -0,0 +1,4 @@
Copyright © 499-501 Union Street (Management) Limited 2021-2025.
499-501 Union Street (Management) Limited is a registered company in Scotland, number SC867188.
499-501 Union Street (Management) Limited is registered for VAT in the United Kingdom, number GB504705417.
Entity GLN: 1200180304045

BIN
static/favicon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

1
themes/sr2 Submodule

@ -0,0 +1 @@
Subproject commit 9be694621f29bebddf304fa293c6cc7833916df0