input: 
  def collect_homepage_info(url: str) -> dict:
      """Collects the title and content from the homepage of a given website.
      >>> collect_homepage_info('https://www.example.com')
      {
          'title': 'Example Domain',
          'content': 'This domain is for use in illustrative examples in documents. You may use this domain in literature without prior coordination or asking for permission.'
      }
      """
  
output:     
      import requests
      from bs4 import BeautifulSoup
  
      response = requests.get(url)
      soup = BeautifulSoup(response.text, 'html.parser')
      
      title = soup.title.string if soup.title else ''
      content = soup.get_text().strip()
      
      return {
          'title': title,
          'content': content
      }
  