Skip to content

Commit

Permalink
Update header/subheader text
Browse files Browse the repository at this point in the history
  • Loading branch information
Irenej Bozovicar committed Jan 8, 2024
1 parent c2e2c3b commit 9397b1a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions frontend/src/components/Header.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,17 @@ const Header = () => {
const text = {
"/word-in-specific-youtube-video": {
h1: "Find a Word in a YouTube Video of Your Choice",
p: "Discover words in specific context: Explore your vocabulary in every clip."
p: "Explore Video Content: Uncover every instance of a particular word in your chosen YouTube video"
},
"/word-in-random-youtube-video": {
h1: "Find a Word in a Random YouTube Video",
p: "Words in action: Explore your vocabulary in every clip."
p: "Word Exploration Made Easy: Find engaging YouTube clips featuring the word you're looking for"
}
};

const { h1, p } = text[location.pathname] || {
h1: "Find a Word in a YouTube Video",
p: "Words in any action: Explore your vocabulary in any clip."
p: "Words in any action: Explore vocabulary in any clip."
};

// Inline style with !important
Expand Down

0 comments on commit 9397b1a

Please sign in to comment.