Skip to content

Commit

Permalink
lots of work
Browse files Browse the repository at this point in the history
  • Loading branch information
EC2 Default User committed Jul 2, 2022
1 parent fae4b3f commit 34babf5
Show file tree
Hide file tree
Showing 1,373 changed files with 2,463 additions and 2,283 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
# Fccan Fort Collins Colorado Website

[![Netlify Status](https://api.netlify.com/api/v1/badges/5a05781c-e452-4664-8407-83473d8f8b0a/deploy-status)](https://app.netlify.com/sites/fuerza-latina/deploys)
[![Netlify Status](https://api.netlify.com/api/v1/badges/077425e5-d667-4fee-afb2-aac79195beea/deploy-status)](https://app.netlify.com/sites/fccan/deploys)

This is the repo for https://fccan.com. Fccan is an organization based in community focused on furthering economic, social, and environmental justice, sustainability, human rights, and peace for all by building coalitions, developing strategies and actions, and supporting existing progressive organizations.

This site functions off the following technologies:
[Jekyll](https://jekyllrb.com/)
[netlify-cms](https://www.netlifycms.org/).
[netlify](https://app.netlify.com/) (team page: https://app.netlify.com/sites/fuerza-latina/overview)
[netlify](https://app.netlify.com/) (team page: https://app.netlify.com/sites/fccan/overview)

Using these technologies, we can obtain the following:
- static site generation (no backend servers)
Expand Down
16 changes: 9 additions & 7 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,17 @@
# You can create any custom variable you would like, and they will be accessible
# in the templates via {{ site.myvariable }}.

title: Fuerza Latina
title: <img src="/media/cropped-cropped-fccanWebLogo-300x123.png">
title_short: FCCAN
email: [email protected]
description: >- # this means to ignore newlines until "baseurl:"
Fuerza Latina is an organizaitions of immigrants and allies
dedicated to educating, informaing, organizing & promoting
change to facilitate an imporved quality of life for immigrants
in Nothern Colorado.
url: "https://fueralatinafoco.org" # the base hostname & protocol for your site, e.g. http://example.com
FCCAN’s mission is to create community based on furthering economic,
social, and environmental justice, sustainability, human rights, and
peace for all by building coalitions, developing strategies and
actions, and supporting existing progressive organizations.
url: "https://fccan.org" # the base hostname & protocol for your site, e.g. http://example.com
twitter_username: FCCAN2
mast-background: media/IMG_2882.jpeg

# Build settings
plugins:
Expand Down Expand Up @@ -76,7 +78,7 @@ collections:


social:
name: Fuerza Latina
name: FCCAN
links:
- https://twitter.com/FCCAN2

Expand Down
26 changes: 10 additions & 16 deletions _data/menus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,21 +15,15 @@ header:
- title: Our Staff
title-es: Nuestro Personal
url: our-staff
- title: Our Affiliates
title-es: Our Affiliates
- title: Affiliates
title-es: Affiliates
url: affiliates
- title: Healing Justice
title-es: Healing Justice
url: healing-justice
- title: Take Action
title-es: Take Action
url: take-action
- title: TimePeace
title-es: TimePeace
- title: Programs
title-es: Programas
url: programs
- title: Blog
title-es: Blog
url: blog
- title: Donate
title-es: Donate
url: donate
- title: Contact Us
title-es: Contact Us
url: contact
- title: Get Involved
title-es: Involucrarse
url: get-involved
File renamed without changes.
33 changes: 33 additions & 0 deletions _includes/contact.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,39 @@ <h2 class="mt-0">{{ section.title }}</h2>
</div>
</div>
<div class="row justify-content-center">
<!-- Begin Mailchimp Signup Form -->
<link href="//cdn-images.mailchimp.com/embedcode/classic-10_7_dtp.css" rel="stylesheet" type="text/css">
<style type="text/css">
#mc_embed_signup{background:#fff; clear:left; font:14px Helvetica,Arial,sans-serif; width:600px;}
/* Add your own Mailchimp form style overrides in your site stylesheet or in this style block.
We recommend moving this block and the preceding CSS link to the HEAD of your HTML file. */
</style>
<div id="mc_embed_signup">
<form action="https://fccan.us18.list-manage.com/subscribe/post?u=dca0a8ae6e50aab506a0a85bf&amp;id=336a6ce548" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate" target="_blank" novalidate>
<div id="mc_embed_signup_scroll">
<h2>Subscribe to our FCCAN newletter!</h2>
<div class="indicates-required"><span class="asterisk">*</span> indicates required</div>
<div class="mc-field-group">
<label for="mce-EMAIL">Email Address <span class="asterisk">*</span>
</label>
<input type="email" value="" name="EMAIL" class="required email" id="mce-EMAIL">
</div>
<div id="mce-responses" class="clear foot">
<div class="response" id="mce-error-response" style="display:none"></div>
<div class="response" id="mce-success-response" style="display:none"></div>
</div> <!-- real people should not fill this in and expect good things - do not remove this or risk form bot signups-->
<div style="position: absolute; left: -5000px;" aria-hidden="true"><input type="text" name="b_dca0a8ae6e50aab506a0a85bf_336a6ce548" tabindex="-1" value=""></div>
<div class="optionalParent">
<div class="clear foot">
<input type="submit" value="Subscribe" name="subscribe" id="mc-embedded-subscribe" class="button">
<p class="brandingLogo"><a href="http://eepurl.com/h5N5rb" title="Mailchimp - email marketing made easy and fun"><img src="https://eep.io/mc-cdn-images/template_images/branding_logo_text_dark_dtp.svg"></a></p>
</div>
</div>
</div>
</form>
</div>
<script type='text/javascript' src='//s3.amazonaws.com/downloads.mailchimp.com/js/mc-validate.js'></script><script type='text/javascript'>(function($) {window.fnames = new Array(); window.ftypes = new Array();fnames[0]='EMAIL';ftypes[0]='email';fnames[1]='FNAME';ftypes[1]='text';fnames[2]='LNAME';ftypes[2]='text';fnames[3]='ADDRESS';ftypes[3]='address';fnames[4]='PHONE';ftypes[4]='phone';fnames[5]='BIRTHDAY';ftypes[5]='birthday';}(jQuery));var $mcj = jQuery.noConflict(true);</script>
<!--End mc_embed_signup-->
{% for action in section.actions %}
{% assign fa = action.icon_type | default: "fas" %}
<div class="col ml-auto text-center">
Expand Down
48 changes: 40 additions & 8 deletions _includes/getinvolved.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
</div>
</section>


<section id="{{ section.section_id }}" class="page-section {{ section.background_style }}">
<div class="container">
<div class="row justify-content-center">
Expand All @@ -27,12 +26,45 @@ <h2 class="text-black mt-0 text-center">Contact Us!</h2>
</section>


<section id="{{ section.section_id }}" class="page-section {{ section.background_style }}">
<div class="container">
<div class="row justify-content-center">
<div class="col-lg-8 {{ section.text_style | default: 'text-center' }}">
{% if page.lang == "es" %}<a href="https://forms.gle/N8J81t6wRDMF2pPx5">Inscribirse en la lista de correo!</a>{% else %}<a href="https://forms.gle/N8J81t6wRDMF2pPx5">Subscribe to Our Email Newsletter!</a>{% endif %}
</div>
<section id="{{ section.section_id }}" class="page-section row justify-content-center {{ section.background_style }}">
<!-- Begin Mailchimp Signup Form -->
<link href="//cdn-images.mailchimp.com/embedcode/classic-10_7_dtp.css" rel="stylesheet" type="text/css">
<style type="text/css">
#mc_embed_signup{background:#fff; clear:left; font:14px Helvetica,Arial,sans-serif; width:600px;}
/* Add your own Mailchimp form style overrides in your site stylesheet or in this style block.
We recommend moving this block and the preceding CSS link to the HEAD of your HTML file. */
</style>
<div id="mc_embed_signup">
<form action="https://fccan.us18.list-manage.com/subscribe/post?u=dca0a8ae6e50aab506a0a85bf&amp;id=336a6ce548" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate" target="_blank" novalidate>
<div id="mc_embed_signup_scroll">
<h2>Subscribe to our FCCAN newletter!</h2>
<div class="indicates-required"><span class="asterisk">*</span> indicates required</div>
<div class="mc-field-group">
<label for="mce-EMAIL">Email Address <span class="asterisk">*</span>
</label>
<input type="email" value="" name="EMAIL" class="required email" id="mce-EMAIL">
</div>
<div class="mc-field-group">
<label for="mce-FNAME">First Name </label>
<input type="text" value="" name="FNAME" class="" id="mce-FNAME">
</div>
<div class="mc-field-group">
<label for="mce-LNAME">Last Name </label>
<input type="text" value="" name="LNAME" class="" id="mce-LNAME">
</div>
<div id="mce-responses" class="clear foot">
<div class="response" id="mce-error-response" style="display:none"></div>
<div class="response" id="mce-success-response" style="display:none"></div>
</div> <!-- real people should not fill this in and expect good things - do not remove this or risk form bot signups-->
<div style="position: absolute; left: -5000px;" aria-hidden="true"><input type="text" name="b_dca0a8ae6e50aab506a0a85bf_336a6ce548" tabindex="-1" value=""></div>
<div class="optionalParent">
<div class="clear foot">
<input type="submit" value="Subscribe" name="subscribe" id="mc-embedded-subscribe" class="button">
</div>
</div>
</div>
</div>
</form>
</div>
<script type='text/javascript' src='//s3.amazonaws.com/downloads.mailchimp.com/js/mc-validate.js'></script><script type='text/javascript'>(function($) {window.fnames = new Array(); window.ftypes = new Array();fnames[0]='EMAIL';ftypes[0]='email';fnames[1]='FNAME';ftypes[1]='text';fnames[2]='LNAME';ftypes[2]='text';fnames[3]='ADDRESS';ftypes[3]='address';fnames[4]='PHONE';ftypes[4]='phone';fnames[5]='BIRTHDAY';ftypes[5]='birthday';}(jQuery));var $mcj = jQuery.noConflict(true);</script>
<!--End mc_embed_signup-->
</section>
8 changes: 8 additions & 0 deletions _includes/guiding-values.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<section>
<div class="container">
{% for value in site.values %}
<p><strong>{% if page.lang == "es" %}{{ value.title-es | newline_to_br }}{% else %}{{ value.title-en | newline_to_br }}{% endif %}</strong>
{% if page.lang == "es" %}{{ value.body-es | newline_to_br | markdownify }}{% else %}{{ value.body-en | newline_to_br | markdownify }}{% endif %}<br></p>
{% endfor %}
</div>
</section>
25 changes: 23 additions & 2 deletions _includes/nav.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarResponsive">
<li class="lang_li mobile-lang-select"><a class="lang_a nav-item {% if page.lang == "es" %}{% else %}lang_selected{% endif %}" href="{{ page.url|remove:'es/' |remove:'.html' }}">English</a>/<a class="lang_a nav-item {% if page.lang == "es" %}lang_selected{% else %}{% endif %}" href="{% if page.lang == "es" %}/{{ page.url|remove:'.html' }}{% else %} /es{{ page.url|remove:'.html' }}{% endif %}">Español</a></li>

<ul class="navbar-nav ml-auto">
{% for item in site.data.menus.header %}
{% if item.sub-menu %}
Expand All @@ -23,14 +25,33 @@
{% endfor %}
</ul>
</li>
{% else %}
{% if item.title == "Programs" %}
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" data-toggle="dropdown" href="{{ item.url }}">{% if page.lang == "es" %}{{ item.title-es }}{% else %}{{ item.title }}{% endif %}</a>
<ul class="dropdown-menu">

{% for program in site.programs %}
{% if forloop.length == 0 %}
{{forloop.length}}
<a href="{{ subopt.url }}" class="nav-link js-scroll-trigger"><li class="dropdown-item nav-link">{% if page.lang == "es" %}{{ program.title-es }}{% else %}{{ program.title-en }}{% endif %}</li></a>
{% else %}
<li class="nav-item">
<a class="nav-link js-scroll-trigger" href="{{ item.url }}">{% if page.lang == "es" %}No Programas Activos{% else %}No Active Programs{% endif %}</a>
</li>
{% endif %}
{% endfor %}
</ul>
</li>
{% else %}
<li class="nav-item">
<a class="nav-link js-scroll-trigger" href="{{ item.url }}">{% if page.lang == "es" %}{{ item.title-es }}{% else %}{{ item.title }}{% endif %}</a>
</li>
{% endif %}
{% endif %}
{% endfor %}
</ul>
<li class="lang_li list-horizontal mobile-lang-select"><a class="lang_a nav-item {% if page.lang == "es" %}{% else %}lang_selected{% endif %}" href="{{ page.url|remove:'es/' |remove:'.html' }}">English</a>/<a class="lang_a nav-item {% if page.lang == "es" %}lang_selected{% else %}{% endif %}" href="{% if page.lang == "es" %}/{{ page.url|remove:'.html' }}{% else %} /es{{ page.url|remove:'.html' }}{% endif %}">Español</a></li>

</div>
<li class="lang_li full-height">
<i class="donate_icon qode_icon_font_awesome fa fa-heart"></i>
Expand All @@ -39,7 +60,7 @@
<input type="hidden" name="bn" value="TipsandTricks_SP">
<input type="hidden" name="business" value="[email protected]">
<input type="hidden" name="return" value="http://fccan.org">
<input type="hidden" name="item_name" value="Fuerza Latina is Community Funded Please Donate Now!">
<input type="hidden" name="item_name" value="Fccan is Community Funded Please Donate Now!">
<input type="hidden" name="rm" value="0">
<input type="hidden" name="currency_code" value="USD">
<input type="submit" style="background:transparent; border:none;width:100%;height: 100%;" class="nav-link donate" value="{% if page.lang == "es" %}Donar{% else %} Donate{% endif %}">
Expand Down
8 changes: 4 additions & 4 deletions _includes/resources.html
Original file line number Diff line number Diff line change
Expand Up @@ -87,11 +87,11 @@ <h2 class="text-center mt-0">{% if page.lang == "es" %}{{ resource.title-es | ne
{% if community_resource == 0 %}
<script>document.getElementById("community-resource-header").remove();</script>
{% endif %}
<h1 class="mt-0" id="fuerza-resource-header">Important Fuerza Latina Resources</h1>
{% assign fuerza_resource=0 %}
<h1 class="mt-0" id="fccan-resource-header">Important Fccan Resources</h1>
{% assign fccan_resource=0 %}
{% for resource in site.resources limit:5%}
{% if resource.resource-type == "Fuerza Resource" %}
{% capture fuerza_resource %}{% increment fuerza_resource %}{% endcapture %}
{% if resource.resource-type == "fccan Resource" %}
{% capture fccan_resource %}{% increment fccan_resource %}{% endcapture %}
<div class="row-fluid event-box">
<h2 class="text-center mt-0">{% if page.lang == "es" %}{{ resource.title-es | newline_to_br }}{% else %}{{ resource.title-en | newline_to_br }}{% endif %}</h2>

Expand Down
2 changes: 1 addition & 1 deletion _layouts/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">

<title>{% assign title_is_not_empty = page.title | is_not_empty %}{% if title_is_not_empty %}{{ page.title }} - {% endif %}{{ site.title }}</title>
<title>{% assign title_is_not_empty = page.title | is_not_empty %}{% if title_is_not_empty %}{{ page.title }} - {% endif %}{{ site.title_short }}</title>
<!-- Favicon-->
<link rel="icon" type="image/x-icon" href="assets/img/favicon.ico" />
<!-- Font Awesome icons (free version)-->
Expand Down
14 changes: 7 additions & 7 deletions _site/README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
# Fuerza Latina Fort Collins Colorado Website
# Fccan Fort Collins Colorado Website

[![Netlify Status](https://api.netlify.com/api/v1/badges/5a05781c-e452-4664-8407-83473d8f8b0a/deploy-status)](https://app.netlify.com/sites/fuerza-latina/deploys)
[![Netlify Status](https://api.netlify.com/api/v1/badges/077425e5-d667-4fee-afb2-aac79195beea/deploy-status)](https://app.netlify.com/sites/fccan/deploys)

This is the repo for https://fuerzalatinafoco.com. Fuerza Latina is an organization of immigrants and allies dedicated to educating, informing, organizing, and promoting change to facilitate an improved quality of life for immigrants in our community.
This is the repo for https://fccan.com. Fccan is an organization based in community focused on furthering economic, social, and environmental justice, sustainability, human rights, and peace for all by building coalitions, developing strategies and actions, and supporting existing progressive organizations.

This site functions off the following technologies:
[Jekyll](https://jekyllrb.com/)
[netlify-cms](https://www.netlifycms.org/).
[netlify](https://app.netlify.com/) (team page: https://app.netlify.com/sites/fuerza-latina/overview)
[netlify](https://app.netlify.com/) (team page: https://app.netlify.com/sites/fccan/overview)

Using these technologies, we can obtain the following:
- static site generation (no backend servers)
Expand All @@ -17,11 +17,11 @@ Using these technologies, we can obtain the following:
## How to run Website // CMS locally for development purposes
- Install ruby/jekyll (https://jekyllrb.com/docs/installation/)
- Obtain access to repo, contact [email protected]
- `git clone https://github.com/pbjtime/fuerza-latina.git`
- `cd fuerza-latina`
- `git clone https://github.com/pbjtime/fccan.git`
- `cd fccan`
- `bundle exec jekyll serve --host 0.0.0.0`
- You can now access the site: http://0.0.0.0:4000 (replace 0.0.0.0 with the local-link if hosting locally http://127.0.0.1:4000 or public address of your computer.)

**Optional:** In another terminal (to run the cms locally):
- `cd fuerza-latina`
- `cd fccan`
- `PORT=8076 npx netlify-cms-proxy-server`
Loading

0 comments on commit 34babf5

Please sign in to comment.