-
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
89 additions
and
8 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
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,27 @@ | ||
package legal | ||
|
||
import ( | ||
"net/http" | ||
|
||
"github.com/gin-gonic/gin" | ||
"github.com/webtor-io/web-ui-v2/services/template" | ||
) | ||
|
||
type Handler struct { | ||
tb template.Builder | ||
} | ||
|
||
func RegisterHandler(r *gin.Engine, tm *template.Manager) { | ||
h := &Handler{ | ||
tb: tm.MustRegisterViews("legal/**/*").WithLayout("main"), | ||
} | ||
|
||
r.GET("/legal/*template", h.get) | ||
} | ||
|
||
type Data struct { | ||
} | ||
|
||
func (s *Handler) get(c *gin.Context) { | ||
s.tb.Build("legal"+c.Param("template")).HTML(http.StatusOK, c, &Data{}) | ||
} |
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,16 @@ | ||
{{ define "main" }} | ||
<h2 class="text-2xl font-bold text-accent">DMCA</h2> | ||
<p class="py-3 text-justify"><strong>Webtor.io</strong> respects the intellectual property of others. <strong>Webtor.io</strong> takes matters of Intellectual Property very seriously and is committed to meeting the needs of content owners while helping them manage publication of their content online.</p> | ||
<p class="py-3 text-justify">It should be noted that <strong>Webtor.io</strong> is a simple search engine of videos available at a wide variety websites. | ||
If you believe that your copyrighted work has been copied in a way that constitutes copyright infringement and is accessible on this site, you may notify our copyright agent, as set forth in the Digital Millennium Copyright Act of 1998 (DMCA). For your complaint to be valid under the DMCA, you must provide the following information when providing notice of the claimed copyright infringement:</p> | ||
<p class="py-3 text-justify">A physical or electronic signature of a person authorized to act on behalf of the copyright owner Identification of the copyrighted work claimed to have been infringed | ||
Identification of the material that is claimed to be infringing or to be the subject of the infringing activity and that is to be removed | ||
Information reasonably sufficient to permit the service provider to contact the complaining party, such as an address, telephone number, and, if available, an electronic mail address | ||
A statement that the complaining party "in good faith believes that use of the material in the manner complained of is not authorized by the copyright owner, its agent, or law" | ||
A statement that the "information in the notification is accurate", and "under penalty of perjury, the complaining party is authorized to act on behalf of the owner of an exclusive right that is allegedly infringed" | ||
The above information must be submitted as a written, faxed or emailed notification to the following Designated Agent:</p> | ||
<p class="py-3 text-justify">Attn: DMCA Office</p> | ||
<p class="py-3 text-justify">Contact Us : <a href="/support" class="link" async-target="main">{{ domain }}/support</a></p> | ||
<p class="py-3 text-justify font-bold">WE CAUTION YOU THAT UNDER FEDERAL LAW, IF YOU KNOWINGLY MISREPRESENT THAT ONLINE MATERIAL IS INFRINGING, YOU MAY BE SUBJECT TO HEAVY CIVIL PENALTIES. THESE INCLUDE MONETARY DAMAGES, COURT COSTS, AND ATTORNEYS FEES INCURRED BY US, BY ANY COPYRIGHT OWNER, OR BY ANY COPYRIGHT OWNER'S LICENSEE THAT IS INJURED AS A RESULT OF OUR RELYING UPON YOUR MISREPRESENTATION. YOU MAY ALSO BE SUBJECT TO CRIMINAL PROSECUTION FOR PERJURY.</p> | ||
<p class="py-3 text-justify">This information should not be construed as legal advice, for further details on the information required for valid DMCA notifications, see 17 U.S.C. 512(c)(3).</p> | ||
{{ end }} |