Skip to content

Commit

Permalink
Add back link to course pages
Browse files Browse the repository at this point in the history
  • Loading branch information
gholi-dev committed Nov 7, 2023
1 parent 6c99a3e commit 1bfb485
Show file tree
Hide file tree
Showing 4 changed files with 37 additions and 0 deletions.
11 changes: 11 additions & 0 deletions pages/tv/courses/django.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import React, { Fragment, useState } from "react";
import Layout from "../../../components/Layout";
import Head from "next/head";
import { Dialog, Section } from "..";
import Link from "next/link";

const INIT_OPEN_DIALOG = { isOpen: false, src: "" };

Expand All @@ -13,6 +14,16 @@ const Django = () => {
<Head>
<title>مستندات - آموزش استفاده از لیارا</title>
</Head>

<button
style={{ background: "#cccccc11" }}
className="mb-2 py-1 px-4 rounded-md"
>
<Link id="init-a" href={"/tv"}>
<span>بازگشت</span>
</Link>
</button>

<img
style={{ borderColor: "#ffffff22", marginLeft: 20 }}
src="/static/course/django.png"
Expand Down
10 changes: 10 additions & 0 deletions pages/tv/courses/laravel.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import React, { Fragment, useState } from "react";
import Layout from "../../../components/Layout";
import Head from "next/head";
import { Dialog, Section } from "..";
import Link from "next/link";

const INIT_OPEN_DIALOG = { isOpen: false, src: "" };

Expand All @@ -14,6 +15,15 @@ const Laravel = () => {
<title>مستندات - آموزش استفاده از لیارا</title>
</Head>

<button
style={{ background: "#cccccc11" }}
className="mb-2 py-1 px-4 rounded-md"
>
<Link id="init-a" href={"/tv"}>
<span>بازگشت</span>
</Link>
</button>

<img
style={{ borderColor: "#ffffff22", marginLeft: 20 }}
src="/static/course/laravel.png"
Expand Down
10 changes: 10 additions & 0 deletions pages/tv/courses/node.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import React, { Fragment, useState } from "react";
import Layout from "../../../components/Layout";
import Head from "next/head";
import { Dialog, Section } from "..";
import Link from "next/link";

const INIT_OPEN_DIALOG = { isOpen: false, src: "" };

Expand All @@ -14,6 +15,15 @@ const Node = () => {
<title>مستندات - آموزش استفاده از لیارا</title>
</Head>

<button
style={{ background: "#cccccc11" }}
className="mb-2 py-1 px-4 rounded-md"
>
<Link id="init-a" href={"/tv"}>
<span>بازگشت</span>
</Link>
</button>

<img
style={{ borderColor: "#ffffff22", marginLeft: 20 }}
src="/static/course/nodejs.png"
Expand Down
6 changes: 6 additions & 0 deletions styles/layout.css
Original file line number Diff line number Diff line change
Expand Up @@ -739,6 +739,12 @@ div.footer-animate-lines {
border-bottom: 1px solid #374151;
}

#init-a {
color: white;
font-weight: 300;
border-bottom: none !important;
}

/* zoom image */

.medium-zoom--opened .medium-zoom-overlay {
Expand Down

0 comments on commit 1bfb485

Please sign in to comment.