> For the complete documentation index, see [llms.txt](https://ayakaleaf-pro.ayaka.space/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ayakaleaf-pro.ayaka.space/on-premises/ar/althyeh/overleaf-toolkit/branding.md).

# الهوية البصرية

### الترويسة <a href="#header" id="header"></a>

في هذا القسم، سنغطي كيفية تخصيص العناصر الأساسية في المثيل المحلي لديك. يمكنك تخصيص عنوان الموقع، وروابط التنقل، والترويسة، والتذييل، والشعار وفقًا لتفضيلاتك.

### عنوان الموقع <a href="#site-title" id="site-title"></a>

يمكن تخصيص عنوان شريط التنقل باستخدام `OVERLEAF_NAV_TITLE` متغير البيئة، ويُستخدم هذا النص في الزاوية العلوية اليسرى من شريط التنقل إذا لم يتم تعيين شعار.

```bash
# أضِف إلى config/variables.env
OVERLEAF_NAV_TITLE=Our Overleaf Instance
```

## الشعار

يمكنك إضافة شعار مخصص بدلًا من استخدام نص من خلال تعيين متغير البيئة `OVERLEAF_HEADER_IMAGE_URL`. يجب أن تشير هذه القيمة إلى ملف صورة مستضاف خارجيًا.

أضِف إلى config/variables.env:

{% code title="config/variables.env" %}

```bash
# أضِف إلى config/variables.env
OVERLEAF_HEADER_IMAGE_URL=https://mysite.somewhere.com/img/logo.png
```

{% endcode %}

## روابط تنقل الترويسة

يمكن إضافة عناصر تنقل إضافية إلى ترويسة التنقل من خلال تعيين `OVERLEAF_HEADER_EXTRAS` متغير البيئة إلى مصفوفة JSON من الكائنات. على سبيل المثال:

{% code overflow="wrap" %}

```json
[\
  {\
    "text": "رابط ما",\
    "url": "http://example.com/somelink",\
    "class": "subdued",\
    "only_when_logged_out": true\
  },\
  {\
    "text": "مساعدة",\
    "class": "subdued",\
    "dropdown": [\
      {\
        "text": "التوثيق",\
        "url": "/learn"\
      },\
      {\
        "text": "التواصل مع المسؤول",\
        "url": "http://example.com/contact"\
      }\
    ]\
  }\
]
```

{% endcode %}

أضِف صيغة JSON المُهربة إلى toolkit/variables.env:

{% code title="toolkit/variables.env" overflow="wrap" %}

```bash
# أضِف إلى toolkit/variables.env
OVERLEAF_HEADER_EXTRAS=[{"text":"رابط ما","url":"http://example.com/somelink","class":"subdued","only_when_logged_out":true},{"text":"مساعدة","class":"subdued","dropdown":[{"text":"التوثيق","url":"/learn"},{"text":"التواصل مع المسؤول","url":"http://example.com/contact"}]}]
```

{% endcode %}

## التذييلات

يمكن تخصيص كل من التذييل الأيسر والتذييل الأيمن الأصغر (الموجود في صفحات مثل `/project`) باستخدام متغيرات البيئة `OVERLEAF_LEFT_FOOTER` و `OVERLEAF_RIGHT_FOOTER`. كلاهما يتوقع مصفوفة من كائنات JSON سيتم إدراجها.

كلاهما يتوقع مصفوفة من JSON سيتم إدراجها.

```json
[\
  {\
    "text": "هذا مثال على إدخال تذييل نصي!"\
  },\
  {\
    "text": "هذا مثال على رابط تذييل URL!", "url" : "/my-first-link.htm"\
  }\
]
```

{% hint style="info" %}
عند استخدام `النص` فقط، يجب ألا يحتوي على HTML لأن القيمة ستُعرض كنص خام.
{% endhint %}

يجب أن تكون هذه البيانات بصيغة JSON صالحة لتعمل، مع تهريب علامات الاقتباس عند تمريرها كمتغير بيئة.

{% code title="config/variables.env" overflow="wrap" %}

```bash
# أضِف إلى config/variables.env
OVERLEAF_LEFT_FOOTER=[{"text": "هذا مثال على إدخال تذييل نصي!"}]
OVERLEAF_RIGHT_FOOTER=["text": "هذا مثال على رابط تذييل URL!", "url" : "/my-first-link.htm"]
```

{% endcode %}

{% hint style="info" %}
بالإضافة إلى `النص` و `الرابط`، كما يقبل كائن JSON أيضًا الخصائص `الفئة` و `التسمية` لمزيد من التخصيص.
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://ayakaleaf-pro.ayaka.space/on-premises/ar/althyeh/overleaf-toolkit/branding.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
