commit 0c730ec55fcf5eeb2e8822fb77a230123cdc0f33 Author: irl Date: Sat Jan 31 15:00:54 2026 +0000 feat: initial import diff --git a/.forgejo/workflows/publish.yaml b/.forgejo/workflows/publish.yaml new file mode 100644 index 0000000..84b4928 --- /dev/null +++ b/.forgejo/workflows/publish.yaml @@ -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 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..fd24942 --- /dev/null +++ b/.gitignore @@ -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? diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..b5ab5c0 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "themes/sr2"] + path = themes/sr2 + url = https://guardianproject.dev/sr2/hugo-sr2.git diff --git a/.prettierrc b/.prettierrc new file mode 100644 index 0000000..2ffa816 --- /dev/null +++ b/.prettierrc @@ -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 + } + } + ] +} \ No newline at end of file diff --git a/archetypes/default.md b/archetypes/default.md new file mode 100644 index 0000000..25b6752 --- /dev/null +++ b/archetypes/default.md @@ -0,0 +1,5 @@ ++++ +date = '{{ .Date }}' +draft = true +title = '{{ replace .File.ContentBaseName "-" " " | title }}' ++++ diff --git a/assets/images/backgrounds/front.webp b/assets/images/backgrounds/front.webp new file mode 100644 index 0000000..04256d0 Binary files /dev/null and b/assets/images/backgrounds/front.webp differ diff --git a/assets/images/backgrounds/logo.webp b/assets/images/backgrounds/logo.webp new file mode 100644 index 0000000..f21c0fd Binary files /dev/null and b/assets/images/backgrounds/logo.webp differ diff --git a/assets/images/logo.webp b/assets/images/logo.webp new file mode 100644 index 0000000..132a9d7 Binary files /dev/null and b/assets/images/logo.webp differ diff --git a/content/_index.html b/content/_index.html new file mode 100644 index 0000000..e69de29 diff --git a/content/info/hero.md b/content/info/hero.md new file mode 100644 index 0000000..6f65f9b --- /dev/null +++ b/content/info/hero.md @@ -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" >}} diff --git a/hugo.toml b/hugo.toml new file mode 100644 index 0000000..e9587b2 --- /dev/null +++ b/hugo.toml @@ -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 terms and conditions and for my data to be handled according to the privacy policy' + 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' diff --git a/i18n/en.toml b/i18n/en.toml new file mode 100644 index 0000000..40c656e --- /dev/null +++ b/i18n/en.toml @@ -0,0 +1,6 @@ +telephone = 'telephone' +email = 'email' +fax = 'fax' +Updated = 'Updated' +'Our Team' = 'Our Team' +'Contact Us' = 'Contact Us' \ No newline at end of file diff --git a/layouts/_partials/home.html b/layouts/_partials/home.html new file mode 100644 index 0000000..45b6a63 --- /dev/null +++ b/layouts/_partials/home.html @@ -0,0 +1,15 @@ +
+ +{{ with .GetPage "/info/hero" }} + {{ partial "half-section.html" . }} +{{ end }} + + +
+ +{{ $ctx := dict + "page" . + "title" (T "Contact Us") + "content" (partial "contact.html" .) +}} +{{ partial "flex-section.html" $ctx }} diff --git a/layouts/_partials/legal.html b/layouts/_partials/legal.html new file mode 100644 index 0000000..3338178 --- /dev/null +++ b/layouts/_partials/legal.html @@ -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 \ No newline at end of file diff --git a/static/favicon.ico b/static/favicon.ico new file mode 100644 index 0000000..6a6870b Binary files /dev/null and b/static/favicon.ico differ diff --git a/themes/sr2 b/themes/sr2 new file mode 160000 index 0000000..9be6946 --- /dev/null +++ b/themes/sr2 @@ -0,0 +1 @@ +Subproject commit 9be694621f29bebddf304fa293c6cc7833916df0