generated from hydephp/hyde
-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #77 from hydephp/update-testimonials
Refactor testimonials section to use data collections
- Loading branch information
Showing
9 changed files
with
234 additions
and
138 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
namespace App\DataCollections\Types; | ||
|
||
use App\Extend\Concerns\DataCollectionType; | ||
|
||
class Testimonials extends DataCollectionType | ||
{ | ||
public string $name; | ||
public ?string $title; | ||
public ?string $company; | ||
public ?string $company_url; | ||
public ?string $twitter_link; | ||
public ?string $twitter_username; | ||
public string $markdown; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# HydePHP Testimonials | ||
|
||
In this directory are front mattered Markdown partial files that each will become an entry on the [HydePHP Testimonials](https://hydephp.com#testimonials) homepage section. | ||
|
||
## Adding a testimonial | ||
|
||
To add a testimonial to the HydePHP Testimonials section, create a new Markdown file in this directory with the following format: | ||
|
||
```markdown | ||
--- | ||
name: "Author Name" | ||
title: "Job Title" # Optional | ||
company: "Company Name" # Optional | ||
company_url: "https://company.com" # Optional | ||
twitter_link: "https://twitter.com/username/status/1234567890" # If the testimonial was shared on Twitter | ||
twitter_username: "username" # If the testimonial was shared on Twitter, this is used to link to the author name | ||
--- | ||
|
||
The testimonial content goes here. It should be a brief quote that is no more than a few sentences long. | ||
``` | ||
|
||
### Editing policy | ||
|
||
Testimonials may be edited for formatting, spelling, and brevity, but never content. | ||
|
||
### License and permissions | ||
|
||
We operate under the assumption that if a testimonial is shared publicly, it is okay for us to share it on the HydePHP website. | ||
|
||
If you are the author of a testimonial and would like it removed, you can contact us and we will remove it promptly. | ||
You can also submit a [pull request](https://github.com/hydephp/hydephp.com/tree/master/resources/collections/testimonials) to remove it yourself. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
--- | ||
name: "Felipe Lecot" | ||
title: "Director" | ||
company: "Do2 Software" | ||
company_url: "https://do2software.com" | ||
--- | ||
|
||
Holy f. Your project is definitely one of my favorites of the whole [startup] tournament, I constantly keep an eye on the top 50 for it. |
Oops, something went wrong.