Skip to content

Commit

Permalink
new site with hugo
Browse files Browse the repository at this point in the history
  • Loading branch information
endymuhardin committed Oct 22, 2024
1 parent f07d8f8 commit 4e39392
Show file tree
Hide file tree
Showing 185 changed files with 33,583 additions and 0 deletions.
78 changes: 78 additions & 0 deletions .github/workflows/hugo.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
# Sample workflow for building and deploying a Hugo site to GitHub Pages
name: Deploy Hugo site to Pages

on:
# Runs on pushes targeting the default branch
push:
branches:
- main

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write

# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
concurrency:
group: "pages"
cancel-in-progress: false

# Default to bash
defaults:
run:
shell: bash

jobs:
# Build job
build:
runs-on: ubuntu-latest
env:
HUGO_VERSION: 0.136.3
steps:
- name: Install Hugo CLI
run: |
wget -O ${{ runner.temp }}/hugo.deb https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_linux-amd64.deb \
&& sudo dpkg -i ${{ runner.temp }}/hugo.deb
- name: Install Dart Sass
run: sudo snap install dart-sass
- name: Checkout
uses: actions/checkout@v4
with:
submodules: recursive
fetch-depth: 0
- name: Setup Pages
id: pages
uses: actions/configure-pages@v5
- name: Install Node.js dependencies
run: "[[ -f package-lock.json || -f npm-shrinkwrap.json ]] && npm ci || true"
- name: Build with Hugo
env:
HUGO_CACHEDIR: ${{ runner.temp }}/hugo_cache
HUGO_ENVIRONMENT: production
TZ: America/Los_Angeles
run: |
hugo \
--gc \
--minify \
--baseURL "${{ steps.pages.outputs.base_url }}/"
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: ./public

# Deployment job
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
.DS_Store
node_modules
dist
public
Empty file added .hugo_build.lock
Empty file.
5 changes: 5 additions & 0 deletions archetypes/default.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
+++
title = '{{ replace .File.ContentBaseName "-" " " | title }}'
date = {{ .Date }}
draft = true
+++
145 changes: 145 additions & 0 deletions assets/css/tailwind.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,145 @@
@tailwind base;
@tailwind components;
@tailwind utilities;

@font-face {
font-family: 'Geist';
src: url('/fonts/Geist-Bold.otf') format('opentype');
font-weight: bold;
font-style: normal;
font-display: swap;
}

@font-face {
font-family: 'Geist';
src: url('/fonts/Geist-SemiBold.otf') format('opentype');
font-weight: 600;
font-style: normal;
font-display: swap;
}

@font-face {
font-family: 'Geist';
src: url('/fonts/Geist-Medium.otf') format('opentype');
font-weight: 500;
font-style: normal;
font-display: swap;
}

@font-face {
font-family: 'Geist';
src: url('/fonts/Geist-Regular.otf') format('opentype');
font-weight: normal;
font-style: normal;
font-display: swap;
}

@font-face {
font-family: 'GeistMono';
src: url('/fonts/GeistMono-Regular.otf') format('opentype');
font-weight: normal;
font-style: normal;
font-display: swap;
}

.swiper-pagination-bullet{
@apply !bg-gray-200 dark:!bg-gray-700 !opacity-100;
}

.swiper-pagination-bullet-active{
@apply !bg-gray-950 dark:!bg-white;
}

@keyframes loop {
to {
offset-distance: 100%;
}
}

/*Carousel CSS*/
/* Carousel container */
#carousel {
display: flex;
transition: transform 0.7s ease-in-out;
width: 100%;
}

#carousel > div {
min-width: 100%;
height: 100%;
}

/* Slide overlay */
.bg-gradient-to-r {
background: linear-gradient(to right, rgba(0, 0, 0, 0.6), transparent);
}

/* Button styles */
button {
background: rgba(255, 255, 255, 0.2);
backdrop-filter: blur(8px);
padding: 12px;
border: none;
border-radius: 50%;
cursor: pointer;
transition: background 0.3s ease;
}

button:hover {
background: rgba(255, 255, 255, 0.4);
}

/* Text container styling */
.bg-overlay {
background-color: rgba(0, 0, 0, 0.6); /* Black with 60% opacity */
}

.shadow-md {
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.text-white {
color: #ffffff;
}

.magnify-modal {
box-shadow: 0 0 6px 2px rgba(0, 0, 0, .3);
}

.magnify-header .magnify-toolbar {
background-color: rgba(0, 0, 0, .5);
}

.magnify-stage {
top: 0;
right: 0;
bottom: 0;
left: 0;
border-width: 0;
}

.magnify-footer .magnify-toolbar {
background-color: rgba(0, 0, 0, .5);
border-top-left-radius: 5px;
border-top-right-radius: 5px;
}

.magnify-header,
.magnify-footer {
pointer-events: none;
}

.magnify-button {
pointer-events: auto;
}

.swiper-container {
max-width: 100%;
overflow: hidden;
}

.swiper-slide {
display: flex;
justify-content: center; /* Center the images */
align-items: center; /* Center the images */
}
5 changes: 5 additions & 0 deletions content/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
title: "Artivisi Intermedia"
layout: home
---

7 changes: 7 additions & 0 deletions content/about_us/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
title: "About Us"
layout: about_us
---
About Us Info


5 changes: 5 additions & 0 deletions content/app-bni-dashboard/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
title: "Artivisi Intermedia"
layout: app-bni-dashboard
---

5 changes: 5 additions & 0 deletions content/app-bongkar-muat/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
title: "Artivisi Intermedia"
layout: app-bongkar-muat
---

5 changes: 5 additions & 0 deletions content/app-garansi-bank/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
title: "Artivisi Intermedia"
layout: app-garansi-bank
---

5 changes: 5 additions & 0 deletions content/app-orbit-pandu/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
title: "Artivisi Intermedia"
layout: app-orbit-pandu
---

7 changes: 7 additions & 0 deletions content/app-telkom-disburs/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
title: "Artivisi Intermedia"
layout: app-telkom-disburs
---



5 changes: 5 additions & 0 deletions content/call-center/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
title: "Artivisi Intermedia"
layout: call-center
---

6 changes: 6 additions & 0 deletions content/career/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
title: "Artivisi Intermedia"
layout: career
url: "/content/karir/magang/"
---

4 changes: 4 additions & 0 deletions content/consulting/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
title: "Artivisi Intermedia"
layout: consulting
---
5 changes: 5 additions & 0 deletions content/contact_us/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
title: "Artivisi Intermedia"
layout: contact_us
---

7 changes: 7 additions & 0 deletions content/products/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
title: "Artivisi Intermedia"
layout: products
---



7 changes: 7 additions & 0 deletions content/projects/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
title: "Artivisi Intermedia"
layout: projects
---



5 changes: 5 additions & 0 deletions content/remittance/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
title: "Artivisi Intermedia"
layout: remittance
---

5 changes: 5 additions & 0 deletions content/t-bank-jateng/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
title: "Artivisi Intermedia"
layout: t-bank-jateng
---

5 changes: 5 additions & 0 deletions content/t-erajaya/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
title: "Artivisi Intermedia"
layout: t-erajaya
---

5 changes: 5 additions & 0 deletions content/t-nindya-karya/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
title: "Artivisi Intermedia"
layout: t-nindya-karya
---

5 changes: 5 additions & 0 deletions content/takopay/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
title: "Artivisi Intermedia"
layout: takopay
---

7 changes: 7 additions & 0 deletions content/training/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
title: "Artivisi Intermedia"
layout: training
---



4 changes: 4 additions & 0 deletions content/va-splitter/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
title: "Artivisi Intermedia"
layout: va-splitter
---
Binary file added fonts/Geist-Bold.otf
Binary file not shown.
Binary file added fonts/Geist-Medium.otf
Binary file not shown.
Binary file added fonts/Geist-Regular.otf
Binary file not shown.
Binary file added fonts/Geist-SemiBold.otf
Binary file not shown.
Binary file added fonts/GeistMono-Regular.otf
Binary file not shown.
3 changes: 3 additions & 0 deletions hugo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
baseURL = 'https://artivisi.com/'
languageCode = 'en-us'
title = 'ArtiVisi Intermedia'
13 changes: 13 additions & 0 deletions layouts/_default/baseof.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<!DOCTYPE html>
<html lang="en">
{{- partial "head.html" . -}}
<body class="bg-white dark:bg-gray-900 dark:before:fixed dark:before:-z-50 dark:before:inset-0 dark:before:bg-gray-950/50">
{{- partial "navbar.html" . -}}
<div id="content" class="flex-grow">
{{- block "main" . }}{{- end }}
</div>
{{- partial "footer.html" . -}}
<script src="/js/main.js"></script>

</body>
</html>
Loading

0 comments on commit 4e39392

Please sign in to comment.