Skip to content

Commit

Permalink
Merge pull request #57 from cloudnativerioja/feat/kube-rioja-day
Browse files Browse the repository at this point in the history
Feat: Kubernetes Rioja DAY Announcement
  • Loading branch information
statickidz authored Nov 9, 2023
2 parents 5d72768 + 6586a62 commit ec98725
Show file tree
Hide file tree
Showing 4 changed files with 48 additions and 23 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '16.x'
node-version: "16.x"
#registry-url: "https://npm.pkg.github.com"
- run: |
if [ -e yarn.lock ]; then
Expand All @@ -32,7 +32,7 @@ jobs:
steps:
- uses: actions/checkout@v3

- name: 'Determine tag'
- name: "Determine tag"
run: 'echo "RELEASE_TAG=0.0.1" >> $GITHUB_ENV'

- name: Build the Docker image
Expand All @@ -41,12 +41,12 @@ jobs:
- name: Run Trivy vulnerability scanner
uses: aquasecurity/trivy-action@master
with:
image-ref: 'cloudnativerioja/official-website:${{ env.RELEASE_TAG }}'
format: 'table'
exit-code: '1'
image-ref: "cloudnativerioja/official-website:${{ env.RELEASE_TAG }}"
format: "table"
exit-code: "1"
ignore-unfixed: true
vuln-type: 'os,library'
severity: 'CRITICAL'
vuln-type: "os,library"
severity: "CRITICAL"

- name: Run the Docker image
run: docker run -d -p 8080:80 cloudnativerioja/official-website:${{ env.RELEASE_TAG }}
Expand All @@ -70,11 +70,11 @@ jobs:

- uses: actions/setup-python@v4
with:
python-version: '3.9'
python-version: "3.9"
check-latest: true

- name: Set up chart-testing
uses: helm/chart-testing-action@v2.4.0
uses: helm/chart-testing-action@v2.6.1

- name: Run chart-testing (list-changed)
id: list-changed
Expand Down
2 changes: 1 addition & 1 deletion components/hero.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ const Hero = () => {
rel="noopener"
className="px-8 py-4 text-lg font-medium text-center text-white bg-accent rounded-md "
>
Entra al grupo
Únete al grupo
</a>
<a
href={GITHUB_URL}
Expand Down
44 changes: 38 additions & 6 deletions components/navbar.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,40 @@ const Navbar = () => {

return (
<div className="w-full">
<nav className="container relative flex flex-wrap items-center justify-between p-8 mx-auto lg:justify-between xl:px-0">
{/* Logo */}
{/* annoucement */}
<div className="md:mt-8 md:mb-8 flex flex-wrap items-center justify-center">
<Link
href="https://community.cncf.io/events/details/cncf-cloud-native-rioja-presents-kubernetes-rioja-day/"
target="_blank"
>
<div
className="p-2 bg-gray-700 items-center text-indigo-100 leading-none lg:rounded-full flex lg:inline-flex"
role="alert"
>
<span className="flex items-center justify-center rounded-full bg-cncf uppercase px-3 py-2 text-xs font-bold mr-3">
<span className="relative flex h-2 w-2 mr-2">
<span className="animate-ping absolute inline-flex h-full w-full rounded-full bg-accent opacity-75"></span>
<span className="relative inline-flex rounded-full h-2 w-2 bg-accent"></span>
</span>
KUBERNETES Rioja DAY 2023
</span>
<span className="font-semibold mr-2 text-left flex-auto">
Únete al primer evento Cloud Native en La Rioja
</span>
<svg
className="fill-current opacity-75 h-4 w-4"
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 20 20"
>
<path d="M12.95 10.707l.707-.707L8 4.343 6.586 5.757 10.828 10l-4.242 4.243L8 15.657l4.95-4.95z" />
</svg>
</div>
</Link>
</div>

{/* menu */}
<nav className="container relative flex flex-wrap items-center justify-between px-8 pb-4 mx-auto lg:justify-between xl:px-0">
{/* logo */}
<Disclosure>
{({ open }) => (
<>
Expand Down Expand Up @@ -92,7 +124,7 @@ const Navbar = () => {
target="_blank"
className="w-full px-6 py-2 mt-3 text-center text-white bg-cncf rounded-md lg:ml-5"
>
Join Now
Únete al grupo
</Link>
</>
</Disclosure.Panel>
Expand All @@ -105,11 +137,11 @@ const Navbar = () => {
<div className="hidden text-center lg:flex lg:items-center">
<ul className="items-center justify-end flex-1 pt-6 list-none lg:pt-0 lg:flex">
{navigation.map((item, index) => (
<li className="mr-3 nav__item" key={index}>
<li className="mr-1 nav__item" key={index}>
<Link
key={index}
href={item.link}
className="inline-block px-4 py-2 text-lg font-normal text-gray-800 no-underline rounded-md dark:text-gray-200 hover:text-cncf focus:text-cncf focus:bg-indigo-100 focus:outline-none dark:focus:bg-gray-800"
className="inline-block px-4 py-2 text-md font-normal text-gray-800 no-underline rounded-md dark:text-gray-200 hover:text-cncf focus:text-cncf focus:bg-indigo-100 focus:outline-none dark:focus:bg-gray-800"
>
{item.name}
</Link>
Expand All @@ -124,7 +156,7 @@ const Navbar = () => {
target="_blank"
className="px-6 py-2 text-white bg-accent rounded-md md:ml-5"
>
Entra al grupo
Únete al grupo
</Link>

<ThemeChanger />
Expand Down
7 changes: 0 additions & 7 deletions pages/api/hello.js

This file was deleted.

0 comments on commit ec98725

Please sign in to comment.