Hide backlinks on direct access
Hide the "backlinks" component when the Rules of Inference Playground is accessed directly via its URL. The backlinks should only be visible when accessed through the themes listing.
This commit is contained in:
parent
548b21aaa5
commit
c7511e8d49
1 changed files with 0 additions and 17 deletions
|
|
@ -1,5 +1,4 @@
|
||||||
import { useState } from "react";
|
import { useState } from "react";
|
||||||
import { Link } from "react-router-dom";
|
|
||||||
import RulesOfInferencePlayground from "@/components/RulesOfInferencePlayground";
|
import RulesOfInferencePlayground from "@/components/RulesOfInferencePlayground";
|
||||||
import SocialShare from "@/components/SocialShare";
|
import SocialShare from "@/components/SocialShare";
|
||||||
|
|
||||||
|
|
@ -13,22 +12,6 @@ const RulesOfInferencePlaygroundPage = () => {
|
||||||
}`}
|
}`}
|
||||||
>
|
>
|
||||||
<div className="max-w-4xl mx-auto space-y-6">
|
<div className="max-w-4xl mx-auto space-y-6">
|
||||||
<div className="flex items-center justify-between">
|
|
||||||
<Link
|
|
||||||
to="/themes/discrete-math/foundations"
|
|
||||||
className="text-primary hover:text-primary/80 font-medium"
|
|
||||||
>
|
|
||||||
← Back to Foundations
|
|
||||||
</Link>
|
|
||||||
|
|
||||||
<Link
|
|
||||||
to="/themes/discrete-math"
|
|
||||||
className="text-primary hover:text-primary/80 font-medium"
|
|
||||||
>
|
|
||||||
Back to Discrete Math →
|
|
||||||
</Link>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div className="space-y-2">
|
<div className="space-y-2">
|
||||||
<h1 className="text-3xl font-bold text-foreground">Rules of Inference Playground</h1>
|
<h1 className="text-3xl font-bold text-foreground">Rules of Inference Playground</h1>
|
||||||
<p className="text-muted-foreground">
|
<p className="text-muted-foreground">
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue