masoudmarandi commited on
Commit
681d917
·
verified ·
1 Parent(s): 7a80759

font of 'فارسی

Browse files

' button on top right corner of the landing page must be https://fonts.google.com/specimen/Vazirmatn - button colour must be consistent with button colour on index-fa.html - on index-fa.html since the page is already in persian, only a button 'English' is necessary and the 'english' button must be connected/linked to index.html and must display index.html

Files changed (2) hide show
  1. index-fa.html +6 -9
  2. index.html +1 -1
index-fa.html CHANGED
@@ -38,19 +38,16 @@
38
  }
39
  }
40
  }
41
- </script>
42
  </head>
43
  <body class="font-fa bg-gray-50">
44
  <!-- Language Toggle -->
45
- <div class="fixed top-4 left-4 z-50 flex gap-2">
46
- <button onclick="location.href='index.html'" class="px-4 py-2 rounded-full bg-gray-900 text-white shadow-lg hover:shadow-xl transition-all duration-300 text-sm font-medium hover:bg-gray-800">
47
  English
48
- </button>
49
- <button class="px-4 py-2 rounded-full bg-persian-orange text-white shadow-lg transition-all duration-300 text-sm font-fa cursor-default">
50
- فارسی
51
- </button>
52
- </div>
53
- <!-- Hero Section -->
54
  <section class="min-h-screen flex items-center justify-center relative overflow-hidden bg-gradient-to-br from-[#FFEEE4] via-[#F9F5FF] to-[#E8F4FD]">
55
  <!-- Background Pattern similar to Hugging Face -->
56
  <div class="absolute inset-0 opacity-5">
 
38
  }
39
  }
40
  }
41
+ </script>
42
  </head>
43
  <body class="font-fa bg-gray-50">
44
  <!-- Language Toggle -->
45
+ <div class="fixed top-4 left-4 z-50">
46
+ <a href="index.html" class="inline-block px-4 py-2 rounded-full bg-[#FF6B00] text-white shadow-lg hover:shadow-xl hover:bg-[#E55A00] transition-all duration-300 text-sm font-medium" style="font-family: 'Vazirmatn', sans-serif;">
47
  English
48
+ </a>
49
+ </div>
50
+ <!-- Hero Section -->
 
 
 
51
  <section class="min-h-screen flex items-center justify-center relative overflow-hidden bg-gradient-to-br from-[#FFEEE4] via-[#F9F5FF] to-[#E8F4FD]">
52
  <!-- Background Pattern similar to Hugging Face -->
53
  <div class="absolute inset-0 opacity-5">
index.html CHANGED
@@ -45,7 +45,7 @@
45
  </head>
46
  <body class="font-en">
47
  <!-- Language Toggle -->
48
- <a href="index-fa.html" class="fixed top-4 right-4 z-50 px-4 py-2 bg-white border border-gray-300 text-gray-700 font-medium rounded-lg hover:bg-gray-50 transition-colors duration-200 text-sm">
49
  فارسی
50
  </a>
51
  <!-- Hero Section -->
 
45
  </head>
46
  <body class="font-en">
47
  <!-- Language Toggle -->
48
+ <a href="index-fa.html" class="fixed top-4 right-4 z-50 px-4 py-2 bg-[#FF6B00] border border-[#FF6B00] text-white font-medium rounded-lg hover:bg-[#E55A00] transition-colors duration-200 text-sm" style="font-family: 'Vazirmatn', sans-serif;">
49
  فارسی
50
  </a>
51
  <!-- Hero Section -->