Skip to content
Snippets Groups Projects
Commit c8e1d1ab authored by Liliana Sanfilippo's avatar Liliana Sanfilippo
Browse files

heading

parent 45ab09a2
No related branches found
No related tags found
No related merge requests found
Pipeline #419482 failed
...@@ -5,6 +5,7 @@ ...@@ -5,6 +5,7 @@
/* our colours*/ /* our colours*/
--text-primary: #850F78 ; --text-primary: #850F78 ;
--mediumpurple: #bc15aa; --mediumpurple: #bc15aa;
--lightpurple: #B85BD1;
/*--purple: #B85BD1; */ /*--purple: #B85BD1; */
--accen-secondary: #F57D22; --accen-secondary: #F57D22;
--accent-gradient-one-of-three: #F59121; --accent-gradient-one-of-three: #F59121;
......
import { Hpopart } from "./Headings"; import { Hwave } from "./Headings";
interface Props{ interface Props{
title: string, title: string,
...@@ -11,7 +11,7 @@ export default function HeaderBox({children, title}: Props ){ ...@@ -11,7 +11,7 @@ export default function HeaderBox({children, title}: Props ){
<div className="row"> <div className="row">
<div className="col header-container"> <div className="col header-container">
<div className="header-title"> <div className="header-title">
<Hpopart text={title}></Hpopart> <Hwave text={title}></Hwave>
</div> </div>
{children} {children}
</div> </div>
......
...@@ -118,7 +118,7 @@ export function Hwave({text, id}:{text: string, id?: string}){ ...@@ -118,7 +118,7 @@ export function Hwave({text, id}:{text: string, id?: string}){
idtext = stringToSlug(text); idtext = stringToSlug(text);
} }
return( return(
<svg id={idtext} viewBox="0 0 100 20"> <svg id={idtext} className="bigtitle" viewBox="0 0 100 20">
<defs> <defs>
<linearGradient id="gradient" x1="0" x2="0" y1="0" y2="1"> <linearGradient id="gradient" x1="0" x2="0" y1="0" y2="1">
<stop offset="5%" stop-color="#850F78"/> <stop offset="5%" stop-color="#850F78"/>
......
import { useEffect } from "react"; import { useEffect } from "react";
import { Highlight } from "../utils/Highlight-functions"; import { Highlight } from "../utils/Highlight-functions";
import { openThem } from "../utils/openThem"; import { openThem } from "../utils/openThem";
export function EngSide(){ export function EngSide(){
let nums = [ "del1"] let nums = [ "del1"]
useEffect(() => { useEffect(() => {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment