Skip to content

Commit

Permalink
fix: Rename
Browse files Browse the repository at this point in the history
  • Loading branch information
philipbrembeck committed Jan 25, 2024
1 parent c4d2ffc commit 7492232
Show file tree
Hide file tree
Showing 16 changed files with 3,135 additions and 69 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
runs-on: ubuntu-latest
environment:
name: Production
url: https://grade.vegancheck.me
url: https://grade.veganify.app

steps:
- uses: actions/checkout@v3
Expand Down
10 changes: 4 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
<img width="150px" src="https://user-images.githubusercontent.com/4144601/221259594-4ef9932d-7be3-4357-ac45-bfc41ad07577.svg" align="right" alt="VeganCheck Grades Logo">

# VeganCheck Grades
This is the promotional website for VeganCheck Grades.
# Veganify Grades
This is the promotional website for Veganify Grades.

It is built in Next.js and can be easily be run by `npm run start` and build by `npm run build`.

## Live website
The live website is available at <https://grade.vegancheck.me>.
The live website is available at <https://grade.veganify.app>.

## How to access the Grades
The VeganCheck Grades are available through the VeganCheck.me API. You can find the [repo here](https://github.com/JokeNetwork/VeganCheck.me-API) and the [documentation here](https://jokenetwork.de/vegancheck-api).
The Veganify Grades are available through the VeganCheck.me API. You can find the [repo here](https://github.com/frontendnetwork/veganify-API) and the [documentation here](https://jokenetwork.de/veganify-api).
446 changes: 445 additions & 1 deletion public/assets/img/grade/Grade A+.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
434 changes: 433 additions & 1 deletion public/assets/img/grade/Grade A.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
434 changes: 433 additions & 1 deletion public/assets/img/grade/Grade B.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
434 changes: 433 additions & 1 deletion public/assets/img/grade/Grade C.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
434 changes: 433 additions & 1 deletion public/assets/img/grade/Grade D.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
466 changes: 465 additions & 1 deletion public/assets/img/grade/Grade NE.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
52 changes: 51 additions & 1 deletion public/assets/img/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
42 changes: 41 additions & 1 deletion public/assets/img/phone.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
368 changes: 356 additions & 12 deletions public/assets/img/vcg.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
36 changes: 17 additions & 19 deletions src/components/Footer.tsx
Original file line number Diff line number Diff line change
@@ -1,24 +1,22 @@
import Link from "next/link";

export default function Footer(): JSX.Element{
export default function Footer(): JSX.Element {
return (
<>
<footer>
<div className="footertext">
&copy; {new Date().getFullYear()} VeganCheck.me &amp; Contributors
</div>
<ul>
<li>
<Link href="Developers">API for Developers</Link>
</li>
<li>
<a href="https://vegancheck.me">VeganCheck.me</a>
</li>
<li>
<Link href="Legal">Legal</Link>
</li>
</ul>
</footer>
</>
<footer>
<div className="footertext">
&copy; {new Date().getFullYear()} Veganify &amp; Contributors
</div>
<ul>
<li>
<Link href="Developers">API for Developers</Link>
</li>
<li>
<a href="https://veganify.app">Veganify</a>
</li>
<li>
<Link href="Legal">Legal</Link>
</li>
</ul>
</footer>
);
}
4 changes: 2 additions & 2 deletions src/components/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ export default function Footer(): JSX.Element {
return(
<>
<Head>
<title>VeganCheck Grades</title>
<meta name="description" content="VeganCheck Grades gets you actual useful product ratings for vegan products." />
<title>Veganify Grades</title>
<meta name="description" content="Veganify Grades gets you actual useful product ratings for vegan products." />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="icon" href="/favicon.ico" />
<meta name="theme-color" content="#F6E6D5" />
Expand Down
2 changes: 1 addition & 1 deletion src/components/Ratingform.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ const handleSubmit = async (e) => {
};

try {
const response = await fetch('https://api.vegancheck.me/v0/grades/backend', options);
const response = await fetch('https://api.veganify.app/v0/grades/backend', options);
let result = await response.text();

setIsLoading(false);
Expand Down
16 changes: 8 additions & 8 deletions src/pages/Developers.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React, { useEffect } from "react";
import React from "react";
import Script from "next/script";
import Header from "../components/Header";
import Footer from "../components/Footer";
Expand All @@ -16,19 +16,19 @@ export default function Developers(): JSX.Element {
For Developers<span className="icon-stars"></span>
</h1>
<p>
<b>Use the VeganCheck API</b>
<b>Use the Veganify API</b>
</p>
<p>
Dear Developers,
<br />
if you want to integrate VeganCheck Grades into your app, you can use
if you want to integrate Veganify Grades into your app, you can use
our API. It's free and easy to use.
</p>
<p>
The propper end-point to use would be the "product"-endpoint. It is
completely documented at JokeNetwork.
completely documented at Frontendnetwork.
</p>
<a href="https://jokenetwork.de/vegancheck-api" className="btn">
<a href="https://jokenetwork.de/veganify-api" className="btn">
Read the documentation
</a>

Expand All @@ -39,21 +39,21 @@ export default function Developers(): JSX.Element {
You can easily send a <span className="code">POST</span>-request to
our api-endpoint{" "}
<span className="code">
https://api.vegancheck.me/v0/product/productcode
https://api.veganify.app/v0/product/productcode
</span>
.
</p>
<p>
The result should look something like this, where{" "}
<span className="code">"grade":"B"</span> is relevant for you. That's
the VeganCheck Grade:
the Veganify Grade:
</p>
<div>
<Script src="https://gist.github.com/philipbrembeck/203579400565403b8b4285965485055c.js" />
</div>

<p>
We would love to hear from you and what you've made with VeganCheck
We would love to hear from you and what you've made with Veganify
Grades! Feel free to ask us every question or show us your work
through <a href="mailto:info@philip.media">info@philip.media</a>{" "}
<span className="icon-heart"></span>
Expand Down
24 changes: 12 additions & 12 deletions src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,20 +7,20 @@ export default function Home() {
return (
<>
<Header />
<img src="assets/img/vcg.svg" className="rotate_logo" alt="VeganCheck Grades" />
<img src="assets/img/vcg.svg" className="rotate_logo" alt="Veganify Grades" />
<section className="flexbox">
<div className="flexbox-left">
</div>
<div className="flexbox-right">
<h1>Get actual useful product ratings. No bullshit.<span className="icon-stars"></span></h1>
<h2>Are you confused by all the vegan/eco-friendly/organic labels? </h2>
<p>You will be no more with the easy to understand VeganCheck Grades.<br />VeganCheck Grades is a rating system for vegan products, that assigns one of six grades to a product.</p>
<p>You will be no more with the easy to understand Veganify Grades.<br />Veganify Grades is a rating system for vegan products, that assigns one of six grades to a product.</p>
<div className="centered"><a href="#ourgrades" className="btn">Learn more</a></div>
</div>
</section>
<section id="ourgrades">
<h1>Our grades</h1>
<p>The products with a VeganCheck Grade are evaluated by a small team of volunteers and categorized according to their characteristics.</p>
<p>The products with a Veganify Grade are evaluated by a small team of volunteers and categorized according to their characteristics.</p>
<div className="hero">
<div className="box">
<h2>Grade A+</h2>
Expand Down Expand Up @@ -65,30 +65,30 @@ export default function Home() {
<div className="app-flex">
<div className="app-flex-left">
<h1><span className="icon-stars"></span>Everything at a fingertip</h1>
<p>VeganCheck Grades are now available within VeganCheck.me!</p>
<p>Gone are the days of spending hours in the grocery store reading labels and trying to decipher ingredient lists. With VeganCheck.me, finding vegan-friendly products has never been easier: Simply scan the barcode of any product with your smartphone, and our user-friendly app will let you know if it's vegan or not.</p>
<p><a href="https://vegancheck.me" className="btn">Use VeganCheck.me</a> <a href="https://shareshortcuts.com/download/2224-vegancheck.html" className="btn">Get the iOS Shortcut</a></p>
<p>Veganify Grades are now available within Veganify!</p>
<p>Gone are the days of spending hours in the grocery store reading labels and trying to decipher ingredient lists. With Veganify, finding vegan-friendly products has never been easier: Simply scan the barcode of any product with your smartphone, and our user-friendly app will let you know if it's vegan or not.</p>
<p><a href="https://veganify.app" className="btn">Use Veganify</a> <a href="https://shareshortcuts.com/download/2224-vegancheck.html" className="btn">Get the iOS Shortcut</a></p>
</div>
<div className="app-flex-right">
<img src="assets/img/phone.svg" alt="Smartphone with VeganCheck.me" />
<img src="assets/img/phone.svg" alt="Smartphone with Veganify" />
</div>
</div>
</section>
<section className="rating">
<div className="rating-left">
<h1><span className="icon-heart"></span>Request a product rating</h1>
<p>Individual costumers as well as producers are abled to request a VeganCheck Grade for a certain product. Producers can also send additional information (such as a certificate of using renweable energies in production) to us via <a href="mailto:grades@vegancheck.me">e-mail</a>, to increase their (already existing) product rating.</p>
<p>Individual costumers as well as producers are abled to request a Veganify Grade for a certain product. Producers can also send additional information (such as a certificate of using renweable energies in production) to us via <a href="mailto:info@philip.media">e-mail</a>, to increase their (already existing) product rating.</p>
<RatingForm />
</div>
<div className="rating-right">
</div>
</section>
<section className="section-timeline">
<div className="section-timeline-time">
<p><span className="date">March 2022</span><br />The idea of VeganCheck Grades gets proposed on GitHub <span className="icon-star"></span></p>
<p><span className="date">March 2022</span><br />First concept of the grades created, added to the roadmap for VeganCheck v2.0</p>
<p><span className="date">April 2022</span><br />First volunteers rate products for VeganCheck Grades &amp; first 100 ratings awarded <span className="icon-heart"></span></p>
<p><span className="date">February 2023</span><br /><span className="icon-exclaim"></span>Public launch of VeganCheck Grades with VeganCheck v2.2</p>
<p><span className="date">March 2022</span><br />The idea of Veganify Grades gets proposed on GitHub <span className="icon-star"></span></p>
<p><span className="date">March 2022</span><br />First concept of the grades created, added to the roadmap for Veganify v2.0</p>
<p><span className="date">April 2022</span><br />First volunteers rate products for Veganify Grades &amp; first 100 ratings awarded <span className="icon-heart"></span></p>
<p><span className="date">February 2023</span><br /><span className="icon-exclaim"></span>Public launch of Veganify Grades with Veganify v2.2</p>
</div>
</section>
<Footer />
Expand Down

0 comments on commit 7492232

Please sign in to comment.