Skip to content
This repository has been archived by the owner on May 31, 2024. It is now read-only.

SVG CERTIFICATE #5

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 12 additions & 13 deletions src/certificateModule/Templates/01/Bottom.jsx
Original file line number Diff line number Diff line change
@@ -1,16 +1,15 @@
function Bottom() {
return (
<>

<path stroke="#222525" strokeWidth="1.318" d="M233.794 412.158h630.42" />
<path stroke="#222525" strokeWidth="1.318" d="M615.473 645.481h265.444" />
<path stroke="#222525" strokeWidth="1.318" d="M316.751 645.481h174.64" />
<g fill="#46B4A9">
<path d="M371.072 194.886c-6.779.546-13.556.83-20.334 1.025-6.778.21-13.555.266-20.333.292-6.778-.024-13.557-.079-20.333-.289-6.779-.192-13.557-.48-20.334-1.028 6.779-.548 13.555-.835 20.334-1.027 6.778-.21 13.555-.265 20.333-.29 6.778.027 13.555.084 20.333.293 6.777.194 13.555.479 20.333 1.024z" />
<path d="M832.782 194.886c-6.779.546-13.557.83-20.334 1.025-6.778.21-13.555.266-20.333.292-6.778-.024-13.556-.079-20.333-.289-6.778-.192-13.555-.48-20.333-1.028 6.778-.548 13.555-.835 20.333-1.027 6.778-.21 13.556-.265 20.333-.29 6.778.027 13.555.084 20.333.293 6.777.194 13.555.479 20.333 1.024z" />
</g>
</>
)
return (
<>
<path stroke="#222525" strokeWidth="1.318" d="M233.794 412.158h630.42" />
<path stroke="#222525" strokeWidth="1.318" d="M615.473 645.481h265.444" />
<path stroke="#222525" strokeWidth="1.318" d="M316.751 645.481h174.64" />
<g fill="#46B4A9">
<path d="M371.072 194.886c-6.779.546-13.556.83-20.334 1.025-6.778.21-13.555.266-20.333.292-6.778-.024-13.557-.079-20.333-.289-6.779-.192-13.557-.48-20.334-1.028 6.779-.548 13.555-.835 20.334-1.027 6.778-.21 13.555-.265 20.333-.29 6.778.027 13.555.084 20.333.293 6.777.194 13.555.479 20.333 1.024z" />
<path d="M832.782 194.886c-6.779.546-13.557.83-20.334 1.025-6.778.21-13.555.266-20.333.292-6.778-.024-13.556-.079-20.333-.289-6.778-.192-13.555-.48-20.333-1.028 6.778-.548 13.555-.835 20.333-1.027 6.778-.21 13.556-.265 20.333-.29 6.778.027 13.555.084 20.333.293 6.777.194 13.555.479 20.333 1.024z" />
</g>
</>
);
}

export default Bottom
export default Bottom;
20 changes: 20 additions & 0 deletions src/certificateModule/Templates03/Bottom.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
function Bottom() {
return (
<>
<path fill="url(#a)" d="M.062 194.697v153.416l59.886-37.314Z"></path>
<path fill="url(#b)" d="m59.948 310.8-40.204-10.6L.062 348.113Z"></path>
<path fill="url(#c)" d="m59.948 310.8-40.204-10.6L.062 194.697Z"></path>
<path fill="url(#d)" d="m1062.722 617.755 59.886 37.314V501.673Z"></path>
<path
fill="url(#e)"
d="m1062.722 617.755 40.224-10.6 19.662 47.934z"
></path>
<path
fill="url(#f)"
d="m1062.722 617.755 40.224-10.6 19.662-105.482z"
></path>
<path fill="none" d="M265.105 500.157h592.33v53.653h-592.33z"></path>
</>
);
}
export default Bottom;
171 changes: 171 additions & 0 deletions src/certificateModule/Templates03/Content.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,171 @@
function Content() {
return (
<>
{" "}
<g text-anchor="middle">
<image
x="67"
y="58"
width="90"
height="90"
href="https://images.shiksha.com/mediadata/images/1572333793phpPjJyVs.png"
/>
<image
x="965"
y="58"
width="90"
height="90"
href="https://images.shiksha.com/mediadata/images/1572333793phpPjJyVs.png"
/>
<text
x="561.26"
y="95"
fill="#0C0E18"
font-family="Nunito-Bold"
font-size="32"
>
डॉ. बी. आर. अम्बेडकर राष्ट्रीय प्रौद्योगिकी संस्थान जालंधर
</text>
<text
x="561.26"
y="127"
fill="#0C0E18"
font-family="Nunito-Bold"
font-size="18"
>
जीटी रोड, अमृतसर बाईपास, जालंधर (पंजाब), भारत -144008
</text>
<text
x="561.26"
y="158"
fill="#0C0E18"
font-family="Nunito-Bold"
font-size="32"
>
Dr.B.R.Ambedkar National Institute of Technology Jalandhar
</text>
<text
x="561.26"
y="186"
fill="#0C0E18"
font-family="Nunito-Bold"
font-size="18"
>
G.T.Road,Amritsar Bypass,Jalandhar(Punjab),India-144008
</text>
<text
x="561.26"
y="270"
fill="#444341"
font-family="Sans-serif"
font-size="64"
>
Certificate of Achievement
</text>
<text
x="561.26"
y="328"
fill="#444341"
font-family="Nunito-Regular"
font-size="20.686"
>
This certificate is presented to
</text>
<text
x="561.26"
y="400"
fill="#0C0E18"
font-family="AlexBrush-Regular"
font-size="64"
>
NAME
</text>
<foreignObject x="20%" y="425" width="60%" height="200">
<div xmlns="http://www.w3.org/1999/xhtml">
<p style={{ fontSize: "20px" }}>
of The Team __________________ from the
department__________________________ has won the
department__________________________ in _________________________
an______________________________held at Dr.B.R.Ambedkar National
Institute of Technology,Jalandhar from __,_____,____ to
__,_____,______ organised by ________________
</p>
</div>
</foreignObject>
<text
x="256"
y="641.613"
fill="#444341"
font-family="sans-serif"
font-size="24"
>
Signature
</text>
<text
x="251"
y="676.613"
fill="#444341"
font-family="sans-serif"
font-size="20"
>
Name
</text>
<text
x="456"
y="641.613"
fill="#444341"
font-family="sans-serif"
font-size="24"
>
Signature
</text>
<text
x="451"
y="676.613"
fill="#444341"
font-family="sans-serif"
font-size="20"
>
Name
</text>
<text
x="656"
y="641.613"
fill="#444341"
font-family="sans-serif"
font-size="24"
>
Signature
</text>
<text
x="651"
y="676.613"
fill="#444341"
font-family="sans-serif"
font-size="20"
>
Name
</text>
<text
x="856"
y="641.613"
fill="#444341"
font-family="sans-serif"
font-size="24"
>
Signature
</text>
<text
x="851"
y="676.613"
fill="#444341"
font-family="sans-serif"
font-size="20"
>
Name
</text>
</g>
</>
);
}
export default Content;
20 changes: 20 additions & 0 deletions src/certificateModule/Templates03/Index.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
import Top from "./Top";
import Content from "./Content";
import Bottom from "./Bottom";
function Template() {
return (
<>
<svg
xmlns="http://www.w3.org/2000/svg"
//xml:space="preserve"
viewBox="0 0 1122.52 793.7"
id="svg"
>
<Top />
<Content />
<Bottom />
</svg>
</>
);
}
export default Template;
132 changes: 132 additions & 0 deletions src/certificateModule/Templates03/Top.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,132 @@
function Top() {
return (
<>
{" "}
<defs>
<linearGradient
id="a"
x1="132.516"
x2="128.312"
y1="28.109"
y2="29.169"
gradientTransform="translate(-2663.148 -318.407) scale(20.502)"
gradientUnits="userSpaceOnUse"
>
<stop offset="0" stop-color="#ECC94B"></stop>
<stop offset=".115" stop-color="#F6AD55"></stop>
<stop offset=".606" stop-color="#ECC94B"></stop>
<stop offset=".779" stop-color="#ECC94B"></stop>
<stop offset=".897" stop-color="#F6AD55"></stop>
<stop offset="1" stop-color="#ECC94B"></stop>
</linearGradient>
<linearGradient
id="b"
x1="130.547"
x2="132.499"
y1="29.793"
y2="34.127"
gradientTransform="translate(-2663.148 -318.407) scale(20.502)"
gradientUnits="userSpaceOnUse"
>
<stop offset="0" stop-color="#ECC94B"></stop>
<stop offset=".115" stop-color="#F6AD55"></stop>
<stop offset=".606" stop-color="#ECC94B"></stop>
<stop offset=".779" stop-color="#ECC94B"></stop>
<stop offset=".897" stop-color="#F6AD55"></stop>
<stop offset="1" stop-color="#ECC94B"></stop>
</linearGradient>
<linearGradient
id="c"
x1="127.86"
x2="132.61"
y1="29.23"
y2="27.369"
gradientTransform="translate(-2663.148 -318.407) scale(20.502)"
gradientUnits="userSpaceOnUse"
>
<stop offset="0" stop-color="#ECC94B"></stop>
<stop offset=".115" stop-color="#F6AD55"></stop>
<stop offset=".606" stop-color="#ECC94B"></stop>
<stop offset=".779" stop-color="#ECC94B"></stop>
<stop offset=".897" stop-color="#F6AD55"></stop>
<stop offset="1" stop-color="#ECC94B"></stop>
</linearGradient>
<linearGradient
id="d"
x1="183.53"
x2="179.326"
y1="43.459"
y2="44.519"
gradientTransform="matrix(-20.502 0 0 20.502 4862.419 -318.407)"
gradientUnits="userSpaceOnUse"
>
<stop offset="0" stop-color="#ECC94B"></stop>
<stop offset=".115" stop-color="#F6AD55"></stop>
<stop offset=".606" stop-color="#ECC94B"></stop>
<stop offset=".779" stop-color="#ECC94B"></stop>
<stop offset=".897" stop-color="#F6AD55"></stop>
<stop offset="1" stop-color="#ECC94B"></stop>
</linearGradient>
<linearGradient
id="e"
x1="182.496"
x2="188.012"
y1="46.466"
y2="44.352"
gradientTransform="matrix(-20.502 0 0 20.502 4862.419 -318.407)"
gradientUnits="userSpaceOnUse"
>
<stop offset="0" stop-color="#ECC94B"></stop>
<stop offset=".115" stop-color="#F6AD55"></stop>
<stop offset=".606" stop-color="#ECC94B"></stop>
<stop offset=".779" stop-color="#ECC94B"></stop>
<stop offset=".897" stop-color="#F6AD55"></stop>
<stop offset="1" stop-color="#ECC94B"></stop>
</linearGradient>
<linearGradient
id="f"
x1="180.752"
x2="185.22"
y1="42.831"
y2="42.831"
gradientTransform="matrix(-20.502 0 0 20.502 4862.419 -318.407)"
gradientUnits="userSpaceOnUse"
>
<stop offset="0" stop-color="#ECC94B"></stop>
<stop offset=".115" stop-color="#F6AD55"></stop>
<stop offset=".606" stop-color="#ECC94B"></stop>
<stop offset=".779" stop-color="#ECC94B"></stop>
<stop offset=".897" stop-color="#F6AD55"></stop>
<stop offset="1" stop-color="#ECC94B"></stop>
</linearGradient>
</defs>
<path fill="#FFF9E6" d="M0-.203h1122.52v794.106H0Z"></path>
<path fill="#FFFFFF" d="M48.015 47.832h1026.49V745.93H48.015Z"></path>
<path
fill="#444341"
opacity="0.3"
d="M1075.182 746.585H47.359V47.155h1027.823Zm-1026.49-1.332h1025.157V48.488H48.691Z"
></path>
<path
fill="#0C0E18"
d="M1122.52 358.39 976.795 640.92l145.725 90.822V677.29l-85.102-53.058 85.102-165.016z"
></path>
<path
fill="#0C0E18"
d="M0 38.053V144.27l89.653 173.874L0 374.052v57.384l153.536-95.68z"
></path>
<path fill="#444341" d="M203.816 652.565h100.888v.677H203.817Z"></path>
<path fill="#444341" d="M803.816 652.565h100.888v.677H803.817Z"></path>
<path fill="#444341" d="M403.816 652.565h100.888v.677H403.817Z"></path>
<path fill="#444341" d="M603.816 652.565h100.888v.677H603.817Z"></path>
<g fill="#0C0E18">
<path d="M403.507 311c-3.506-2.912-9.144-6.048-11.87-6.048 2.726 0 8.344-3.137 11.87-6.048a4.736 4.736 0 0 1 6.09 0c3.505 2.91 9.143 6.048 11.87 6.048-2.727 0-8.344 3.136-11.87 6.048a4.736 4.736 0 0 1-6.09 0Z"></path>
<path d="M719.012 311c3.506-2.912 9.144-6.048 11.871-6.048-2.727 0-8.344-3.137-11.87-6.048a4.736 4.736 0 0 0-6.09 0c-3.505 2.91-9.144 6.048-11.87 6.048 2.726 0 8.344 3.136 11.87 6.048a4.739 4.739 0 0 0 6.09 0Z"></path>
<path d="M705.748 305.4636H407.177a.494.494 0 0 1-.492-.492.5.5 0 0 1 .492-.492h298.57a.5.5 0 0 1 .493.492.488.488 0 0 1-.492.492Z"></path>
<circle cx="698.634" cy="305" r="4.941"></circle>
<circle cx="422.881" cy="305" r="4.941"></circle>
</g>
</>
);
}
export default Top;