Skip to content

Commit

Permalink
Adding Gathering page base
Browse files Browse the repository at this point in the history
  • Loading branch information
yuhattor authored Apr 3, 2024
1 parent 432ad78 commit 5e8687c
Show file tree
Hide file tree
Showing 262 changed files with 20,977 additions and 3 deletions.
90 changes: 90 additions & 0 deletions .github/workflows/hugo.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,90 @@
# 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.111.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
- name: Setup Pages
id: pages
uses: actions/configure-pages@v4
- name: Install Node.js dependencies
run: "[[ -f package-lock.json || -f npm-shrinkwrap.json ]] && npm ci || true"
- name: Build with Hugo
env:
# For maximum backward compatibility with Hugo modules
HUGO_ENVIRONMENT: production
HUGO_ENV: production
run: |
url="${{ steps.pages.outputs.base_url }}"
directories=("shenzhen-2024" "tokyo-2024")
for dir in "${directories[@]}"; do
cd $dir
hugo \
--minify \
--baseURL "$url/$dir/" \
--themesDir ../themes \
--destination ../public/$dir/
cd ..
done
cd landing-page
hugo \
--minify \
--baseURL "$url" \
--themesDir ../themes \
--destination ../public/
cd ..
- 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
11 changes: 8 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
.DS_Store
.hugo_build.lock
static/images/.DS_Store
static/.DS_Store
resources
**/static/images/.DS_Store
**/static/.DS_Store
**/resources

# Ignore public directory
*/public
public/*
!public/index.html
27 changes: 27 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,30 @@
# InnerSource Gathering

Welcome to the official repository for the InnerSource Gathering. This initiative is brought to you by the InnerSource Commons Foundation, a dedicated community of InnerSource practitioners. Our gatherings are designed to share knowledge, foster community engagement, and promote the use of open source best practices within organizations.


# How to run HUGO

```sh
# Define url
url="http://localhost:1313/"
directories=("shenzhen-2024" "tokyo-2024")
for dir in "${directories[@]}"; do
cd $dir
hugo \
--minify \
--baseURL "$url/$dir/" \
--themesDir ../themes \
--destination ../public/$dir/
cd ..
done
cd landing-page
hugo \
--minify \
--baseURL "$url" \
--themesDir ../themes \
--destination ../public/
cd ..

python3 -m http.server 1313 --directory public
```
76 changes: 76 additions & 0 deletions landing-page/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
######################## default configuration ####################
baseURL = "https://innersourcecommons.org"
title = "Regional InnerSource Gathering"
themesDir = "../themes"
theme = "gathering-hugo"
disableLanguages = [true]

# output
[outputs]
home = ["HTML", "RSS", "JSON"]

[markup]
defaultMarkdownHandler = "goldmark"

[markup.goldmark]
[markup.goldmark.renderer]
unsafe = true


############################# Plugins ##############################
# CSS Plugins
[[params.plugins.css]]
link = "plugins/bootstrap/css/bootstrap.min.css"

# JS Plugins
[[params.plugins.js]]
link = "plugins/jquery/jquery.js"
[[params.plugins.js]]
link = "plugins/bootstrap/js/bootstrap.min.js"
[[params.plugins.js]]
link = "plugins/syotimer/syotimer.min.js"
[[params.plugins.js]]
link = "plugins/search/fuse.min.js"
[[params.plugins.js]]
link = "plugins/search/mark.js"




#################### default parameters ################################
[params]
logo = "images/risg.png"

# Meta data
description = "InnerSource Gathering 2024"

# Preloader
[params.preloader]
enable = true
preloader = "" # use jpg, png, svg or gif format.

# Navigation button
[params.navigation_button]
enable = true
label = "Get Involved"
link = "https://innersourcecommons.org"

############################# social icon ############################
[[params.social]]
icon = "tf-ion-social-twitter"
link = "https://twitter.com/InnerSourceOrg"

[[params.social]]
icon = "tf-ion-social-linkedin"
link = "https://www.linkedin.com/company/innersourcecommons/"

################################### English language #####################################
[Languages.en]
languageName = "En"
languageCode = "en-us"
contentDir = "content/en"
weight = 1
# footer content
footer_content = "Regional InnerSource Gathering is organized by the InnerSource Commons Foundation - 501 (c)(3)"
# copyright
copyright = "Copyright © 2023"
7 changes: 7 additions & 0 deletions landing-page/content/en/about/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
title: "About"
date: 2019-09-10T13:51:25+06:00
draft: false
description: "this is meta description"
bg_image : "images/bg/page-header.jpg"
---
65 changes: 65 additions & 0 deletions landing-page/data/en/homepage.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
############################# banner ################################
banner:
enable : true
title : "Regional InnerSource Gathering"
bg_image: "images/main-dark.png"
date_time : "Welcome to"
button:
enable : false
label : "Discover more"
link : "service"

############################## Event ##############################
event:
enable : true
title : "What's Regional InnerSource Gathering?"
content : |
InnerSource Commons is the world's largest community of InnerSource practitioners. It is dedicated to creating and sharing knowledge about InnerSource, the use of open source best practices for software development within the confines of an organization.
Founded in 2015, the InnerSource Commons is now supporting and connecting over 2500 individuals from over 750 companies, academic institutions, and government agencies. The InnerSource Commons Foundation was incorporated on February 19th, 2020 and is now a 501(c)(3) public charity.
############################# Feature ###########################
feature:
enable: true
feature_item:
# feature item loop
- name: "Valuable Insight"
icon: "tf-ion-android-microphone"
content: "This year, we're excited to welcome an array of distinguished keynote speakers from the InnerSource community and beyond. In our commitment to fostering diverse voices, we're also seeking new speakers. Proposals from within Japan and internationally are encouraged, ensuring a rich selection of sessions."

# feature item loop
- name: "Gathering"
icon: "tf-ion-android-people"
content: "The essence of InnerSource Gathering transcends attending sessions and workshops. It's about the spontaneous connections in the corridors, foyers, and the local cafes. We encourage you to explore these informal spaces and create your own memorable experiences."

# feature item loop
- name: "Great Community"
icon: "tf-ion-android-share"
content: "At the heart of InnerSource is a vibrant community of practitioners and enthusiasts. Our gathering is an opportunity to network, share ideas, and collaborate with peers. Whether you're a seasoned contributor or new to InnerSource, you'll find a welcoming and engaging community."

############################# Feature ###########################
events:
enable: true
items:
- name: "InnerSource Gathering Shenzen 2024"
url: "./shenzhen-2024"
location: "Shenzhen"
date: "Coming soon"
- name: "InnerSource Gathering Tokyo 2024"
url: "./tokyo-2024"
location: "Tokyo"
date: "Coming soon"
- name: "InnerSource Gathering Dublin 2022"
url: "https://www.eventbrite.com/e/innersource-commons-gathering-sep-2022-dublin-tickets-370546573777"
location: "Dublin"
date: "8-9 September 2022"

blog:
enable: true
items:
- name: "InnerSource Gathering Tokyo 2024"
image: "./images/gathering/tokyo-2024.png"
url: "./tokyo-2024"
- name: "InnerSource Gathering Shenzen 2024"
image: "./images/gathering/shenzhen-2024.png"
url: "./shenzhen-2024"

35 changes: 35 additions & 0 deletions landing-page/i18n/en.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
- id: read_more
translation: Read More

- id: posted_by
translation: Posted by this author

- id: message_us
translation: Message Us

- id: send
translation: Send

- id: search
translation: Search

- id: categories
translation: Categories

- id: tags
translation: Tags

- id: follow_us
translation: Follow us

- id: subscribe
translation: Subscribe now

- id: not_spam
translation: We will not spam at your inbox .Don't panic

- id: email
translation: Email

- id: professional_skills
translation: Professional Skills
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added landing-page/static/images/banner/main.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added landing-page/static/images/bg/footer-bg.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added landing-page/static/images/bg/page-header.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added landing-page/static/images/bg/sprout.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added landing-page/static/images/main-dark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added landing-page/static/images/risg.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 9 additions & 0 deletions public/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<!doctype html><html lang=en-us><head><meta name=generator content="Hugo 0.111.3"><meta charset=utf-8><title>Regional InnerSource Gathering</title><meta name=viewport content="width=device-width,initial-scale=1,maximum-scale=1"><meta name=description content="InnerSource Gathering 2024"><link rel=stylesheet href=http://localhost:1313/plugins/bootstrap/css/bootstrap.min.css><link rel=stylesheet href=http://localhost:1313/scss/style.min.css media=screen><link rel="shortcut icon" href=http://localhost:1313/images/favicon.png type=image/x-icon><link rel=icon href=http://localhost:1313/images/favicon.png type=image/x-icon></head><body><div class=preloader></div><header class=header-bar><nav class="navbar navbar-expand-lg main-nav"><div class=container><a class=navbar-brand href=http://localhost:1313/><img src=http://localhost:1313/images/risg.png alt="Regional InnerSource Gathering" class=img-fluid style=height:48px></a>
<button class=navbar-toggler type=button data-toggle=collapse data-target=#navigation aria-controls=navigation aria-expanded=false aria-label="Toggle navigation">
<span class=tf-ion-android-menu></span></button><div class="collapse navbar-collapse text-center" id=navigation><ul class="navbar-nav mx-auto"><li class=nav-item><a class=nav-link href=http://localhost:1313/></a></li></ul><a href=https://innersourcecommons.org class="btn btn-hero btn-rounded mt-3 mt-lg-0">Get Involved</a></div></div></nav></header><section class="section-banner d-flex align-items-center" style=background-image:url(http://localhost:1313/images/main-dark.png)><div class=container><div class=row><div class="col-lg-7 mr-auto"><div class=banner-content><span>Welcome to</span><h1 class="mt-3 mb-5">Regional InnerSource Gathering</h1></div></div></div></div></section><section class="section about"><div class=container><div class="about-content-wrap mt-5 mt-lg-0"><span class=stroke-text></span><h2 class="text-lg mb-3 mt-3">What&rsquo;s Regional InnerSource Gathering?</h2><p>InnerSource Commons is the world&rsquo;s largest community of InnerSource practitioners. It is dedicated to creating and sharing knowledge about InnerSource, the use of open source best practices for software development within the confines of an organization.
Founded in 2015, the InnerSource Commons is now supporting and connecting over 2500 individuals from over 750 companies, academic institutions, and government agencies. The InnerSource Commons Foundation was incorporated on February 19th, 2020 and is now a 501(c)(3) public charity.</p></div></div></section><section id=section-feature><div class="container mt-8"><h2>Past Events</h2><table class=table><thead><tr><th scope=col>Name</th><th scope=col>Location</th><th scope=col>Date</th></tr></thead><tbody><tr><th><a class="link-offset-2 link-underline link-underline-opacity-10" href=./shenzhen-2024>InnerSource Gathering Shenzen 2024</a></th><td>Shenzhen</td><td>Coming soon</td></tr><tr><th><a class="link-offset-2 link-underline link-underline-opacity-10" href=./tokyo-2024>InnerSource Gathering Tokyo 2024</a></th><td>Tokyo</td><td>Coming soon</td></tr><tr><th><a class="link-offset-2 link-underline link-underline-opacity-10" href=https://www.eventbrite.com/e/innersource-commons-gathering-sep-2022-dublin-tickets-370546573777>InnerSource Gathering Dublin 2022</a></th><td>Dublin</td><td>8-9 September 2022</td></tr></tbody></table></div></section><section id=section-feature><div class="container mt-8"><div class=row><div class="col-lg-4 col-md-6"><div class=feature-box><i class=tf-ion-android-microphone></i><h4 class="mt-3 mb-3">Valuable Insight</h4><div class=divider></div><p>This year, we&rsquo;re excited to welcome an array of distinguished keynote speakers from the InnerSource community and beyond. In our commitment to fostering diverse voices, we&rsquo;re also seeking new speakers. Proposals from within Japan and internationally are encouraged, ensuring a rich selection of sessions.</p></div></div><div class="col-lg-4 col-md-6"><div class=feature-box><i class=tf-ion-android-people></i><h4 class="mt-3 mb-3">Gathering</h4><div class=divider></div><p>The essence of InnerSource Gathering transcends attending sessions and workshops. It&rsquo;s about the spontaneous connections in the corridors, foyers, and the local cafes. We encourage you to explore these informal spaces and create your own memorable experiences.</p></div></div><div class="col-lg-4 col-md-6"><div class=feature-box><i class=tf-ion-android-share></i><h4 class="mt-3 mb-3">Great Community</h4><div class=divider></div><p>At the heart of InnerSource is a vibrant community of practitioners and enthusiasts. Our gathering is an opportunity to network, share ideas, and collaborate with peers. Whether you&rsquo;re a seasoned contributor or new to InnerSource, you&rsquo;ll find a welcoming and engaging community.</p></div></div></div></div></section><div class=mb-5></div><footer class="footer section"><div class=container><div class="row justify-content-center"><div class="col-lg-6 text-center"><h2 class="text-white mb-3">Regional InnerSource Gathering</h2><p class=text-white-50>Regional InnerSource Gathering is organized by the InnerSource Commons Foundation - 501 (c)(3)</p><ul class="list-inline footer-socails"><li class=list-inline-item><a href=https://twitter.com/InnerSourceOrg><i class=tf-ion-social-twitter></i></a></li><li class=list-inline-item><a href=https://www.linkedin.com/company/innersourcecommons/><i class=tf-ion-social-linkedin></i></a></li></ul></div></div><div class=row><div class="col-lg-12 text-center mt-5"><p class="copy border-top pt-4 text-white-50 mb-0">Copyright © 2023</p></div></div></div></footer><script src=http://localhost:1313/plugins/jquery/jquery.js></script>
<script src=http://localhost:1313/plugins/bootstrap/js/bootstrap.min.js></script>
<script src=http://localhost:1313/plugins/syotimer/syotimer.min.js></script>
<script src=http://localhost:1313/plugins/search/fuse.min.js></script>
<script src=http://localhost:1313/plugins/search/mark.js></script>
<script src=http://localhost:1313/js/script.min.js></script></body></html>
31 changes: 31 additions & 0 deletions shenzhen-2024/.forestry/front_matter/templates/author.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
---
label: Author
hide_body: false
fields:
- type: text
name: title
label: title
- type: file
name: bg_image
label: bg_image
description: Page header background image
- type: text
name: image
label: image
- type: text
name: email
label: email
- type: text
name: description
label: description
description: meta description
- type: field_group_list
name: social
label: social
fields:
- type: text
name: icon
label: icon
- type: text
name: link
label: link
18 changes: 18 additions & 0 deletions shenzhen-2024/.forestry/front_matter/templates/new-page.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
---
label: New Page
hide_body: false
fields:
- type: text
name: title
label: title
- type: datetime
name: date
label: date
- type: text
name: description
label: description
description: meta description
- type: file
name: bg_image
label: bg_image
description: Page header background image
Loading

0 comments on commit 5e8687c

Please sign in to comment.